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

	<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-03-05T03:23:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-03-05T03:23:46-04:00</updated>

		<published>2011-03-05T03:23:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96308#p96308</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96308#p96308"/>
		<title type="html"><![CDATA[Hi, help me fix this advert script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96308#p96308"><![CDATA[
umm, no, I don't think you are. He has a script made by someone else and he needs a few adjustments, thus moved it here rather than Scripting Help.<br><br>Anyway, if you consider a topic should be moved to another category you should contact a <a href="http://forum.egghelp.org/groupcp.php?g=5424" class="postlink">moderator</a> about it or go directly to slennox if it's really necessarily.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Mar 05, 2011 3:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2011-03-05T02:52:30-04:00</updated>

		<published>2011-03-05T02:52:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96306#p96306</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96306#p96306"/>
		<title type="html"><![CDATA[Hi, help me fix this advert script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96306#p96306"><![CDATA[
uhm, pardon me but, this topic must be moved in the "Scripting Help" category: <a href="http://forum.egghelp.org/viewforum.php?f=2" class="postlink">http://forum.egghelp.org/viewforum.php?f=2</a><br><br>am I right?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_exclaim.gif" width="15" height="15" alt=":!:" title="Exclamation">   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Sat Mar 05, 2011 2:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Amr]]></name></author>
		<updated>2011-03-04T07:36:10-04:00</updated>

		<published>2011-03-04T07:36:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96292#p96292</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96292#p96292"/>
		<title type="html"><![CDATA[Hi, help me fix this advert script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96292#p96292"><![CDATA[
What about making the script to color the advertisements automatically.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9309">Amr</a> — Fri Mar 04, 2011 7:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-12-28T12:30:45-04:00</updated>

		<published>2008-12-28T12:30:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86558#p86558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86558#p86558"/>
		<title type="html"><![CDATA[Hi, help me fix this advert script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86558#p86558"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set adtext [list "\00300,01Puslapis:\002\00304 http://grigai.lt\002" \     "\00300,01Forumas:\002\00304 http://forum.grigai.lt\002" \     "\00300,01Banu Sarasas:\002\00304 http://bans.grigai.lt\002" \     "\00300,01Statistika:\002\00304 http://stats.grigai.lt\002"]</code></pre></div>The script uses embedded control characters and doesn't quite qualify as a perfect tcl list. The above code does qualify as a perfect tcl list, and also uses escape sequences to generate chars rather than embedding them. Use it in place of the original set adtext.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Dec 28, 2008 12:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2008-12-28T06:42:57-04:00</updated>

		<published>2008-12-28T06:42:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86551#p86551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86551#p86551"/>
		<title type="html"><![CDATA[Hi, help me fix this advert script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86551#p86551"><![CDATA[
Hi, I use this script and i encounter an error at partyline which the bot doesn't advertise on the channel:<br><blockquote class="uncited"><div>&lt;Bot&gt; [18:37] Tcl error in script for 'timer576':<br>&lt;Bot&gt; [18:37] list element in quotes followed by "I" instead of space<br>&lt;Owner&gt; .set errorInfo<br>&lt;Bot&gt; [18:37] #Owner# set errorInfo<br>&lt;Bot&gt; Currently: list element in quotes followed by "I" instead of space<br>&lt;Bot&gt; Currently:     while executing<br>&lt;Bot&gt; Currently: "llength $adtext"<br>&lt;Bot&gt; Currently:     (procedure "printing" line 3)<br>&lt;Bot&gt; Currently:     invoked from within<br>&lt;Bot&gt; Currently: "printing"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Sun Dec 28, 2008 6:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-06T11:22:47-04:00</updated>

		<published>2007-12-06T11:22:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79052#p79052</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79052#p79052"/>
		<title type="html"><![CDATA[Hi, help me fix this advert script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79052#p79052"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>############################################### # iNgADvert.tcl by iNgLiSh                    # # -adapted from newaidle.tcl by Felipe Tonioli# # BE SURE TO EDIT WITH PICO or other linux    # # editor, or else it will all get messed up!  # # ie. in shell commandline: pico ingadvert.tcl# # and then ctrl+x to save and close.          # # Enjoy!!!          -iNgLiSh                  # ############################################### # How often should it spit out ad:(in minutes ie. set ad-at 5 # would make it advertise every 5 min) : set ad-at- 10 set vers "v o.1" # Chan to advertise in: set chan1 "#grigai" ###########Edit add ads inside "\002 HERE \002"############  set adtext {      "0,1 Puslapis:4 http://grigai.lt "      "0,1 Forumas:4 http://forum.grigai.lt "      "0,1 Banu Sarasas:4 http://bans.grigai.lt "      "0,1 Statistika:4 http://stats.grigai.lt "       } #######DO NOT EDIT BELOW THESE LINES#######    set notnick "$botnick"    set notnick [string tolower ${nick}]    if {![info exists {ald}]} {      global notnick chan1 ad-at- adtext      set ald 1      timer ${ad-at-} printing    }    proc printing {} {      global notnick chan1 ad-at- adtext      set printochan [lindex $adtext [rand [llength $adtext]]]       putserv "PRIVMSG $chan1 : $printochan"      timer ${ad-at-} printing    } </code></pre></div><span style="color:red">EDITED: Use it, it should do the trick.</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Thu Dec 06, 2007 11:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AciD]]></name></author>
		<updated>2007-12-05T12:41:25-04:00</updated>

		<published>2007-12-05T12:41:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79028#p79028</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79028#p79028"/>
		<title type="html"><![CDATA[Hi, help me fix this advert script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79028#p79028"><![CDATA[
Hi, i have a script found in somebodys post in the egghelp forum. The code is:<div class="codebox"><p>Code: </p><pre><code>################################################ iNgADvert.tcl by iNgLiSh                    ## -adapted from newaidle.tcl by Felipe Tonioli## BE SURE TO EDIT WITH PICO or other linux    ## editor, or else it will all get messed up!  ## ie. in shell commandline: pico ingadvert.tcl## and then ctrl+x to save and close.          ## Enjoy!!!          -iNgLiSh                  ################################################# How often should it spit out ad:(in minutes ie. set ad-at 5 # would make it advertise every 5 min) :set ad-at- 10set vers "v o.1"# Chan to advertise in:set chan "#grigai"###########Edit add ads inside "\002 HERE \002"############ set adtext {     "0,1 Puslapis:4 http://grigai.lt "     "0,1 Forumas:4 http://forum.grigai.lt "     "0,1 Banu Sarasas:4 http://bans.grigai.lt "     "0,1 Statistika:4 http://stats.grigai.lt "      }#######DO NOT EDIT BELOW THESE LINES#######set notnick "$botnick" set notnick [string tolower ${nick}]if {![info exists {ald}]} {  global notnick chan ad-at- adtext  set ald 1  timer ${ad-at-} printing}proc printing {} {  global notnick chan ad-at- adtext  set printochan [lindex $adtext [rand [llength $adtext]]]      putserv "PRIVMSG $chan : $printochan"  timer ${ad-at-} printing}</code></pre></div>But wtf? i get the random message in 10 min, but in the wrong channel. I need the channel to be #grigai, but i get ir #kz or #mercenaries... Help fix this pls  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9504">AciD</a> — Wed Dec 05, 2007 12:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
