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.

Disable a user flag?

Old posts that have not been replied to for several years.
Locked
N
Nik
Voice
Posts: 18
Joined: Sun Jan 27, 2002 8:00 pm
Location: Sweden

Post by Nik »

Is there any way to disable a user flag......like the a (autoop) flag? And if so, how?

Also, are there any files that list what you can do with certain flags? (Like which flags lets you do .status and stuff like that)

:wink:

<font size=-1>[ This Message was edited by: Nik on 2002-01-28 09:27 ]</font>

<font size=-1>[ This Message was edited by: Nik on 2002-01-28 17:29 ]</font>
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

.binds all
will show you all the flags needed for each command.

There isn't really a way to disable a flag. You could rebind most of the dcc/msg commands to flags of your choice, but internal procedures might still check for flags (meaning you have to rewrite them). However, binds for such events as JOIN which will affect someone with, say, +a cannot be rewritten in tcl. Technically if you wanted to limit the effects of +a, you could either rewrite .chattr to refuse the addition of this flag, or go through the source (probably channels.mod) and delete the sections relating to what the bot does when a +a joins or is deopped. Deleting the flag completly probably would be a bad idea, but you can certainly make it just not do anything.
N
Nik
Voice
Posts: 18
Joined: Sun Jan 27, 2002 8:00 pm
Location: Sweden

Post by Nik »

Thanks!
Locked