[OFF TOPIC]
quote:
Originally posted by ThunderStorm
how work that script?
Is there a command for in that script?
The shown source code is part of a script, it is most likely not the complete script.
Also, if you look carefully you see that this function is actually an event:
function OnEvent_ChatWndReceiveMessage(...).
An event is triggered and executed automatically when certain things take place. In this case the event will trigger whenever a message is recieved and thus the function gets executed.
To know how scripts work read the
official script documentation.
[/OFF TOPIC]