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.

isadmin

Old posts that have not been replied to for several years.
Locked
B
Bumpaneer

isadmin

Post by Bumpaneer »

My IRC Server (Resum.net) supports STATUSMSG=!@%+ The ! is for an admin and is ranked above the op (@). I know the isop, ishalfop, and isvoice will detect the other symbols, but I need some way to detect the ! Would it be possible to write a method inside a tcl script to do this? If so, can anyone help point me in the right direction?

Thanks a bunch,
~Bumpaneer
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

What mode is that? (knowing the mode would be required to make a working "isadmin" command)

Here's what you need to do: capture the output of /names or /who (recieved upon joining a new channel) to figure out who's admin when you arrive. Then you need to monitor mode changes to determine if someone becomes admin/loose their admin mode while you're there. Then you need to monitor nick changes...

In other words: do you really need this? :P
Have you ever read "The Manual"?
B
Bumpaneer

Post by Bumpaneer »

+/- a is the change it says for admins.

I already monitor stuff for creating a list of users in the room. I can put the other symbols in, just need to be able to detect admins to put the ! symbol in (it currently only gives them an op symbol)

Thanks
Locked