quote:
Originally posted by RaceProUK
quote:
Originally posted by -!Felu!-
Wouldnt this do it?
code:
function OnEvent_ChatWndRecieveMessage(ChatWnd, Origin, Message, MessageKind)
{
if(Message.substr(0, 6) == '!getip');
{
ChatWnd.SendMessage('(!IP)');
}
}
That will post both yours and their IPs.
... without asking for permission (as requested)
You need to verify that the message isnt from you cause when you send a message, it is also recieved by you (if you would just write a On event send and recieve functions and watch the debug window you would notice this)