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

	<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>2004-06-16T17:37:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-16T17:37:09-04:00</updated>

		<published>2004-06-16T17:37:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37478#p37478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37478#p37478"/>
		<title type="html"><![CDATA[Advertisting tcl script problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37478#p37478"><![CDATA[
Your missing the end quotation " on the last ad<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Wed Jun 16, 2004 5:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-16T16:34:16-04:00</updated>

		<published>2004-06-16T16:34:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37475#p37475</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37475#p37475"/>
		<title type="html"><![CDATA[Advertisting tcl script problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37475#p37475"><![CDATA[
set adchannel "#EuropeanWarez" <br>set adtime 3 <br><br>set adtext {<br> {<br>  "4...::: 11[ ShellTec.Com ] 4:::..."<br>  "Quality Shells , BNC's, Shoutcast Servers , Web Hosting and more ! Visit 4#NetCola in EFNET or 4http://<a href="http://www.shelltec.com" class="postlink">www.shelltec.com</a> 15% Off Limited time only - Use Coupon Code: 198582 !"<br> }<br> {<br>  "13,0Need help of any kind ? /\ Join &gt;&gt;&gt; #EuropeanChat &lt;&lt;&lt; Join /\"<br> }<br> {<br>  "0,2--==-- [ I-B-I-C-O ] --==--"<br>  "Stabilitate garantata pe 4 servere din europa si sua . psyBNC-uri incepand de la 125.000 lei / lunar , Shelluri IRC incepand de la 200.000 lei / lunar , Shelluri pentru HUB-uri de dc++ incepand de la 500.000 lei / lunar , Shelluri pentru servere de radio incepand de la 400.000 lei / lunar , Servere de jocuri incepand de la 500.000 lei / lunar -=- 0,2Http://<a href="http://WwW.Ibico.Ro" class="postlink">WwW.Ibico.Ro</a>"<br> }<br> {<br>  "15,12Do you want to power up your hosting company ? Do you want more clients on your company ? How can you do this ? Is simple ... advertisting with us ! If you want your text here join #EuropeanChat and talk with an operator or mail us at <a href="mailto:EuropeanWarez@zanah.org">EuropeanWarez@zanah.org</a>"<br> }<br> {<br>  "4...::: 11http://<a href="http://www.Unixrules.NET" class="postlink">www.Unixrules.NET</a> 4:::..."<br>  "Stable , Fast , and Reliable Shells for only $45/3 months OR $100/year which includes 4 bg for bots,screens,bncs! Our VHOSTS consists of domains from .ca, .am, .ly, .mu, .ph, .ru, .uk, .nz, .il, .de, .ch and much much more ! Check out 4http://<a href="http://www.unixrules.net" class="postlink">www.unixrules.net</a> for details or 4#Unixrules on EFNet !!! We accept VISA , MASTERCARD , American Express ,Check,Money Order ,Western Union,and Paypal!!!"<br> }<br> {<br>  "12,0Public Commands Are : !list (for a list of servers) , xdcc list (for a list with available packets) , @find what_you_want (find a file that you want on mIRC servers) , !weather city country (find out weather on your city - eg: !weather munchen de ) , !seen nick (Find out last seen of the specified nickname) , !google &lt;text&gt; (eg !google mirc) and ... !rulez.<br> }<br>} <br><br>if {![string match "*go*" [timers]]} { timer $adtime go } <br><br>proc go {} { <br> global adchannel adtime adtext <br>  set text [lindex $adtext [rand [llength $adtext]]] <br>  foreach line $text { <br>    putserv "PRIVMSG $adchannel :$line" <br>  } <br> if {![string match "*go*" [timers]]} { timer $adtime go } <br>}<br><br><br><br>Please tell me where is the problem .... it started to work but it send unixrules.net text , "15,12Do you want to power up your hosting company text , and IBICO text ... then it stops .... <br><br>This script sends random advertisments ? I don`t want that the messages to be sent random ....<p>Statistics: Posted by Guest — Wed Jun 16, 2004 4:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-16T10:42:06-04:00</updated>

		<published>2004-06-16T10:42:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37457#p37457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37457#p37457"/>
		<title type="html"><![CDATA[Advertisting tcl script problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37457#p37457"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set adchannel "#mychannel"set adtime 3set adtext { {  "Example"  "Message #1" } {  "Example"  "Message #2" }}if {![string match "*go*" [timers]]} { timer $adtime go }proc go {} { global adchannel adtime adtext  set text [lindex $adtext [rand [llength $adtext]]]  foreach line $text {    putserv "PRIVMSG $adchannel :$line"  } if {![string match "*go*" [timers]]} { timer $adtime go }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Wed Jun 16, 2004 10:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-16T06:08:05-04:00</updated>

		<published>2004-06-16T06:08:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37442#p37442</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37442#p37442"/>
		<title type="html"><![CDATA[Advertisting tcl script problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37442#p37442"><![CDATA[
I want the script to send 2 lines on each 3 minutes ... something like this :<br><br>set text {<br>"Hello"<br>"All"<br>}<br><br>set text {<br>"join"<br>"#eggdrop"<br>}<br><br>Do you understand ?<br><br>on your directive ...<br><br>set text { <br> { "msg #1" } <br> { "msg #2" } <br>}<br><br>i don`t understand how to do this ....<br><br><br><br>Thanks for helping<p>Statistics: Posted by Guest — Wed Jun 16, 2004 6:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-15T21:04:52-04:00</updated>

		<published>2004-06-15T21:04:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37431#p37431</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37431#p37431"/>
		<title type="html"><![CDATA[Re: Advertisting tcl script problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37431#p37431"><![CDATA[
try something like this:<br><div class="codebox"><p>Code: </p><pre><code>set text { { "msg #1" } { "msg #2" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Tue Jun 15, 2004 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-15T20:08:07-04:00</updated>

		<published>2004-06-15T20:08:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37429#p37429</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37429#p37429"/>
		<title type="html"><![CDATA[Advertisting tcl script problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37429#p37429"><![CDATA[
Hello ! I use lastest version of eggdrop . I found in tcl arhive a nice script ... but i don`t know how to modify it .... the problem is that the tcl script is not configured for more texts in a channel . Just one text in channel . I paste here the entire tcl script ... Please help me !!! I`ve try to modify it 3 hours &gt;&gt;&gt; No success ! PLEASE !!!<br><br><br>############################<br>#### ADV on Timer v.4  #####<br># Whats new on v0.4 ?  ############<br># -Added on multiple text message!#<br># Whats new on v0.3 ?             #######################################<br># -Added on multiple channel advertisment#<br>#########################################################################<br># Credits:#<br># Mainly to Egghelp.Org helpers on behalf helping solving out errors    #<br># Errors/comments/suggestions do please email me: <a href="mailto:boojingyou@hotmail.com">boojingyou@hotmail.com</a>#             <br># Do visit my personnal webby @ <a href="http://singnet.per.sg" class="postlink">http://singnet.per.sg</a>                   #<br># For users who wanna chat with me, do loginto irc.GalaxyNet.Org        #<br># #JingYou . My Nickname would be JingYou.       --Have fun--           #<br>################################################################################<br># COLORS / BOLD       #<br># To make a text bold do this: \002TEXT-BOLD\002       #<br># To make a text with colors do this: \00304TEXT-RED\003 (04 = red, e.g.)      #<br># To make a text with colors and bold do this: \002\00304TEXT-RED-BOLD\003\002 #<br># Alternative, hit ctrl+k in IRC and copy paste in to dialog box. (RECOMMENDED)#<br>################################################################################<br><br>##### GENERAL SETTINGS ####<br># EDIT the channel names or REMOVE one or two depending on which channel you intend the bot the advertise<br>set channel "#mychannel"<br><br># Edit the time cycle which is in minutes format depending on the time intervals you want the bot to flow out the advertisment<br>set time 3<br><br># EDIT the text or REMOVE or ADD lines including inverted commas at the starting and ending at each line <br><br>set text {<br>"My text ... advertised ... so ... its OK"<br>}<br><br>set text {<br>"another text that i`ve try to advertise ... The first text passed ... the 2nd line of text advertised I mean ... only this line advertised ... first line My text not advertised"<br>}<br><br>##### DO NOT EDIT ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING #####<br><br>if {[string compare [string index $time 0] "!"] == 0} { set timer [string range $time 1 end] } { set timer [expr $time * 60] }<br>if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }<br><br>proc go {} {<br>global channel time text timer<br>foreach chan $channel {<br>foreach line $text { putserv "PRIVMSG $chan :$line" }<br>}<br>if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }<br>}<br><br><br><br>putlog "\002Loaded Auto-ADV script by JingYou @ Galaxynet #JingYou (v.4 13nov03)\002"<br><br><br>----------------------<br><br><br><br>I`ve try to add "set text" &gt;&gt; "set text2" No success .... How can I resolve this ? Please help me !!!!<br><br><br>THANKS !!!<p>Statistics: Posted by Guest — Tue Jun 15, 2004 8:08 pm</p><hr />
]]></content>
	</entry>
	</feed>
