mIRC Homepage
Posted By: Taenadar problem with voice bot - 04/11/05 07:52 PM
ok i got a little problem

i got this

Code:
on @*:text:!voice *:#: {
   if ($nick !isop $chan) { return }
   mode $chan +v $2
   .notice $nick There you go, master.

on @*:text:!devoice *:#: {
   if ($nick !isop $chan) { return }
   mode $chan -v $2
   .notice $nick There you go, master.


when i type !voice nick it voices nick but then after the bot has voiced it will devoice nick. I dont know why...

Help me =]
Posted By: Fantas Re: problem with voice bot - 04/11/05 08:12 PM
no closing brackets }
Posted By: Taenadar Re: problem with voice bot - 04/11/05 08:16 PM
Ah tnx i didnt noticed that...
Posted By: Riamus2 Re: problem with voice bot - 04/11/05 08:50 PM
Yep... whenever you run into a problem, one of the first things to do is to make sure all your brackets are matched up properly. smile
© mIRC Discussion Forums