quote:
Originally posted by Mattike
quote:
Originally posted by Hit
thx i finaly done my sure to send project
If i do return;
It still sends if i do return ""; message is gone it most stay there
Hmm, strange. I saw scripts just sending nothing with the return... But if that wouldn't work, I suggested you to use return "" anyway. 
returning nothing and returning nothing are two different things (

)...
If a script wants to change the send text it should do:
return "change text";
If a script wants to send
'nothing' (mind the quotes; as you do send something: an empty string, that's not nothing). In other words cancel what has been send:
return "";
If a script wants to do nothing. Thus not cancelling the message, nor changing it:
return;
(and as such this can be left out in the function too, as a function will return anyways if it ends)
It always has been like this and every script does it like this...