Can someone make this function working, so that it sends what
ever error message the script gets to a user when this function is in the script sBot = "#ErrorMsg"
ToWho = "opname"
function OnError(ErrorMsg)
SendPmToNick(ToWho, sBot, ErrorMsg)
end
I see nothing wrong with it, maybe you arent using it in the script, it wont work if you set it as an external script, unless you use "dofile".
QuoteOriginally posted by Dessamator
I see nothing wrong with it, maybe you arent using it in the script, it wont work if you set it as an external script, unless you use "dofile".
I have it in a script :P
Heh, it works now, wierd, a couple of minutes ago it didn't :P
Goodie :)