mIRC Home    About    Download    Register    News    Help

Print Thread
#134787 04/11/05 07:52 PM
Joined: Nov 2005
Posts: 8
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Nov 2005
Posts: 8
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 =]

#134788 04/11/05 08:12 PM
Joined: Dec 2002
Posts: 79
F
Babel fish
Offline
Babel fish
F
Joined: Dec 2002
Posts: 79
no closing brackets }

#134789 04/11/05 08:16 PM
Joined: Nov 2005
Posts: 8
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Nov 2005
Posts: 8
Ah tnx i didnt noticed that...

#134790 04/11/05 08:50 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard