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.

Search found 5 matches

by neo42
Tue Jul 25, 2006 10:21 am
Forum: Scripting Help
Topic: Problem with bind pub
Replies: 6
Views: 4237

Look at this thread http://forum.egghelp.org/viewtopic.php?t=11940 for a right elegant solution. You'd just need to put a ! in front of the if expression, changing the logic to "if this flag doesn't exist, do..." All that's left then is to .chanset #chan +flag on the chans you want to excl...
by neo42
Sat Jul 22, 2006 8:20 am
Forum: Scripting Help
Topic: Detecting a users umodes (not flags) in a tcl
Replies: 6
Views: 5523

Yep. I know about 307. Trick is, I want something to happen when a user is not registered. Not as easy as trapping the 307. It should be simple to take the reply from 379, split it, and check for "r" in the umode string, but for some reason the bot isn't getting the 379 response.
by neo42
Fri Jul 21, 2006 6:44 pm
Forum: Scripting Help
Topic: Detecting a users umodes (not flags) in a tcl
Replies: 6
Views: 5523

OK here goes... This is the script as it currently exists. It properly executes the whois, but seems to do nothing with the 379 numeric, which on Unreal Ircd is REPL_WHOISMODES. I can get the mode string with mIRC, so I know the reply is being made. setudef flag sentry # channel must have +sentry bi...
by neo42
Fri Jul 21, 2006 3:27 pm
Forum: Scripting Help
Topic: Detecting a users umodes (not flags) in a tcl
Replies: 6
Views: 5523

That's kinda what I thought... I had tried a couple things along that line, but nothing has worked yet. I'll dig up what I tried and post the code in a bit. Thanks for the reply.
by neo42
Thu Jul 20, 2006 12:09 am
Forum: Scripting Help
Topic: Detecting a users umodes (not flags) in a tcl
Replies: 6
Views: 5523

Detecting a users umodes (not flags) in a tcl

I'd like for my "doorkeeper" script to kick/ban a user whose nick is not registered or has expired. I know that umodes like +o and +v are handled by isop(), isvoice(), etc... Is there a way to get/parse a user's umodes to determine if other modes (+r in this instance) are set? I've checked...