// ANIMATIONS: aim_L_bow, aim_R_bazooka, aim_R_handgun, aim_R_rifle, // angry_fingerwag, angry_tantrum, away, backflip, blowkiss, bow, brush, // clap, courtbow, cross_arms, crouch, crouchwalk, curtsy, dance1, // dance2, dance3, dance4, dance5, dance6, dance7, dance8, dead, drink, // express_afraid, express_anger, express_bored, express_cry, // express_embarrased, express_laugh, express_repulsed, express_sad, // express_shrug, express_surprise, express_wink, express_worry, // falldown, female_walk, fist_pump, fly, flyslow, hello, hold_R_bow, // hold_R_bazooka, hold_R_handgun, hold_R_rifle, hold_throw_R, hover, // hover_down, hover_up, impatient, jump, jumpforjoy, kick_roundhouse_R, // kissmybutt, kneel_left, kneel_right, land, laugh_short, // motorcycle_sit, musclebeach, no_head, no_unhappy, nyanya, peace, // point_me, point_you, prejump, punch_L, punch_onetwo, punch_R, // RPS_countdown, RPS_paper, RPS_rock, RPS_scissors, run, salute, // shoot_L_bow, shout, sit, sit_female, sit_ground, sit_to_stand, sleep, // slowwalk, smoke_idle, smoke_inhale, smoke_throw_down, snapshot, // soft_land, stand, standup, stand_1, stand_2, stand_3, stand_4, // stretch, stride, surf, sword_strike_R, talk, throw_R, tryon_shirt, // turnback_180, turnleft, turnright, turn_180, type, uphillwalk, walk, // whisper, whistle, wink_hollywood, yell, yes_happy, yes_head, // yoga_float integer count; default { state_entry() { llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION); llListen(1, "", llGetOwner(), ""); } listen(integer channel, string name, key id, string message) { if (id == llGetOwner() && message == "dance") { llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION); for (count=1; count<=3; ++count) { llStartAnimation("backflip"); llSleep(1.0); llStopAnimation("backflip"); llStartAnimation("dance1"); llSleep(1.0); llStopAnimation("dance1"); } } } }