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

	<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>2011-07-10T14:08:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2011-07-10T14:08:15-04:00</updated>

		<published>2011-07-10T14:08:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97185#p97185</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97185#p97185"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97185#p97185"><![CDATA[
Thanks sir didn't notice the date of this post have a nice day  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Sun Jul 10, 2011 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2011-07-10T12:01:58-04:00</updated>

		<published>2011-07-10T12:01:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97184#p97184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97184#p97184"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97184#p97184"><![CDATA[
Sydneybabe,<br>You are posting in a thread that has not had any activity for the last two years, and your posted piece of code is not related to any of the posted solutions to the OP request. There is also little to none information on the actual script you are using. Don't hi-jack random threads.<br><br>If you'd like to ask support for a script, use the "Script Support &amp; Release" forum; if there is a specific thread for your script, post there - otherwize start a new thread with a proper topic.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Jul 10, 2011 12:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2011-07-09T23:02:27-04:00</updated>

		<published>2011-07-09T23:02:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97182#p97182</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97182#p97182"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97182#p97182"><![CDATA[
I wonder no reply on my request? Or just ignoring it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Sat Jul 09, 2011 11:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2011-07-07T02:21:36-04:00</updated>

		<published>2011-07-07T02:21:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97165#p97165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97165#p97165"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97165#p97165"><![CDATA[
Good day sir arfer I'm encountering a problem similar to this stuff:<br><blockquote class="uncited"><div><span style="color:green"># AntiSpamBot basic settings<br># You can edit all these settings as you wish<br># example: set antispam(nick) AntiSpamBot<br>set antispam(nick) $altnick<br>set antispam(altnick) ${altnick}1<br># ADD HERE<br>set antispam(nicks) {<br>nick1<br>nick2<br>nick3<br>}<br>...<br>putlog "\002AP\002: AntiSpamBot: Cycling $c..."<br>putdcc $antispam(idx) "part $c"<br># ADD:<br>putdcc $antispam(idx) "nick [lindex $antispam(nicks) [rand [llength $antispam(nicks)]]"<br># REPLACE: putdcc $antispam(idx) "join $c" WITH:<br>timer 5 [list putdcc $antispam(idx) "join $c"]</span> </div></blockquote>The bot part/change nick only once and just idle. I don't know what is the problem I hope u can help me thanks a lot in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Thu Jul 07, 2011 2:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2009-08-20T13:37:36-04:00</updated>

		<published>2009-08-20T13:37:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89993#p89993</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89993#p89993"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89993#p89993"><![CDATA[
Yes, you are right, when it parts after setting the channel to +inactive the bind is not triggered (weird). But the RAW bind seems to do the job perfectly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Aug 20, 2009 1:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-20T12:55:05-04:00</updated>

		<published>2009-08-20T12:55:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89992#p89992</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89992#p89992"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89992#p89992"><![CDATA[
In the partyline of my bot osmosis<br><br>[17:47] &lt;arfer&gt; .tcl bind PART - * pUserPart<br>[17:48] &lt;arfer&gt; .tcl proc pUserPart {nick uhost hand chan msg} {putlog "$nick parted $chan"}<br>[17:50] &lt;arfer&gt; .tcl channel set #eggtcl +inactive<br><br>In the channel<br>[17:50] * @osmosis has left #EggTCL<br><br>No further partyline message to indicate that the PART bind triggered, but if I part #eggtcl<br><br>[17:53] &lt;osmosis&gt; [17:53] arfer parted #EggTCL<br><br>Only thing I can think of is that the channel being set +inactive in order to make the bot part, is preventing the bind triggering<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Thu Aug 20, 2009 12:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2009-08-20T12:10:24-04:00</updated>

		<published>2009-08-20T12:10:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89991#p89991</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89991#p89991"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89991#p89991"><![CDATA[
I just tested it on my bot and seems to be working correctly, it does trigger on the bot's part. Recheck your code, maybe you added some flags in the bind or some if-checks in the procedure that caused the odd behavior? I tested it on Eggdrop1.6.19 (in case we're using different versions). Otherwise you'll have to use the RAW bind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Aug 20, 2009 12:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-20T11:06:31-04:00</updated>

		<published>2009-08-20T11:06:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89990#p89990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89990#p89990"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89990#p89990"><![CDATA[
Yes thanks I could use a raw. This is getting ridiculous though, I can't seem to get a trigger from a PART bind for the botnick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Thu Aug 20, 2009 11:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2009-08-20T10:27:50-04:00</updated>

		<published>2009-08-20T10:27:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89988#p89988</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89988#p89988"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89988#p89988"><![CDATA[
bind part responds to the bot parting, or so it does for myself, either way you could always bind to raw part to overcome the issue<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Thu Aug 20, 2009 10:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-20T07:47:13-04:00</updated>

		<published>2009-08-20T07:47:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89987#p89987</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89987#p89987"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89987#p89987"><![CDATA[
OK, problem solved I think.<br><br>The bot was trying to change to a nick that was banned on one of its other channels. This would have the same effect as trying to change to a nick that was already in use. ie. not possible.<br><br>The -nickserv- message has nothing to do with this script.<br><br>I would appreciate some feedback on the PART bind issue. It seems like it does not respond to the botnick parting which is somewhat inconvenient since I think Sir_fz's suggestion otherwise has merit. I'm not a big fan of timers/utimers.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Thu Aug 20, 2009 7:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2009-08-20T05:39:16-04:00</updated>

		<published>2009-08-20T05:39:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89986#p89986</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89986#p89986"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89986#p89986"><![CDATA[
hello Thanks for Replay<br>yah i am not Pointing something about what nickserv says <br><br>its not Working as i said...<br>It do join part but only one time when i restart and he complete the set time i did in is 3 minute.  and yah it dose not do join/part after that.. just one time it happens i checked on simple Eggdrop1.6.19 and there is no more TCL added in...<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Thu Aug 20, 2009 5:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-20T05:07:01-04:00</updated>

		<published>2009-08-20T05:07:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89985#p89985</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89985#p89985"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89985#p89985"><![CDATA[
Sir_Fz, I tried to bind on the bot's part but it didn't work. I'm assuming that a PART bind doesn't trigger for the botnick (even though a JOIN bind does trigger for the botnick). I'm interested in a second opinion here. Is this correct?<br><br>Thanhas, there would be no reason to get that message from nickserv unless the bot was attempting to identify (or doing a \ns INFO &lt;botnick&gt;) when it changed nick. Check what other scripts you have loaded. I have tested this script quite extensively and found it to work continuously as expected for sequential nick changes and random nick changes with no such nickserv message.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Thu Aug 20, 2009 5:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2009-08-20T03:35:39-04:00</updated>

		<published>2009-08-20T03:35:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89984#p89984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89984#p89984"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89984#p89984"><![CDATA[
@arfer, in my opinion it's better practice to issue the nick-change after the bot parts the channel and then rejoin after the bot changes its nick instead of using timers (bind on bot's part and nick-change instead).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Aug 20, 2009 3:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2009-08-20T03:18:54-04:00</updated>

		<published>2009-08-20T03:18:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89983#p89983</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89983#p89983"/>
		<title type="html"><![CDATA[Thank yu]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89983#p89983"><![CDATA[
Thank you so much i apprecaite this <br>it really works just a few bugs need to be fixed i hope you can do it here are the logs <br><br><strong class="text-strong">Partyline </strong><blockquote class="uncited"><div>[00:06] &lt;(ChitChat&gt; [07:07] * IRC NICK CHANGE: ChitChat -&gt; Cam-Girl1<br>[00:07] &lt;(ChitChat&gt; [07:07] ChitChat joined #chataway.<br>[00:07] &lt;(ChitChat&gt; [07:07] Regained nickname 'Cam-Girl1'.<br>[00:07] &lt;(ChitChat&gt; [07:07] -NickServ (<a href="mailto:service@dal.net">service@dal.net</a>)- The nickname Cam-Girl1 is not registered.</div></blockquote><strong class="text-strong">Channel</strong><blockquote class="uncited"><div>[00:07] * ChitChat (chitchat@204.188.211.21) has left #chataway<br>[00:07] * ChitChat (chitchat@204.188.211.21) has joined #chataway<br>[00:07] * ChitChat is now known as Cam-Girl1<br>[00:13] &lt;stelppA&gt; .</div></blockquote>the bot did part but join and changed nick, in the channel and 2nd after the bot joined did not chnage nick again,... it was happen only one time...<br><br>thanks alot.. please fix that if you have time..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Thu Aug 20, 2009 3:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-19T18:15:09-04:00</updated>

		<published>2009-08-19T18:15:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89980#p89980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89980#p89980"/>
		<title type="html"><![CDATA[Join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89980#p89980"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># nick.tcl# parts a preconfigured channel at a specified frequency for a specified length of time# chooses a new nick from a preconfigured list on each occasion it parts# this script MUST be activated with a restart (not a rehash)# the bot will come online with its normal primary nick as set in the .conf file# the first nick change occurs after the first scheduled part# set here the single channel name the bot partsset vNickChannel #eggtcl# set here the list of nicks the bot will use# nicks should be unregistered and not already in useset vNickList {    testbot12345    testbot23456    testbot34567    testbot45678    testbot56789}# set here how the bot selects the next nick from the list# sequentially (1) or randomly (2)set vNickMode 2# set here the frequency in minutes for parting the channelset vNickFrequency 3# set here the length of time in seconds the bot parts for# suggested minimum is 10 seconds, allowing bot to change nick before rejoiningset vNickAbsent 30bind EVNT - init-server pNickStartproc pNickStart {type} {    global vNickFrequency    if {[string is integer -strict $vNickFrequency]} {        if {$vNickFrequency &gt; 0} {            pNickSchedule        }    }    return 0}proc pNickSchedule {} {    global vNickFrequency    foreach schedule [binds TIME] {        if {[string equal pNickPart [join [lindex $schedule 4]]]} {            set minute [join [lindex [lindex $schedule 2] 0]]            set hour [join [lindex [lindex $schedule 2] 1]]            unbind TIME - "$minute $hour * * *" pNickPart        }    }    set minute [strftime %M [expr {[unixtime] + ($vNickFrequency * 60)}]]    set hour [strftime %H [expr {[unixtime] + ($vNickFrequency * 60)}]]    bind TIME - "$minute $hour * * *" pNickPart    return 0}proc pNickPart {minute hour day month year} {    global vNickAbsent vNickChannel    if {[regexp -- {^#} $vNickChannel]} {        if {![channel get $vNickChannel inactive]} {            if {[validchan $vNickChannel]} {                if {[botonchan $vNickChannel]} {                    channel set $vNickChannel +inactive                    utimer $vNickAbsent pNickJoin                    utimer 3 pNickChange                }            }        }    }    pNickSchedule    return 0}proc pNickChange {} {    global nick vNickChannel vNickList vNickMode    switch -- [llength $vNickList] {        0 {}        1 {            if {![string equal -nocase $nick [join $vNickList]]} {set nick [join $vNickList]}        }        default {            set oldidx [lsearch -exact $vNickList $nick]            switch -- $oldidx {                -1 {                    switch -- $vNickMode {                        1 {set newidx 0}                        2 {set newidx [rand [llength $vNickList]]}                        default {}                    }                }                default {                    switch -- $vNickMode {                        1 {                            set newidx [incr oldidx]                            if {$newidx == [llength $vNickList]} {set newidx 0}                        }                        2 {                            set newlist [lreplace $vNickList $oldidx $oldidx]                            set newnick [lindex $newlist [rand [llength $newlist]]]                            set newidx [lsearch -exact $vNickList $newnick]                        }                        default {}                    }                }            }            if {[info exists newidx]} {                set nick [lindex $vNickList $newidx]            }        }    }    return 0}proc pNickJoin {} {    global vNickChannel    channel set $vNickChannel -inactive    return 0}# eof</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Wed Aug 19, 2009 6:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
