egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Channel Auto-Deop on Server Op

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
bwatters
Voice


Joined: 19 Apr 2008
Posts: 1

PostPosted: Sat Apr 19, 2008 10:59 pm    Post subject: Channel Auto-Deop on Server Op Reply with quote

Hello,

I am trying to find a tcl to auto-deop every user that joins the channel ' # ' and gets op through the server. The server that I am going to be using this on does not have services. Here is a code that I use in mIRC to do it when I am in the room. If anyone could help with this, It would be greatly appreciated!

on *:serverop:#: if ($chan == $chr(35)) { /mode $chr(35) -o+v $2 $2 }

This code will auto deop and voice anyone who joins the channel ' # ' that gets op from the server.
Back to top
View user's profile Send private message
strikelight
Owner


Joined: 07 Oct 2002
Posts: 708

PostPosted: Sun Apr 20, 2008 3:14 am    Post subject: Reply with quote

channel setting +stopnethack will make the bot deop any users that are opped through a server or net-split.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber