I am working on DyDo to add chat message capabilities and I have not been able to find anything in the AI manual . I have obviusly looked at the WZ ai script and I have found there how to process the chat messages but I think you should put someting into the AI manual too.
I have made a web search and have found this:
Code: Select all
VOID processChatMsg { STRING string }
Process STRING string.
STRING getChatCmdDescription { INT index }
Returns a string representing a certain chat command,
based on the command index provided.
INT getNumArgsInCmd
Returns number of command arguments for a certain
chat command that could be extracted.
BOOL getChatCmdParam { INT commandIndex, INT paramIndex }
Returns a certain parameter of a certain chat command.
Returns FALSE if failed.
BOOL chatCmdIsPlayerAddressed { INT commandIndex, INT player }
Returns true if a certain command was addressed to a certain player.