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

	<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>2012-09-01T17:30:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Arkadietz]]></name></author>
		<updated>2012-09-01T17:30:15-04:00</updated>

		<published>2012-09-01T17:30:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99969#p99969</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99969#p99969"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99969#p99969"><![CDATA[
Spike, thank you for the great work! I really appreciate it!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7974">Arkadietz</a> — Sat Sep 01, 2012 5:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2012-09-01T17:25:36-04:00</updated>

		<published>2012-09-01T17:25:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99968#p99968</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99968#p99968"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99968#p99968"><![CDATA[
On a rehash, the existing timer will run out at the old timer settings, as it was already set &amp; running.<br><br>Any new timers starting after the rehash will follow the new current settings, as the bot has no memory of the old settings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sat Sep 01, 2012 5:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arkadietz]]></name></author>
		<updated>2012-09-01T17:17:20-04:00</updated>

		<published>2012-09-01T17:17:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99967#p99967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99967#p99967"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99967#p99967"><![CDATA[
okay, one more thing.<br><br>after .restart bot still using the old settings, you need to use .restart to update new settings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7974">Arkadietz</a> — Sat Sep 01, 2012 5:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2012-09-01T16:28:41-04:00</updated>

		<published>2012-09-01T16:28:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99965#p99965</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99965#p99965"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99965#p99965"><![CDATA[
So, you would like more accuracy.  Let's adjust the code to this.<br><div class="codebox"><p>Code: </p><pre><code># set a list of nicks to use  (set to {} to disable this script) #set tnks(nicks) {nick1nick2anothernicketc} ;# end of set nicks ## how long the bot stays in channel/s  (in minutes) #set tnks(inchan) "2"# how long the bot stays out of channel/s  (in seconds) before joining again ( change nick before join ) #set tnks(gone) "60"## end of settings ##set tnks(tmls) [split [string trim $tnks(nicks)] "\n"]set tnks(nicks) ""foreach tnks(tmit) $tnks(tmls) {  set tnks(tmit) [string trim $tnks(tmit)]  if {$tnks(tmit) ne ""} {  lappend tnks(nicks) $tnks(tmit)  }}unset tnks(tmls) tnks(tmit)if {$tnks(nicks) eq ""} {  return  }if {![info exists tnks(next)]} {  set tnks(next) 0  }if {![info exists tnks(timer)]} {  set tnks(timer) [timer $tnks(inchan) [list tnks:part]]}set tnks(inchan) [expr {($tnks(inchan)*60)-1}]incr tnks(gone) -5if {$tnks(gone)&lt;"1"} {  set tnks(gone) 1  }set tnks(realnk) $nickproc tnks:part {} {  global tnks if {$tnks(nicks) eq ""} {  return  } set pchans "" foreach ch [channels] {  if {[botonchan $ch]} {  lappend pchans $ch    channel set $ch +inactive  ;  savechannels    putserv "PART $ch :Leaving:)"  } } set tnks(timer) [utimer $tnks(gone) [list tnks:chgnick $pchans]]}proc tnks:chgnick {chans} {  global tnks nick altnick if {$tnks(nicks) eq ""} {  return  } set nick [lindex $tnks(nicks) $tnks(next)] if {$tnks(realnk) ne ""} { set altnick $tnks(realnk) ; set tnks(realnk) "" } putserv "NICK $nick" incr tnks(next) if {$tnks(next)&gt;=[llength $tnks(nicks)]} {  set tnks(next) 0  } set tnks(timer) [utimer 4 [list tnks:chknick $chans]]}proc tnks:chknick {chans} {  global tnks nick botnick if {$tnks(nicks) eq ""} {  return  } if {$botnick ne $nick} {  tnks:chgnick $chans } else {  tnks:join $chans  }}proc tnks:join {chans} {  global tnks if {$tnks(nicks) eq ""} {  return  } foreach ch $chans {  channel set $ch -inactive  ;  savechannels  putserv "JOIN $ch" } set tnks(timer) [utimer $tnks(inchan) [list tnks:part]]}putlog "Nick-o-rama v1.1 Loaded."  </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sat Sep 01, 2012 4:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arkadietz]]></name></author>
		<updated>2012-09-01T14:58:25-04:00</updated>

		<published>2012-09-01T14:58:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99964#p99964</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99964#p99964"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99964#p99964"><![CDATA[
Possible problems:<br>1. Major reason for delaying is inactive. With part/join will be better.<br>2. After .rehash seems not working properly have to use .restart<br>3. Problems with rotating of nicks<br><br>A little cut how working actually tcl<br><br>[21:42:40] * CIA (~ident@10.1.1.1) has joined #housemusic<br>[21:44:04] * CIA (~ident@10.1.1.1) has left #housemusic<br>[21:45:05] * Nenasitnata (~ident@10.1.1.1) has joined #housemusic<br>[21:47:04] * Nenasitnata (~ident@10.1.1.1) has left #housemusic<br>[21:48:10] * Briunetkata (~ident@10.1.1.1) has joined #housemusic<br>[21:50:03] * Briunetkata (~ident@10.1.1.1) has left #housemusic<br>[21:51:09] * Neobvurzana (~ident@10.1.1.1) has joined #housemusic<br>[21:53:03] * Neobvurzana (~ident@10.1.1.1) has left #housemusic<br>[21:54:08] * tejat_mi_cicite (~ident@10.1.1.1) has joined #housemusic<br>[21:56:04] * tejat_mi_cicite (~ident@10.1.1.1) has left #housemusic<br>[21:57:09] * ofermeno_dupe (~ident@10.1.1.1) has joined #housemusic<br><br>TCL settings:<br><br># how long the bot stays in channel/s  (in minutes) #<br>set tnks(inchan) "2"<br><br># how long the bot stays out of channel/s  (in seconds) before joining again ( change nick before join ) #<br>set tnks(gone) "60"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7974">Arkadietz</a> — Sat Sep 01, 2012 2:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2012-08-28T23:43:27-04:00</updated>

		<published>2012-08-28T23:43:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99950#p99950</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99950#p99950"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99950#p99950"><![CDATA[
See if this helps.<br><div class="codebox"><p>Code: </p><pre><code># set a list of nicks to use  (set to {} to disable this script) # set tnks(nicks) { nick1 nick2 anothernick etc } ;# end of set nicks # # how long the bot stays in channel/s  (in minutes) # set tnks(inchan) "5" # how long the bot stays out of channel/s  (in seconds) before joining again ( change nick before join ) # set tnks(gone) "15" ## end of settings ## set tnks(tmls) [split [string trim $tnks(nicks)] "\n"] set tnks(nicks) "" foreach tnks(tmit) $tnks(tmls) {   set tnks(tmit) [string trim $tnks(tmit)]   if {$tnks(tmit) ne ""} {  lappend tnks(nicks) $tnks(tmit)  } } unset tnks(tmls) tnks(tmit) if {$tnks(nicks) eq ""} {  return  } set tnks(next) 0 if {![info exists tnks(timer)]} {   set tnks(timer) [timer $tnks(inchan) [list tnks:part]] } proc tnks:join {chans} {  global tnks nick altnick  if {$tnks(nicks) eq ""} {  return  }  set nick [lindex $tnks(nicks) $tnks(next)]  incr tnks(next)  if {$tnks(next)==[llength $tnks(nicks)]} {  set tnks(next) 0  }  set altnick [lindex $tnks(nicks) $tnks(next)]  set tnks(timer) [utimer 4 [list tnks:dojoin $chans]] } proc tnks:dojoin {chans} {  global tnks  if {$tnks(nicks) eq ""} {  return  }  foreach ch $chans {  channel set $ch -inactive  ;  savechannels  putserv "JOIN $ch" } set tnks(timer) [timer $tnks(inchan) [list tnks:part]] } proc tnks:part {} {  global tnks nick botnick  if {$tnks(nicks) eq ""} {  return  }  if {$botnick ne $nick} {  incr tnks(next)  }  if {$tnks(next)==[llength $tnks(nicks)]} {  set tnks(next) 0  }  set pchans ""  foreach ch [channels] {   if {[botonchan $ch]} {  lappend pchans $ch    channel set $ch +inactive  ;  savechannels    putserv "PART $ch :Leaving:)"  }  }  set tnks(timer) [utimer $tnks(gone) [list tnks:join $pchans]] } putlog "Nick-o-rama v1.1 Loaded."   </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Tue Aug 28, 2012 11:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arkadietz]]></name></author>
		<updated>2012-08-28T22:23:38-04:00</updated>

		<published>2012-08-28T22:23:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99949#p99949</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99949#p99949"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99949#p99949"><![CDATA[
[03:15:31] * nick (~ident@192.168.1.1) has joined #chan<br>[03:15:33] * nick is now known as CIA<br>[03:27:05] * CIA (~nick@192.168.1.1) has left #chan<br>[03:27:33] * nick2 (~nick@192.168.1.1) has joined #chan<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7974">Arkadietz</a> — Tue Aug 28, 2012 10:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2012-08-28T19:50:37-04:00</updated>

		<published>2012-08-28T19:50:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99947#p99947</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99947#p99947"/>
		<title type="html"><![CDATA[Next!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99947#p99947"><![CDATA[
Maybe do the nicks something like this...<br><div class="codebox"><p>Code: </p><pre><code># set a list of nicks to use  (set to {} to disable this script) # set tnks(nicks) {nick1nick2anothernicketc} ;# end of set nicks ## how long the bot stays in channel/s  (in minutes) #set tnks(inchan) "5"# how long the bot stays out of channel/s  (in seconds) before joining again ( change nick before join ) # set tnks(gone) "15"## end of settings ## set tnks(tmls) [split [string trim $tnks(nicks)] "\n"]set tnks(nicks) ""foreach tnks(tmit) $tnks(tmls) {  set tnks(tmit) [string trim $tnks(tmit)]  if {$tnks(tmit) ne ""} {  lappend tnks(nicks) $tnks(tmit)  }}unset tnks(tmls) tnks(tmit)if {$tnks(nicks) eq ""} {  return  } set tnks(next) 0 if {![info exists tnks(timer)]} {   set tnks(timer) [timer $tnks(inchan) [list tnks:part]] } proc tnks:join {chans} {  global tnks nick altnick  if {$tnks(nicks) eq ""} {  return  }  set nick [lindex $tnks(nicks) $tnks(next)]  incr tnks(next)  if {$tnks(next)==[llength $tnks(nicks)]} {  set tnks(next) 0  }  set altnick [lindex $tnks(nicks) $tnks(next)]  foreach ch $chans {  channel set $ch -inactive  }  set tnks(timer) [timer $tnks(inchan) [list tnks:part]] } proc tnks:part {} {  global tnks nick botnick  if {$tnks(nicks) eq ""} {  return  }  if {$botnick ne $nick} {  incr tnks(next)  }  if {$tnks(next)==[llength $tnks(nicks)]} {  set tnks(next) 0  }  set pchans ""  foreach ch [channels] {   if {[botonchan $ch]} {  lappend pchans $ch  ;  channel set $ch +inactive  }  }  set tnks(timer) [utimer $tnks(gone) [list tnks:join $pchans]] } putlog "Nick-o-rama v1.1 Loaded."  </code></pre></div>And the timers are very sharp.  Maybe it's the bot or network that isn't.<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=7749">SpiKe^^</a> — Tue Aug 28, 2012 7:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arkadietz]]></name></author>
		<updated>2012-08-28T12:21:35-04:00</updated>

		<published>2012-08-28T12:21:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99945#p99945</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99945#p99945"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99945#p99945"><![CDATA[
okay, can you fix it where i can describe the nicks in a list from a type:<br><br>set tnks(nicks) {<br>           {nick}<br>           {nick1}<br>           {nick2}<br>}<br><br>also the timer is not sharp.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7974">Arkadietz</a> — Tue Aug 28, 2012 12:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2012-08-27T08:09:42-04:00</updated>

		<published>2012-08-27T08:09:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99942#p99942</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99942#p99942"/>
		<title type="html"><![CDATA[oops.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99942#p99942"><![CDATA[
sounds like a missing global:)<br><div class="codebox"><p>Code: </p><pre><code>set tnks(nicks) {}   ;# a list of nicks to use  (set to {} to disable this script) # set tnks(inchan) "5"   ;# how long the bot stays in channel/s  (in minutes) # set tnks(gone) "15"   ;# how long the bot stays out of channel/s  (in seconds) #                       ;# before joining again ( change nick before join ) # ## end settings ## if {$tnks(nicks) eq ""} {  return  } set tnks(nicks) [split $tnks(nicks)] set tnks(next) 0 if {![info exists tnks(timer)]} {   set tnks(timer) [timer $tnks(inchan) [list tnks:part]] } proc tnks:join {chans} {  global tnks nick altnick  if {$tnks(nicks) eq ""} {  return  }  set nick [lindex $tnks(nicks) $tnks(next)]  incr tnks(next)  if {$tnks(next)==[llength $tnks(nicks)]} {  set tnks(next) 0  }  set altnick [lindex $tnks(nicks) $tnks(next)]  foreach ch $chans {  channel set $ch -inactive  }  set tnks(timer) [timer $tnks(inchan) [list tnks:part]] } proc tnks:part {} {  global tnks nick botnick  if {$tnks(nicks) eq ""} {  return  }  if {$botnick ne $nick} {  incr tnks(next)  }  if {$tnks(next)==[llength $tnks(nicks)]} {  set tnks(next) 0  }  set pchans ""  foreach ch [channels] {   if {[botonchan $ch]} {  lappend pchans $ch  ;  channel set $ch +inactive  }  }  set tnks(timer) [utimer $tnks(gone) [list tnks:join $pchans]] }     </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Mon Aug 27, 2012 8:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arkadietz]]></name></author>
		<updated>2012-08-27T07:06:47-04:00</updated>

		<published>2012-08-27T07:06:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99941#p99941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99941#p99941"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99941#p99941"><![CDATA[
There is an error on 31 row. how it should be filled aliases?<br><br><a href="http://paste.tclhelp.net/?id=bkn" class="postlink">http://paste.tclhelp.net/?id=bkn</a><br><br>Line 31: ERROR: Unknown variable "nick"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7974">Arkadietz</a> — Mon Aug 27, 2012 7:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2012-08-24T19:32:02-04:00</updated>

		<published>2012-08-24T19:32:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99937#p99937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99937#p99937"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99937#p99937"><![CDATA[
Maybe something like this...<div class="codebox"><p>Code: </p><pre><code>set tnks(nicks) {}   ;# a list of nicks to use  (set to {} to disable this script) #set tnks(inchan) "5"   ;# how long the bot stays in channel/s  (in minutes) #set tnks(gone) "15"   ;# how long the bot stays out of channel/s  (in seconds) #                      ;# before joining again ( change nick before join ) ### end settings ##if {$tnks(nicks) eq ""} {  return  }set tnks(nicks) [split $tnks(nicks)]set tnks(next) 0if {![info exists tnks(timer)]} {  set tnks(timer) [timer $tnks(inchan) [list tnks:part]]}proc tnks:join {chans} {  global tnks nick altnick if {$tnks(nicks) eq ""} {  return  } set nick [lindex $tnks(nicks) $tnks(next)] incr tnks(next) if {$tnks(next)==[llength $tnks(nicks)]} {  set tnks(next) 0  } set altnick [lindex $tnks(nicks) $tnks(next)] foreach ch $chans {  channel set $ch -inactive  } set tnks(timer) [timer $tnks(inchan) [list tnks:part]]}proc tnks:part {} {  global tnks botnick if {$tnks(nicks) eq ""} {  return  } if {$botnick ne $nick} {  incr tnks(next)  } if {$tnks(next)==[llength $tnks(nicks)]} {  set tnks(next) 0  } set pchans "" foreach ch [channels] {  if {[botonchan $ch]} {  lappend pchans $ch  ;  channel set $ch +inactive  } } set tnks(timer) [utimer $tnks(gone) [list tnks:join $pchans]]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Fri Aug 24, 2012 7:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arkadietz]]></name></author>
		<updated>2012-08-13T07:00:36-04:00</updated>

		<published>2012-08-13T07:00:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99864#p99864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99864#p99864"/>
		<title type="html"><![CDATA[Autonick changer + some futures]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99864#p99864"><![CDATA[
To has a list where i can put my nicks<br>To has a timer ( can be set ) how long the bot stay in channel/s<br>To has a timer ( can be set ) how long the bot stay out of channel/s before join again ( change nick before join )<br><br>Example: <br><br>[12:00:00] * nick (<a href="mailto:ident@somehost.com">ident@somehost.com</a>) has joined #chan<br>[12:45:00] * nick (<a href="mailto:ident@somehost.com">ident@somehost.com</a>) has left #chan<br>[13:00:00] * nick2 (<a href="mailto:ident@somehost.com">ident@somehost.com</a>) has joined #chan<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7974">Arkadietz</a> — Mon Aug 13, 2012 7:00 am</p><hr />
]]></content>
	</entry>
	</feed>
