-
Notifications
You must be signed in to change notification settings - Fork 758
Checkchatting
Haru edited this page Oct 19, 2016
·
1 revision
- checkchatting({"<player></player>"});
- checkvending({"<player></player>"});
Checks if the player is vending or in a chatroom. Name is optional, and defaults to the attached player if omitted.
Value | Description |
---|---|
0 | The player is not chatting/vending. |
1 | The player is chatting/vending. |
2 | The player is vending using @autotrade. |
//This will check if the attached player in a chat room or not. [[if]] ([[checkchatting]]()) [[mes]] "You are currently chatting!";