Chat clan: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
imported>Grotfang
Add two argument version of the function.
Line 14: Line 14:
return_also={{#var:return_also}}|
return_also={{#var:return_also}}|
parameter1={{Param|string|message}}|
parameter1={{Param|string|message}}|
p1desc={{pspan|message}} is the message you want posted in clan chat.
}}|
 
function2={{Function|
name={{#var:name}}|
aggregate={{#var:aggregate}}|
return_type={{#var:return_type}}|
return_also{{#var:return_also}}|
parameter1={{Param|string|message}}|
parameter2={{Param|string|channel}}|
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".|
}}|
}}|



Revision as of 08:13, 18 December 2010

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" or "slimetube".

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()