This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

!op trigger NOT working! Need help.... PLZ

Old posts that have not been replied to for several years.
Locked
m
masterstanf2k
Voice
Posts: 29
Joined: Fri Oct 03, 2003 6:15 pm

!op trigger NOT working! Need help.... PLZ

Post by masterstanf2k »

I am currently using cumodes13.tcl and I like the script a lot! Because it has !hop, and many of the usefull function that I require. BUT.... one of the MOST useful functions, !op, isn't working!!! Whenever I type !op [nick] in my chan ([nick] containing a valid nick), I get the following-
Tcl error [op]: wrong # args: should be "op o c"
. So my question, now... is... how do I fix this? PLZ? THANK YOU... :)
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

are you sure you haven't loaded another script which has an "op" procedure?

and another thing;

the author of cumodes.tcl is using list commands on strings so your bot might choke :oops:
photon?
m
masterstanf2k
Voice
Posts: 29
Joined: Fri Oct 03, 2003 6:15 pm

Post by masterstanf2k »

haha.... oh... well, I wouldn't mind a new script but I need one that has all the triggers. !hop, !dehop, !op, !deop, !kick, !ban.... know what I mean? ... For channel management!
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

the elements of you op proc are not complete, my guess its a pub bind, so it should have more than 3 elemets (op o c). So pasting the op proc would help. (it should have 5 elements)
m
masterstanf2k
Voice
Posts: 29
Joined: Fri Oct 03, 2003 6:15 pm

Post by masterstanf2k »

no... that's not it :(
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

As spock said, it looks like you loaded two conflicting scripts. Remove all of the scripts except cumodes and .restart. See if that fixes it. Then add each script back, one by one, so you know which one breaks it.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

or change the proc name, and dont forget to replace it in the bind.
m
masterstanf2k
Voice
Posts: 29
Joined: Fri Oct 03, 2003 6:15 pm

Post by masterstanf2k »

still no work... would someone mind checking out the script and modifying it accordingly?? THX....
Locked