Chat clan: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Grotfang
Add two argument version of the function.
imported>Lostcalpolydude
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 24: Line 24:
parameter2={{Param|string|channel}}|
parameter2={{Param|string|channel}}|
p1desc={{pspan|message}} is the message you want posted in clan chat.|
p1desc={{pspan|message}} is the message you want posted in clan chat.|
p2desc={{pspan|channel}} is the channel you want to post in. This should be one of "clan", "hobopolis" or "slimetube".|
p2desc={{pspan|channel}} is the channel you want to post in. This should be one of "clan", "hobopolis", "slimetube", "dread", or "hauntedhouse".|
}}|
}}|


Line 38: Line 38:
}}|
}}|


see_also={{SeeAlso|chat_private}}|
see_also={{SeeAlso|chat_private|chat_macro}}|
}}
}}
[[Category:Miscellaneous Functions]]

Latest revision as of 21:48, 23 October 2016

Function Syntax

void chat_clan(string message )

void chat_clan(string message ,string channel )

  • message is the message you want posted in clan chat.
  • channel is the channel you want to post in. This should be one of "clan", "hobopolis", "slimetube", "dread", or "hauntedhouse".

This function allows you to post messages in your clan chat channel.

Code Samples

This message will be posted in your clan chat.

chat_clan("I just sent zarqon all my bat items. I recommend you do the same!");

See Also

chat_private() | chat_macro()