23.03.2010, 18:31
Okay i got a bot on a roleplay server, and what i want it to is to when i tell it something, it answers back (I did that) but now i need him to say it on the /o chat (OOC), can anyone help me how to make it.. I got this far. I hope the code explains more The thing is that the SendCommand is not working, any ideas how i can make this work so it actually says it in OOC chat?
Код:
else if(strfind(text, "Michael, you are getting fixed") != -1) { new string[80]; format(string, sizeof(string), "AARGH! Please don't fix me Kevin! Im only a bot! AARGH!"); SendChat(string); SendCommand("/o AARGH! Please don't fix me Kevin! Im only a bot! AARGH!"); }