<?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/13955" />

	<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>2008-07-20T08:05:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[samhain]]></name></author>
		<updated>2008-07-20T08:05:35-04:00</updated>

		<published>2008-07-20T08:05:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84085#p84085</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84085#p84085"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84085#p84085"><![CDATA[
<blockquote class="uncited"><div> #how much higher<br>set ::ModeD::userandom 0<br>set ::ModeD::random 1<br>set ::ModeD::raiselimit 5<br>#time in minutes to change the limit<br>set ::ModeD::uplimitticks 8<br>set ::ModeD::downlimitticks 16<br><br>#save stats 0/1 and path to data dir, or create "data" in your eggdrop folder<br>set ::ModeD::savestats 1<br>set ::ModeD::datadir data<br><br>set ::ModeD::uselimiter 0<br>if {$::botnick=="Honecker" || $::botnick=="NewS-FlasH"} {set ::ModeD::uselimiter 1}<br><br># switch debug by default on/off<br>if {![info exists ::ModeD::debug]} { set ::ModeD::debug 0 }<br><br>#my special settings <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>set ::ModeD::channel #Lahore<br>if {$::botnick=="X-III"} {<br>set ::ModeD::savestats 0<br>set ::ModeD::raiselimit 0<br>set ::ModeD::uplimitticks 6<br>set ::ModeD::downlimitticks 60<br>set ::ModeD::channel #news.de<br>}<br>if {$::username=="b0rkBerlin"} {<br>set ::ModeD::userandom 1<br>set ::ModeD::random 5<br>set ::ModeD::uplimitticks 16<br>set ::ModeD::downlimitticks 32<br>}<br>if {$::username=="20mark"} {<br>set ::ModeD::savestats 0<br>set ::ModeD::raiselimit 3<br>set ::ModeD::uplimitticks 15<br>set ::ModeD::downlimitticks 120<br>set ::ModeD::channel #news.de<br>}<br>if {$::username=="Chatter"} {<br>set ::ModeD::DoExtStats 1<br>} {<br>set ::ModeD::DoExtStats 1<br>} </div></blockquote>I don't know what to modify there, because I am not a scripter or something<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8567">samhain</a> — Sun Jul 20, 2008 8:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-07-20T05:42:30-04:00</updated>

		<published>2008-07-20T05:42:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84084#p84084</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84084#p84084"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84084#p84084"><![CDATA[
<a href="http://cybex.b0rk.de/files/tcl/myown/special/berlin/moded.tcl.txt" class="postlink">http://cybex.b0rk.de/files/tcl/myown/sp ... ed.tcl.txt</a><br><br>This Script work, but don't put -D, its put +v to users on join in mode +D.<br><br>Maybe u can edit and add the command line what u want.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Sun Jul 20, 2008 5:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[samhain]]></name></author>
		<updated>2008-07-20T04:59:32-04:00</updated>

		<published>2008-07-20T04:59:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84081#p84081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84081#p84081"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84081#p84081"><![CDATA[
Well this script does not work, I don't know why, however can you give me a valid script, I've been asking people on undernet to give me but they give me [censored] telling me that it's not public and [censored]. I really need this script. Regards.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8567">samhain</a> — Sun Jul 20, 2008 4:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-24T15:30:01-04:00</updated>

		<published>2007-11-24T15:30:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78674#p78674</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78674#p78674"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78674#p78674"><![CDATA[
i test this script, <br>but don't put -D and don't give +v to users in /names -d #chan<br><br>don't give error, but don't run.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Sat Nov 24, 2007 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2007-11-24T13:50:18-04:00</updated>

		<published>2007-11-24T13:50:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78671#p78671</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78671#p78671"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78671#p78671"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set modeD(channel) "#Madrid"set modeD(mode)    "v"bind pub  - !modeD      modeD:timebind time - "* * * * *" modeD:timeproc modeD:time {args} {    global modeD    if {[validchan $modeD(channel)]} {        if {[regexp {D|d} [lindex [getchanmode $modeD(channel)] 0]]} {            bind raw - 353 modeD:raw353            putquick "NAMES -d $modeD(channel)"        }    }}proc modeD:raw353 {from raw arguments} {    global modeD    unbind raw - 353 modeD:raw353    set channel [lindex [split $arguments] 2]    if {[set mode $modeD(mode)] == ""} {        set mode "v"    }    set list [list]    foreach user [split [lindex [split $arguments ":"] 1]]  {        pushmode $channel +$mode $user    }        flushmode $channel}  </code></pre></div>untested, should work fine though<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sat Nov 24, 2007 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-24T12:39:00-04:00</updated>

		<published>2007-11-24T12:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78667#p78667</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78667#p78667"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78667#p78667"><![CDATA[
its done, don't get me error.<br>but no run the script.<br><div class="codebox"><p>Code: </p><pre><code>set modeD(channel) "#Madrid"# set the mode to either 'o' or 'v', nothing else!set modeD(mode) "v"bind pub - !modeD modeD:timebind time - "?2 * * * *" modeD:timebind time - "?4 * * * *" modeD:timebind time - "?6 * * * *" modeD:timebind time - "?8 * * * *" modeD:timebind time - "?0 * * * *" modeD:timebind raw - {353} modeD:raw353proc modeD:time {min hour day month year} {    global modeD    if {[validchan $modeD(channel)]} {        if {[regexp {D|d} [lindex [getchanmode $modeD(channel)] 0]]} {            putquick "NAMES -d $modeD(channel)" -next        }    }}proc modeD:raw353 {from raw arg} {    global modeD    set channel [lindex [split $arg] 1]    if {[set mode $modeD(mode)] == ""} {        set mode "v"    }    if {![string equal -nocase $channel $modeD(channel)]} { return }    set list ""    foreach user [lrange $arg 2 end] {        if {$user != "" &amp;&amp; (![onchan $user $channel] || (![isop $user $channel] &amp;&amp; ![isvoice $user $channel]))} {            lappend list "$user"        }        if {[llength $list] == "6"} {            putquick "MODE $channel +[string repeat "$mode" 6] [join $list " "]"            set list ""        }    }    if {[llength $list] &gt; "0"} {        putquick "MODE $channel +[string repeat "$mode" [llength $list]] [join $list " "]"        set list ""    }}putlog "Anti-mode +D loaded"</code></pre></div>don't put -D.<br>don't give +v to users in /names -d #chan.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Sat Nov 24, 2007 12:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2007-11-24T12:09:27-04:00</updated>

		<published>2007-11-24T12:09:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78665#p78665</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78665#p78665"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78665#p78665"><![CDATA[
you correct it badly...<br><br>You must correct the first line:<div class="codebox"><p>Code: </p><pre><code>set modeD(mode) "v"</code></pre></div>and use modeD everywhere: look at the global variable:<div class="codebox"><p>Code: </p><pre><code>proc modeD:raw353 {from raw arg} {    global modeD</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sat Nov 24, 2007 12:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-24T09:13:33-04:00</updated>

		<published>2007-11-24T09:13:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78664#p78664</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78664#p78664"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78664#p78664"><![CDATA[
get error.<br><div class="codebox"><p>Code: </p><pre><code>&lt;Nor7on`&gt; .set errorInfo&lt;)Modo&gt; Currently: can't read "modD(mode)": no such variable&lt;)Modo&gt; Currently:     while executing&lt;)Modo&gt; Currently: "set mode $modD(mode)"&lt;)Modo&gt; Currently:     (procedure "modeD:raw353" line 4)&lt;)Modo&gt; Currently:     invoked from within&lt;)Modo&gt; Currently: "modeD:raw353 $_raw1 $_raw2 $_raw3"</code></pre></div><br>This the code.<br><div class="codebox"><p>Code: </p><pre><code>set modeD(channel) "#Madrid"# set the mode to either 'o' or 'v', nothing else!set modD(mode) "v"bind pub - !modeD modeD:timebind time - "?2 * * * *" modeD:timebind time - "?4 * * * *" modeD:timebind time - "?6 * * * *" modeD:timebind time - "?8 * * * *" modeD:timebind time - "?0 * * * *" modeD:timebind raw - {353} modeD:raw353proc modeD:time {min hour day month year} {    global modeD    if {[validchan $modeD(channel)]} {        if {[regexp {D|d} [lindex [getchanmode $modeD(channel)] 0]]} {            putquick "NAMES -d $modeD(channel)" -next        }    }}proc modeD:raw353 {from raw arg} {    global modeD    set channel [lindex [split $arg] 1]    if {[set mode $modD(mode)] == ""} {        set mode "v"    }    if {![string equal -nocase $channel $modeD(channel)]} { return }    set list ""    foreach user [lrange $arg 2 end] {        if {$user != "" &amp;&amp; (![onchan $user $channel] || (![isop $user $channel] &amp;&amp; ![isvoice $user $channel]))} {            lappend list "$user"        }        if {[llength $list] == "6"} {            putquick "MODE $channel +[string repeat "$mode" 6] [join $list " "]"            set list ""        }    }    if {[llength $list] &gt; "0"} {        putquick "MODE $channel +[string repeat "$mode" [llength $list]] [join $list " "]"        set list ""    }}putlog "Anti-mode +D loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Sat Nov 24, 2007 9:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2007-11-24T06:44:24-04:00</updated>

		<published>2007-11-24T06:44:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78656#p78656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78656#p78656"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78656#p78656"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set modD(mode) "v"...if {[set mode $modeD(mode)] == ""} {</code></pre></div>You forget a "e"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sat Nov 24, 2007 6:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-24T03:36:13-04:00</updated>

		<published>2007-11-24T03:36:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78653#p78653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78653#p78653"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78653#p78653"><![CDATA[
no found.<br><br>get this error.<br><div class="codebox"><p>Code: </p><pre><code>&lt;Nor7on`&gt; .set errorInfo&lt;)Modo&gt; Currently: can't read "modeD(mode)": no such element in array&lt;)Modo&gt; Currently:     while executing&lt;)Modo&gt; Currently: "set mode $modeD(mode)"&lt;)Modo&gt; Currently:     (procedure "modeD:raw353" line 4)&lt;)Modo&gt; Currently:     invoked from within&lt;)Modo&gt; Currently: "modeD:raw353 $_raw1 $_raw2 $_raw3"</code></pre></div>have egg. 1.6.18.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Sat Nov 24, 2007 3:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-09-09T10:34:32-04:00</updated>

		<published>2007-09-09T10:34:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75810#p75810</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75810#p75810"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75810#p75810"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set modeD(channel) "#mychannel"# set the mode to either 'o' or 'v', nothing else!set modD(mode) "v"bind time - "?2 * * * *" modeD:timebind time - "?4 * * * *" modeD:timebind time - "?6 * * * *" modeD:timebind time - "?8 * * * *" modeD:timebind time - "?0 * * * *" modeD:timebind raw - {353} modeD:raw353proc modeD:time {min hour day month year} {    global modeD    if {[validchan $modeD(channel)]} {        if {[regexp {D|d} [lindex [getchanmode $modeD(channel)] 0]]} {            putquick "NAMES -d $modeD(channel)" -next        }    }}proc modeD:raw353 {from raw arg} {    global modeD    set channel [lindex [split $arg] 1]    if {[set mode $modeD(mode)] == ""} {        set mode "v"    }    if {![string equal -nocase $channel $modeD(channel)]} { return }    set list ""    foreach user [lrange $arg 2 end] {        if {$user != "" &amp;&amp; (![onchan $user $channel] || (![isop $user $channel] &amp;&amp; ![isvoice $user $channel]))} {            lappend list "$user"        }        if {[llength $list] == "6"} {            putquick "MODE $channel +[string repeat "$mode" 6] [join $list " "]"            set list ""        }    }    if {[llength $list] &gt; "0"} {        putquick "MODE $channel +[string repeat "$mode" [llength $list]] [join $list " "]"        set list ""    }}</code></pre></div>Give that a try<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Sep 09, 2007 10:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-09T02:45:55-04:00</updated>

		<published>2007-09-09T02:45:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75803#p75803</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75803#p75803"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75803#p75803"><![CDATA[
The logic behind this would be very simple.<br><blockquote class="uncited"><div>First you call a proc using "bind time" every minute. In that proc you will use putserv for "/names -d $chan".<br><br>Secondly you will bind to the raw keyword for the "/names -d" output. You have to check that from raw numerics of undernet's IRCd (I'm not aware with undernet, since I only use DALnet).<br><br>Then you bind raw to that raw numeric and process the information retrieved in $raw, if you find any nicknames in $arg say, convert the string to list. Do a foreach loop on the list and then pushmode +v $chan $nick on that channel and flushmode $chan in the end.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Sep 09, 2007 2:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-09-08T19:13:02-04:00</updated>

		<published>2007-09-08T19:13:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75795#p75795</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75795#p75795"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75795#p75795"><![CDATA[
<blockquote class="uncited"><div>Thanks dude, I am actually not a scripter so i am not able to understand installation or how to configure this script, please anyone explain or modify this script according to my needs i shall be very thankful!</div></blockquote>this script needs very little if any modification at all.  Simply load it into your <em class="text-italics">~/eggdrop/scripts</em> folder, open up your conf file, and put in a trigger for the script at the bottom of your conf file, i.e. <em class="text-italics">source scripts/moded.tcl</em>.  Then all you need do is <strong class="text-strong">.rehash</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sat Sep 08, 2007 7:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[samhain]]></name></author>
		<updated>2007-09-08T16:22:23-04:00</updated>

		<published>2007-09-08T16:22:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75793#p75793</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75793#p75793"/>
		<title type="html"><![CDATA[Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75793#p75793"><![CDATA[
Thanks dude, I am actually not a scripter so i am not able to understand installation or how to configure this script, please anyone explain or modify this script according to my needs i shall be very thankful!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8567">samhain</a> — Sat Sep 08, 2007 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-09-04T13:54:55-04:00</updated>

		<published>2007-09-04T13:54:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75698#p75698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75698#p75698"/>
		<title type="html"><![CDATA[Re: Autovoice in the presence of +D mode through X]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75698#p75698"><![CDATA[
I did a google search for scripts like this, i did some digging and found this one <a href="http://cybex.b0rk.de/files/tcl/myown/special/berlin/moded.tcl.txt" class="postlink">http://cybex.b0rk.de/files/tcl/myown/sp ... ed.tcl.txt</a> Hope its usefull.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Tue Sep 04, 2007 1:54 pm</p><hr />
]]></content>
	</entry>
	</feed>
