09-12-2014, 07:36 AM
(09-12-2014, 07:15 AM)Lo_Pan Wrote: I saw it on a wiki example.
In other words, i have no idea what that line of code does it seems, as i thought it was needed to make the command(s) work.
If i change true to false, it executes both commands, on just 1 command..
Painfully obvious by now i am a scripting noob!
If you set return to true inside the function:
user send command -> enter hook -> enter function -> finish
set it to false:
user send command -> enter hook -> enter function -> enter command handler -> enter function again -> finish
You shouldn't use the same function for both, unless you know what you are doing.