Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:
integer flag = 0;
list coffee = ["Damn, this is good coffee!", "Waking you up like a car battery to the genitals.", "Nothing like a little C8H10N4O2 to start the day.", "BZZZZT!!!!", "WHOA! This coffee kicks ass!","It's like hardbooting your brain.","llCaffiene(A_WHOLE_LOT)","PWNZ JOO!!","Why virtual coffee? Because it's FUNNY, DAMNIT!","Rez yourself a buzz.","Mmmmm. Coffee.","Bringing you full circle... with yourself."];
default
{
state_entry()
{
llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION);
integer rand = llRound(llFrand(12));
llWhisper(0,llList2String(coffee, rand));
}
run_time_permissions(integer parm)
{
if(parm == PERMISSION_TRIGGER_ANIMATION)
{
//llWhisper(0,"Coco make you feel better :)");
llSetTimerEvent(15);
llStartAnimation("hold_R_handgun");
}
}
on_rez(integer st)
{
llResetScript();
}
attach(key id)
{
llStopAnimation("hold_R_handgun");
}
timer()
{
if(flag == 1)
{
llStartAnimation("drink");
}
if(flag == 3)
{
llStartAnimation("drink");
}
flag = flag + 1;
if(flag == 4)
{
flag = 0;
}
}
listen(integer channel, string name, key id, string message)
{
}
}1 to 15 of 15