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.

auto-deopping

Old posts that have not been replied to for several years.
Locked
c
crexor

auto-deopping

Post by crexor »

Hi, on one of the networks that i am an IRCop on, ive had some problems with other IRCops 'breaking' into the channels that are +s, +k, +i, etc and opping themselves, some of the channels belonging to myself, ive browsed throught eh forums for a bit now, and found a few scripts that do something similar to what I want, ala deopping another op who has opped someone not in the user list, I know that it would be menial protection against an IRCop, but I am looking for some system(TCL script) that will deop someone who OPs themselves, and also kick/ban them, and enforce it, and possibly use sendmail to email me when this occurs. Now i am completely in the dark on how to do the first part, but I am fairly confident i can do the email notice section with something along the lines of

Code: Select all

bind mode - *-o* deopMail 
proc deopMail {nick host hand chan mdechg dnick} { 
global botnick 
  if {$dnick == $botnick} { 
  exec echo "$nick was deoped on $chan at [date] [time]" | sendmail my@email
  } 
}
well any help and/or suggestions would be greatly appreciated. Thanks in advance, and ill be ready for flames, like "RTFM" and "google search +suninet +tcl +tutorial " "check tcldocs" or whatever. but I am a tcl newbie, and trying to learn all this by example.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

See in the .conf file the coments about stopnethack-mode and nodesynch. I think this two may help you a bit, especialy the nodesynch. :)
Once the game is over, the king and the pawn go back in the same box.
Locked