Chat clan: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Create page
 
imported>Lostcalpolydude
No edit summary
 
(4 intermediate revisions by 3 users not shown)
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", "slimetube", "dread", or "hauntedhouse".|
}}|
}}|


Line 25: Line 35:
<syntaxhighlight>
<syntaxhighlight>
chat_clan("I just sent zarqon all my bat items. I recommend you do the same!");
chat_clan("I just sent zarqon all my bat items. I recommend you do the same!");
}
</syntaxhighlight>
</syntaxhighlight>
}}|
}}|


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