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.

TCL script Help

Help for those learning Tcl or writing their own scripts.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

If you wish to delete users, use the .-user command..
However, you really should'nt have to do that just to get hostmasks and flags in order (except maybe in very rare cases). Use .chattr, .+host, and .-host instead..

In any case, since bot does'nt see you as opped, that's why it fails for you.. if you think you are opped, channel or your bot is desynced.

Also, your other staff (those that are shown as opped by your bot), which of the errors do they get?
NML_375
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Ace-T wrote:#Ace-T# whois ace-t
HANDLE PASS NOTES FLAGS LAST
Ace-T yes 0 hjlmnoptx 14:17 (partyline)
#acetorrents - 12:27
I dont see any permissions for the channel #acetorrents.. You have global permissions, but your matchattr command is looking for channel perms too, so perhaps just remove the part that has the channel in the matchattr, like:

if {![matchattr $h o]}

Otherwise, I believe eggdrop is going to look for *both* global and channel permissions/flags.

The other option would be to simply add the channel perms for the username, from the dcc console,
.chattr ace-t +o #acetorrents
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

@rosc:
Nah, since it's "o|o" either is good enough.. had it been "o&o" tho..
Good thought tho
NML_375
A
Ace-T
Halfop
Posts: 82
Joined: Tue Aug 29, 2006 7:25 am

Post by Ace-T »

alsomt there guys lol

now it just dont work for me lol.....

what a load ov trouble, greatful for help guys
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Ahh ok, didn't know you could use & in the flags..learned something new <grin>
A
Ace-T
Halfop
Posts: 82
Joined: Tue Aug 29, 2006 7:25 am

Post by Ace-T »

ok i feel like a bit ov a n00b now lol :) but no1 else pointed this out hehe

script was working fine all along, then it clicked to me the bot wont recongise us as ops if it dont see us being opped after i parted then rejoined it worked fine rofl ;)

guess one ov them things in life rofl

anyway ty for ur help hehe
Post Reply