bind pub - !kick pub:kick
proc pub:kick {nick uhost hand chan arg} {
putserv "kick $chan $arg REASON SET HERE IN SCRIPT - NOT ON IRC"
}
What might I be doing wrong?
I know there is no security on this bind / proc but its just for learning right now. I will use a auth system later on.
Thanks in advance you godly guru's
God bless
Last edited by whittinghamj on Thu Jun 01, 2006 12:40 am, edited 1 time in total.
bind pub - !kick pub:kick
proc pub:kick {nick uhost hand chan arg} {
putserv "KICK $chan [lindex [split $arg] 0] :REASON SET HERE IN SCRIPT - NOT ON IRC"
}
Also for future posts of you, try actually reading the error TCL returns, it would have clearly stated that you were missing a brace and there would be no need to post here about it then.
PS: why do you keep saying 'god bless' in all yours posts, i find it annoying though i don't know why.
Thanks for your post, I was soooo figging tired when I posted that I did not know what I was doing lol.
Thanks for the code and tips.
As for the "god bless" to be honest, I dont really know why I put it in my posts. Just trying to be nice and friendly I guess and its something you dont hear that often any more. No offence intended by it :-s