Search the Commands

Home  All  a  b  c  d  e  f  g  h  i  j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z 

Details for command checkvending:
 
* checkchatting {"character name"};
* checkvending {"character name"};
 
If the player's name is given, this command checks for that player
to be online and wether he/she is chatting or vending.
When no name is given, the attached player is used for checking.
Returns true or false (1 or 0) when the player is chatting/vending or not.

Examples:

> if (checkVending("Aaron")) mes "Aaron is currently vending!";
This will check if Aaron is vending, and if so, put a message in front of the attached player saying Aaron is vending.
> if (checkChatting()) mes "You are currently chatting!";
This will check if you're in a chat room or not

Valid XHTML 1.0 Strict Valid CSS!