<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/6193" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-11-23T20:29:19-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/6193</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-23T20:29:19-04:00</updated>

		<published>2003-11-23T20:29:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30594#p30594</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30594#p30594"/>
		<title type="html"><![CDATA[Re: reply - 2nd part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30594#p30594"><![CDATA[
##### CHANNELS MODULE #####<br><br># this next module provides channel related support for the bot, without<br># it, it will just sit on irc, it can respond to msg &amp; ctcp commands, but<br># that's all<br>loadmodule channels<br><br># the chanfile: where dynamic channel settings are stored<br>set chanfile "ukcas.chan"<br><br># temporary bans will last how many minutes? if set to 0, bot never removes<br># them.<br>set ban-time 60<br><br># temporary exemptions (+e modes) will last how many minutes? if set to 0,<br># bot never removes them. This is an IRCNET feature. The bot will check the<br># exempts every X minutes, but will not remove the exempt if a ban is set on<br># the channel that matches that exempt. Once the ban is removed then the<br># exempt will be removed the next time the bot checks.<br>set exempt-time 60<br><br># temporary invitations (+I modes) will last how many minutes? if set to<br># 0, bot never removes them. This is an IRCNET feature. The bot will check the<br># invites every X minutes, but will not remove them if the channel is +i. Once<br># the channel is -i then the bot will remove then invite mode next time it<br># checks this counter<br>set invite-time 60<br><br># [0/1] expire bans/exempts/invites set by other opped bots on the channel?<br># set force-expire 0<br><br># [0/1] share user greets with other bots on the channel if sharing user data?<br>set share-greet 0<br><br># [0/1] allow users to store an info line?<br>set use-info 1<br><br># these settings are used as default values when you<br># .+chan #chan or .tcl channel add #chan<br># look in the section above for explanation on every option<br><br>set global-flood-chan 10:60<br>set global-flood-deop 3:10<br>set global-flood-kick 3:10<br>set global-flood-join 5:60<br>set global-flood-ctcp 5:60<br>set global-flood-nick 5:60<br><br>set global-aop-delay 5:30<br><br>set global-idle-kick 0<br>set global-chanmode "nt"<br>set global-stopnethack-mode 0<br>set global-revenge-mode 1<br><br>set global-chanset {<br>        -autoop         -autovoice<br>        -bitch          +cycle<br>        +dontkickops    +dynamicbans<br>        +dynamicexempts +dynamicinvites<br>        +enforcebans    +greet<br>        -inactive       +nodesynch<br>        +protectfriends +protectops<br>        +revenge        +revengebot<br>        -secret         +seen<br>        +shared         +statuslog<br>        +userbans       +userexempts<br>        +userinvites<br>}<br><br># do this for each channel you wish to sit on:<br># NOTE: for some reason Tcl won't let you put comments inside { } -- so<br>#   don't try it, cos it'll mess up your channel definition<br><br>channel add #ukcouples&amp;singles<br>channel add #tartstearoom<br>channel add #scottish^swingers {<br>  chanmode "+nt-likm"<br>  idle-kick 0<br>  stopnethack-mode 0<br>  revenge-mode 1<br>  aop-delay 5:30<br>  need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" }<br>  need-invite { putserv "PRIVMSG #lamest :let me in!" }<br>  need-key { putserv "PRIVMSG #lamest :let me in!" }<br>  need-unban { putserv "PRIVMSG #lamest :let me in!" }<br>  need-limit { putserv "PRIVMSG #lamest :let me in!" }<br>  flood-chan 10:60<br>  flood-deop 3:10<br>  flood-kick 6:60<br>  flood-join 3:30<br>  flood-ctcp 3:60<br>  flood-nick 5:60<br>}<br><br># the things inside the { } are CHANNEL OPTIONS -- they can be set within<br># the "channel add" command, or by using a "channel set" command as in the<br># examples below.  they list all the options you can set for a channel.<br><br># chanmode<br>#   what modes will be enforced?  '+' modes will always be kept on, '-' modes<br>#   will always be kept off<br># idle-kick<br>#   kick channel members after how many minutes of being idle?<br>#   (leave out to disable, or set to 0)<br><br>#   stopnethack-mode<br>#     de-op anyone who enters the channel with serverops<br>#       0 turn off,<br>#       1 isoptest (allow serverop if registered op),<br>#       2 wasoptest (allow serverop if op before split)<br>#       3 allow serverop if isop or wasop<br>#       4 allow serverop if isop and wasop<br>#       5 if channel -bitch: see stopnethack-mode 3<br>#         if channel +bitch: see stopnethack-mode 1<br>#       6 if channel -bitch: see stopnethack-mode 2<br>#         if channel +bitch: see stopnethack-mode 4<br><br>#   revenge-mode<br>#     defines how the bot should punish bad users when revenging.<br>#     default is 1.<br>#       0 for deop<br>#       1 for deop and +d<br>#       2 for deop, +d and kick<br>#       3 for deop, chattr +d, kick and ban<br><br># aop-delay (minimum:maximum)<br># for autoop and autovoice<br># aop-delay 0                   no autoopdelay<br># aop-delay x or aop-delay x:x  x sec. autoopdelay<br># aop-delay x:y                 random delay<br># if a autoopped user joined during a other delayed autoop is pending,<br># the bot will sent both autoop based on the last-joined-user-delay-time,<br># probable in only one line.<br><br># need-op<br>#   script to run (if any) when the bot needs to be op'd on this channel<br># need-invite<br>#   script to run (if any) when the bot gets locked out of the channel<br>#   because the channel is +i<br># need-key<br>#   script to run (if any) when the bot gets locked out of the channel<br>#   because it doesn't have the channel key<br># need-unban<br>#   script to run (if any) when the bot gets banned from this channel<br># need-limit<br>#   script to run (if any) when the bot gets locked out of the channel<br>#   because the channel limit is full<br># flood-chan (number:seconds)<br>#   how many channel messages in how many seconds is a flood<br>#   not specifying or using number = 0 will not check chan floods!<br># flood-ctcp (number:seconds)<br>#   how many channel messages in how many seconds is a flood<br>#   not specifying or using number = 0 will not check ctcp floods!<br># flood-deop (number:seconds)<br>#   how many deops in how many seconds is a mass de-op<br>#   not specifying or using number = 0 will not check de-op floods!<br># flood-kick (number:seconds)<br>#   how many kicks in how many seconds is a mass kick?<br>#   not specifying or using number = 0 will not check mass kicks!<br># flood-join (number:seconds)<br>#   how many joins/nick changes in how many seconds is a join flood?<br>#   not specifying or using number = 0 will not check join floods!<br><br># note that "need-op", "need-invite", etc, are limited to 120 characters,<br># so if you want to so something more complicated, just write a proc,<br># and make them call your proc.<br><br># there are also a lot of options that can be turned on or off for each<br># channel.  to turn an option on, put a + in front of it.  to turn it off,<br># put a - in front of it.  i.e., to have auto-op, put:<br>#   +autoop<br># to turn it off, put:<br>#   -autoop<br><br>#   when a ban is set, kick people who are on the channel and match the<br>#   new ban?  (i.e., they were on the channel before the ban)<br>channel set #ukcouples&amp;singles +enforcebans<br>channel set #scottish^swingers +enforcebans<br>channel set #tartstearoom +enforcebans<br><br>#   Only activate bans on the channel when necessary?  (This keeps the<br>#   channel's ban list from getting excessively long.<br>#   The bot still remembers every ban, but it only activates a ban on<br>#   the channel when it sees someone join who matches that ban.)<br>channel set #ukcouples&amp;singles +dynamicbans<br>channel set #scottish^swingers +dynamicbans<br>channel set #tartstearoom +dynamicbans<br><br>#   allow bans to be made by users directly?  (if turned off, the bot will<br>#   require all bans to be made through the bot's console)<br>channel set #ukcouples&amp;singles +userbans<br>channel set #scottish^swingers +userbans<br>channel set #tartstearoom +userbans<br><br>#   only activate exempts on the channel when necessary?  (this keeps the<br>#   channel's exempt list from getting excessively long.  the bot still<br>#   remembers every exempt, but it only activates a exempt on the channel<br>#   when it sees a ban set matching the exempt. The exempt remains active<br>#   on the channel for as long as the ban is still active.<br>channel set #ukcouples&amp;singles +dynamicexempts<br>channel set #tartstearoom +dynamicexempts<br>channel set #scottish^swingers +dynamicexempts<br><br>#   allow exempts to be made by users directly?  (if turned off, the bot will<br>#   require all exempts to be made through the bot's console)<br>channel set #ukcouples&amp;singles +userexempts<br>channel set #tartstearoom +userexempts<br>channel set #scottish^swingers +userexempts<br><br>#   only activate invites on the channel when necessary?  (this keeps the<br>#   channel's invite list from getting excessively long.  the bot still<br>#   remembers every invite, but the invites are only activated when the<br>#   channel is set to invite only and a user joins after requesting an<br>#   invite. Once set the invite remains until the channel goes to -i<br>channel set #ukcouples&amp;singles +dynamicinvites<br>channel set #tartstearoom +dynamicinvites<br>channel set #scottish^swingers +dynamicinvites<br><br>#   allow invites to be made by users directly?  (if turned off, the bot will<br>#   require all invites to be made through the bot's console)<br>channel set #ukcouples&amp;singles +userinvites<br>channel set #tartstearoom +userinvites<br>channel set #scottish^swingers +userinvites<br><br>#   op users with the +o (op) flag as soon as they join the channel?<br>#   (hint: this is a BAD IDEA)<br>channel set #ukcouples&amp;singles -autoop<br>channel set #tartstearoom -autoop<br>channel set #scottish^swingers -autoop<br><br>#   only let users with +o (op) flag be channel ops?<br>channel set #ukcouples&amp;singles -bitch<br>channel set #tartstearoom -bitch<br>channel set #scottish^swingers -bitch<br><br>#   say a user's info line when they join the channel?<br>channel set #ukcouples&amp;singles +greet<br>channel set #tartstearoom +greet<br>channel set #scottish^swingers +greet<br><br>#   re-op a user with the +o (op) flag if they get deopped?<br>channel set #ukcouples&amp;singles +protectops<br>channel set #tartstearoom +protectops<br>channel set #scottish^swingers -protectops<br><br>#   re-op a user with the +f (friend) flag if they get deopped?<br>channel set #ukcouples&amp;singles +protectfriends<br>channel set #tartstearoom +protectfriends<br>channel set #scottish^swingers -protectfriends<br><br>#   log the channel status line every 5 minutes? (some people think<br>#   it's annoying; I think it's neat)<br>channel set #ukcouples&amp;singles +statuslog<br>channel set #tartstearoom +statuslog<br>channel set #scottish^swingers +statuslog<br><br>#   remember people who deop/kick/ban bots, valid ops or friends, and punish them?<br>#   users with +f (friend) flag are exempt from revenge<br>channel set #ukcouples&amp;singles +revenge<br>channel set #tartstearoom +revenge<br>channel set #scottish^swingers -revenge<br><br>#   this works similar to revenge, but it triggers only for valid bots and<br>#   allows the deop or kick of an op<br>channel set #ukcouples&amp;singles +revengebot<br>channel set #tartstearoom +revengebot<br>channel set #scottish^swingers -revengebot<br><br>#   voice users with +v (voice) flag when they join the channel?<br>channel set #ukcouples&amp;singles -autovoice<br>channel set #tartstearoom +autovoice<br>channel set #scottish^swingers +autovoice<br><br>#   prevent this channel from being listed on the botnet?  (for paranoid<br>#   people)<br>channel set #ukcouples&amp;singles -secret<br>channel set #tartstearoom -secret<br>channel set #scottish^swingers -secret<br><br>#   share user channel info for this channel?<br>channel set #ukcouples&amp;singles +shared<br>channel set #tartstearoom +shared<br>channel set #scottish^swingers -shared<br><br>#   cycle the channel when it becomes op-less?<br>channel set #ukcouples&amp;singles +cycle<br>channel set #tartstearoom +cycle<br>channel set #scottish^swingers +cycle<br><br>#   do you want the bot not to be able to kick +o flag users ?<br>#   letting them kick-flood for instance, to protect the channel against<br>#   clone attacks<br>channel set #ukcouples&amp;singles +dontkickops<br>channel set #tartstearoom +dontkickops<br>channel set #scottish^swingers -dontkickops<br><br>#   prevents the bot from joining the channel (or makes it leave the channel<br>#   if it is already there).<br>#   Can be useful to make the bot leave a channel without loosing it's<br>#   settings (flood settings, all these "channel set" settings), user flags<br>#   for this channel, bans for this channel, and without affecting any<br>#   sharing<br>channel set #ukcouples&amp;singles -inactive<br>channel set #tartstearoom -inactive<br>channel set #scottish^swingers -inactive<br><br>#   respond to seen requests in the channel?  (seen module must be loaded)<br>channel set #ukcouples&amp;singles +seen<br>channel set #tartstearoom +seen<br>channel set #scottish^swingers +seen<br><br>#   allow non-ops to perform channel modes?  (Stops bot from<br>#   fighting with services such as ChanServ)<br>channel set #ukcouples&amp;singles +nodesynch<br>channel set #tartstearoom +nodesynch<br>channel set #scottish^swingers +nodesynch<p>Statistics: Posted by Guest — Sun Nov 23, 2003 8:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-23T20:23:55-04:00</updated>

		<published>2003-11-23T20:23:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30593#p30593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30593#p30593"/>
		<title type="html"><![CDATA[Re: reply to my original query]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30593#p30593"><![CDATA[
first of all thanks gumbydammit for the reply. I did .chaninfo and found that despite settings in conf and Dynamic chan file, the settings were wrong. I hope you don't mind but I have pasted the DCF and config here. If possible, could you please advise me where I have got it wrong.<br><br><br>#Dynamic Channel File for WhipB0t (eggdrop v1.6.2) -- written Sun Nov 23 23:57:53 2003<br><br>channel set #ukcouples&amp;singles chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 1 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 10:60 flood-ctcp 5:60 flood-join 5:60 flood-kick 3:10 flood-deop 3:10 flood-nick 5:60 aop-delay 5:30 +enforcebans +dynamicbans +userbans -autoop -bitch +greet +protectops +protectfriends +dontkickops +statuslog +revenge +revengebot -autovoice -secret +shared +cycle +seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites +nodesynch <br>channel set #tartstearoom chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 1 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 10:60 flood-ctcp 5:60 flood-join 5:60 flood-kick 3:10 flood-deop 3:10 flood-nick 5:60 aop-delay 5:30 +enforcebans +dynamicbans +userbans -autoop -bitch +greet +protectops +protectfriends +dontkickops +statuslog +revenge +revengebot +autovoice -secret +shared +cycle +seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites +nodesynch <br>channel set #scottish^swingers chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 1 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 10:60 flood-ctcp 5:60 flood-join 5:60 flood-kick 3:10 flood-deop 3:10 flood-nick 5:60 aop-delay 5:30 +enforcebans +dynamicbans +userbans -autoop -bitch +greet -protectops -protectfriends +dontkickops +statuslog -revenge -revengebot +autovoice -secret +shared +cycle +seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites +nodesynch <br>channel add #bots { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 1 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 10:60 flood-ctcp 5:60 flood-join 5:60 flood-kick 3:10 flood-deop 3:10 flood-nick 5:60 aop-delay 5:30 +enforcebans +dynamicbans +userbans -autoop -bitch +greet +protectops +protectfriends +dontkickops +statuslog +revenge +revengebot -autovoice -secret +shared +cycle +seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites +nodesynch }<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by Guest — Sun Nov 23, 2003 8:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gumbydammit]]></name></author>
		<updated>2003-11-23T00:32:53-04:00</updated>

		<published>2003-11-23T00:32:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30546#p30546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30546#p30546"/>
		<title type="html"><![CDATA[bot keeps reoping users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30546#p30546"><![CDATA[
did you remove them with .chanset ? or in the conf?<br>i.e. .chanset #chan -protectops   &lt;-- whichever protect is doing the opping<br>the chanfile overrides the conf you can always view your current channel settings with .chaninfo #chan<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1870">gumbydammit</a> — Sun Nov 23, 2003 12:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-22T23:32:00-04:00</updated>

		<published>2003-11-22T23:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30545#p30545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30545#p30545"/>
		<title type="html"><![CDATA[bot keeps reoping users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30545#p30545"><![CDATA[
I am running an eggdrop v1.6.2 in 3 different chat rooms, each with chanserv. I have set the config file settings for each channel and also have a chanfile with dynamic channel settings. In 2 of the channels the bot works fine, but in 1 channel I am having a problem with the bot re-opping operators, when they have de-opped themselves. I have checked that all the bitch and revenge modes are off for this channel and have even removed the protected status from the ops.<br>Any help would be appreciated.<p>Statistics: Posted by Guest — Sat Nov 22, 2003 11:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
