Chat private: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 35: | Line 35: | ||
see_also={{SeeAlso|chat_clan|print}}| | see_also={{SeeAlso|chat_clan|print}}| | ||
}} | }} | ||
{{RFI | {{RFI|Please see discussion page}} |
Revision as of 20:04, 10 March 2010
Function Syntax
void chat_private(string player ,string message )
- player is the name of the player you wish to contact.
- message is the message you wish to send them.
This function allows you to send ingame private messages through chat to players.
Code Samples
If you save this as example.ash, then type "set chatbotScript=example.ash" into the CLI, this script will log messages sent to you and reply to the sender with an away message.
void main(string sender , string message){
print(sender + ": " + message , "green");
chat_private(sender , "I am not here right now, but will see your message when I return. Thanks for calling!");
}
See Also
Attention KoLmafia Experts!
We need your help; some details of this function's operation are unknown or unclear.
The following specific question has been raised:
- Please see discussion page