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

	<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>2005-05-10T22:09:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mg123]]></name></author>
		<updated>2005-05-10T22:09:58-04:00</updated>

		<published>2005-05-10T22:09:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49351#p49351</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49351#p49351"/>
		<title type="html"><![CDATA[timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49351#p49351"><![CDATA[
the variables arent changing no matter what i do<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6209">mg123</a> — Tue May 10, 2005 10:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-10T17:54:04-04:00</updated>

		<published>2005-05-10T17:54:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49339#p49339</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49339#p49339"/>
		<title type="html"><![CDATA[timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49339#p49339"><![CDATA[
Do you see any errors in partyline ? that's what you need to tell us, not just ask what's wrong.<br><br>Anyway, I noticed an error at first after quickly looking through the code.<div class="codebox"><p>Code: </p><pre><code>proc pub_time {nick uhost hand chan rest} {     set time {     $arg     }     putquick "NOTICE $nick :Set interval to $time minutes"     return 0    }</code></pre></div>there's no variable called arg in this proc, so I guess they mean $rest instead of $arg.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue May 10, 2005 5:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mg123]]></name></author>
		<updated>2005-05-10T15:27:32-04:00</updated>

		<published>2005-05-10T15:27:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49326#p49326</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49326#p49326"/>
		<title type="html"><![CDATA[timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49326#p49326"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>################################ ADV on Timer v.4  ###### Whats new on v0.4 ?  ############# -Added on multiple text message!## Whats new on v0.3 ?             ######################################## -Added on multiple channel advertisment########################################################################### Credits:## Mainly to Egghelp.Org helpers on behalf helping solving out errors    ## Errors/comments/suggestions do please email me: boojingyou@hotmail.com#             # Do visit my personnal webby @ http://singnet.per.sg                   ## For users who wanna chat with me, do loginto irc.GalaxyNet.Org        ## #JingYou . My Nickname would be JingYou.       --Have fun--           ################################################################################## COLORS / BOLD       ## To make a text bold do this: \002TEXT-BOLD\002       ## To make a text with colors do this: \00304TEXT-RED\003 (04 = red, e.g.)      ## To make a text with colors and bold do this: \002\00304TEXT-RED-BOLD\003\002 ## Alternative, hit ctrl+k in IRC and copy paste in to dialog box. (RECOMMENDED)###################################################################################### GENERAL SETTINGS ##### EDIT the channel names or REMOVE one or two depending on which channel you intend the bot the advertiseset channel "#oh.heck"# Edit the time cycle which is in minutes format depending on the time intervals you want the bot to flow out the advertismentset time 1# EDIT the text or REMOVE or ADD lines including inverted commas at the starting and ending at each line set text {"No message."}proc pub_time {nick uhost hand chan rest} {    set time {    $arg    }    putquick "NOTICE $nick :Set interval to $time minutes"    return 0   }bind pub o -mtime pub_timeproc pub_mmessage {nick uhost hand chan arg} {    set text "$arg"    putquick "NOTICE $nick :Set message to - $arg"    return 0   }bind pub o -mmessage pub_mmessageproc pub_mchannels {nick uhost hand chan rest} {set channel [lrange $rest 1 end]putquick "NOTICE $nick :Set channels to message to $channel"return 0}bind pub o -mchannels pub_mchannelsproc pub_rehash {nick uhost hand chan rest} {    rehash    putquick "notice $nick :Rehashing."    return 0   }bind pub o -rehash pub_rehashproc pub_debug {nick uhost hand chan rest} {putquick "MSG $chan :Text $text"putquick "MSG $chan :Time $time minutes"putquick "MSG $chan :Channels $channel"return 0}bind pub o  -debug pub_debugproc pub_die {nick uhost hand chan rest} {if {[llength $text] &gt; 1} {set reason [lrange $text 1 end]} else {    set reason "Die command recieved from $nick"}       die $reason    return 0   }bind pub m .die pub_diebind msg m die pub_die##### DO NOT EDIT ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING #####if {[info exists channel] == 1} {if {[info exists text] == 1} {if {[info exists time] == 1} {if {[string compare [string index $time 0] "!"] == 0} { set timer [string range $time 1 end] } { set timer [expr $time * 60] }if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }proc go {} {global channel time text timerforeach chan $channel {foreach line $text { putquick "PRIVMSG $chan :$line" }}if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }}}}}putlog "\002Loaded Auto-ADV script by JingYou @ Galaxynet #JingYou (v.4 13nov03)\002"</code></pre></div><br><br>what is wrong with this? its not working<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6209">mg123</a> — Tue May 10, 2005 3:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-10T03:07:16-04:00</updated>

		<published>2005-05-10T03:07:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49299#p49299</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49299#p49299"/>
		<title type="html"><![CDATA[timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49299#p49299"><![CDATA[
<blockquote class="uncited"><div>however you can use a var which can be dynimatically modified for the interval length.</div></blockquote>to repeat it: yes! (the command just needs to alter the var I was talking about)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Tue May 10, 2005 3:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mg123]]></name></author>
		<updated>2005-05-09T11:14:55-04:00</updated>

		<published>2005-05-09T11:14:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49260#p49260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49260#p49260"/>
		<title type="html"><![CDATA[timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49260#p49260"><![CDATA[
is it possible to make it so i can change the message via irc like a command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6209">mg123</a> — Mon May 09, 2005 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-09T03:31:13-04:00</updated>

		<published>2005-05-09T03:31:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49244#p49244</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49244#p49244"/>
		<title type="html"><![CDATA[timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49244#p49244"><![CDATA[
the only way you can change the interval is via the TCL code. however you can use a var which can be dynimatically modified for the interval length.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon May 09, 2005 3:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mg123]]></name></author>
		<updated>2005-05-08T17:46:34-04:00</updated>

		<published>2005-05-08T17:46:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49226#p49226</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49226#p49226"/>
		<title type="html"><![CDATA[timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49226#p49226"><![CDATA[
I want my bot to send a msg to the channel ever x minutes, and I need a way to change the message or the time intervals in irc rather than through the code.  is there a way to do this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6209">mg123</a> — Sun May 08, 2005 5:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
