LuaAPI.wiki
changeset 623 704e373ae691
parent 622 d7c2a5db19a4
child 624 e5a435750723
equal deleted inserted replaced
622:d7c2a5db19a4 623:704e373ae691
   283 === <tt>onTaunt(msgParam)</tt> ===
   283 === <tt>onTaunt(msgParam)</tt> ===
   284 This function is called when the player uses an animated emote for example by using the chat commands `/wave`, `/juggle`, etc.
   284 This function is called when the player uses an animated emote for example by using the chat commands `/wave`, `/juggle`, etc.
   285 
   285 
   286 `msgParam` tells you which animation was played:
   286 `msgParam` tells you which animation was played:
   287 
   287 
   288 || *`msgParam`* || *Animation* || *Associated chat command*
   288 || *`msgParam`* || *Animation* || *Associated chat command* ||
   289 || 0 || Rolling up || `/rollup`
   289 || 0 || Rolling up || `/rollup` ||
   290 || 1 || Sad face || `/sad`
   290 || 1 || Sad face || `/sad` ||
   291 || 2 || Waving hand || `/wave`
   291 || 2 || Waving hand || `/wave` ||
   292 || 3 || Stupid winner's grin / “Awesome” face || `/hurrah`
   292 || 3 || Stupid winner's grin / “Awesome” face || `/hurrah` ||
   293 || 4 || Peeing || `/ilovelotsoflemonade`
   293 || 4 || Peeing || `/ilovelotsoflemonade` ||
   294 || 5 || Shrug || `/shrug`
   294 || 5 || Shrug || `/shrug` ||
   295 || 6 || Juggling || `/juggle`
   295 || 6 || Juggling || `/juggle` ||
   296 
   296 
   297 === <tt>onTimer(msgParam)</tt> ===
   297 === <tt>onTimer(msgParam)</tt> ===
   298 This function is called when one of the timer keys is pressed.
   298 This function is called when one of the timer keys is pressed.
   299 
   299 
   300 `msgParams` tells the set timer in seconds (i.e. `3` for the 3 seconds timer key).
   300 `msgParams` tells the set timer in seconds (i.e. `3` for the 3 seconds timer key).