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

	<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-08-02T10:33:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-02T10:33:51-04:00</updated>

		<published>2005-08-02T10:33:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53641#p53641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53641#p53641"/>
		<title type="html"><![CDATA[ad.tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53641#p53641"><![CDATA[
replace NOTICE with PRIVMSG.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Aug 02, 2005 10:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FuE-]]></name></author>
		<updated>2005-08-02T09:59:38-04:00</updated>

		<published>2005-08-02T09:59:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53640#p53640</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53640#p53640"/>
		<title type="html"><![CDATA[ad.tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53640#p53640"><![CDATA[
if i wanna display all links in ad.txt<br><br>ex !adlist in privmsg, how shall i do then =)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5711">FuE-</a> — Tue Aug 02, 2005 9:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-01T09:21:59-04:00</updated>

		<published>2005-08-01T09:21:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53597#p53597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53597#p53597"/>
		<title type="html"><![CDATA[ad.tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53597#p53597"><![CDATA[
Remove the <strong class="text-strong">\002\037</strong> tags from the messages and the bold and underline should be gone. As for the second thing, that's how this script works, live with it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Aug 01, 2005 9:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FuE-]]></name></author>
		<updated>2005-08-01T08:04:36-04:00</updated>

		<published>2005-08-01T08:04:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53595#p53595</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53595#p53595"/>
		<title type="html"><![CDATA[ad.tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53595#p53595"><![CDATA[
hey, i use tclscripts.com's ad.tcl script when the bot announce every 120 secs its like this<br><div class="codebox"><p>Code: </p><pre><code>(14:02:10) (@Dahlen) [b][u]Paket::1[/u][/b](14:02:12) (@Dahlen) bla bla bla</code></pre></div>And i just want the "Paket::1" shall be like plain text no bold or underline<br><br>and btw, i must do !ad &lt;name with no space&gt; &lt;desc&gt;<br><br>why cant i have just<br><div class="codebox"><p>Code: </p><pre><code>!ad You are the [censored] yes, you are</code></pre></div>please help me with the codes, tnx<br><div class="codebox"><p>Code: </p><pre><code>## ad.tcl v1.0 by strikelight  ([sL]@EfNet)## -----------------------------------------# web  : http://www.TCLScript.com# EFNet: #Scripting# -----------------------------------------# Description:## Small script used to advertise urls in a channel# such as shell companies at a defined time interval.## Default usage:## Add:# /msg &lt;bot&gt; !ad &lt;url&gt; &lt;description&gt;## Remove:# /msg &lt;bot&gt; !delad &lt;url&gt;##### ---  START EDITTING HERE --- ### time in seconds to display an ad to channels #set adtime 120# channels to advertise in #set adchans "#shellx"# flag of user required to add an advertisement via msg #set adflag m# message trigger used to add an advertisement ## (format /msg bot &lt;command&gt; &lt;url&gt; &lt;ad description&gt;)set admsgcmd "!ad"# message trigger used to delete an advertisement ## (format /msg bot &lt;command&gt; &lt;url&gt;)set deladmsgcmd "!delad"## ---  STOP EDITTING HERE --- ##set adidx 0proc loadads {} {  global adlist  set adlist ""  if {![file exists "ad.txt"]} {return 0}  set infile [open "ad.txt" r]  while {![eof $infile]} {    gets $infile dataline    if {$dataline != ""} {lappend adlist $dataline}  }  close $infile  return 1}proc saveads {} {  global adlist  set outfile [open "ad.txt" w]  foreach ad $adlist {if {$ad != ""} {puts $outfile "$ad"}}  close $outfile  return 1}proc addisplay {} {  global adchans adlist adidx adtime  utimer $adtime "addisplay"  if {$adlist == ""} {return 0}  foreach chan $adchans {    puthelp "PRIVMSG $chan :\002\037[split [lindex [lindex $adlist $adidx] 0]]\037\002"    puthelp "PRIVMSG $chan :[split [lrange [lindex $adlist $adidx] 1 end]]"  }  set adidx [expr $adidx + 1]  if {$adidx &gt;= [llength $adlist]} {set adidx 0}  return 1}proc utimerexists {timer_proc} {  foreach j [utimers] {if {[string compare [lindex $j 1] $timer_proc] == 0} {return [lindex $j 2]}}  return}bind msg $adflag $admsgcmd addadproc addad {unick user handle argz} {  global adlist botnick admsgcmd  set url [split [lindex $argz 0]]  set addesc [split [lrange $argz 1 end]]  if {($url == "") || ($addesc == "")} {    puthelp "NOTICE $unick :Invalid. Format: /msg $botnick $admsgcmd &lt;url&gt; &lt;ad description&gt;"    return 0  }  foreach turl $adlist {    set aurl [string tolower [lindex $turl 0]]    if {$aurl == [string tolower $url]} {      puthelp "NOTICE $unick :Error. Site is already added."      return 0    }  }  lappend adlist "$url $addesc"  saveads  puthelp "NOTICE $unick :Added: $url - $addesc"  return 1}bind msg $adflag $deladmsgcmd deladproc delad {unick user handle argz} {  global adlist botnick admsgcmd  set url [split [lindex $argz 0]]  if {$url == ""} {    puthelp "NOTICE $unick :Invalid. Format: /msg $botnick $deladmsgcmd &lt;url&gt;"    return 0  }  set newadlist ""  foreach turl $adlist {    set aurl [string tolower [lindex $turl 0]]    if {$aurl != [string tolower $url]} {     lappend newadlist $turl    }  }  set adlist $newadlist  saveads  puthelp "NOTICE $unick :Deleted: $url"  return 1}loadadsif {[utimerexists "addisplay"] == ""} {utimer $adtime "addisplay"}putlog "ad.tcl v1.0 by strikelight now loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5711">FuE-</a> — Mon Aug 01, 2005 8:04 am</p><hr />
]]></content>
	</entry>
	</feed>
