Chat API
Chat
You must import phBotChat
to use the chat API.
All(text)
Sends a message to general chat.
Party(text)
Sends a message to the party.
Guild(text)
Sends a message to the guild.
Union(text)
Sends a message to the union.
Stall(text)
Sends a message to the stall.
Private(name, text)
Sends a private message to another player.
Note(name, text)
Sends a note to another player.
Global(text)
Sends a global message.
Notice(text)
Sends a GM notice to the server. This function should only ever be used if you are the GM of your own server. It should never be used as a normal player.
ClientNotice(text)
Sends a GM notice to the client. This function is client side only.
Returns
True
if the message was sent, False
if sending the message failed.
Example
Last updated