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

	<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>2006-01-02T19:00:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-01-02T19:00:35-04:00</updated>

		<published>2006-01-02T19:00:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58967#p58967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58967#p58967"/>
		<title type="html"><![CDATA[I have write a litlle url script but need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58967#p58967"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $chan :\001ACTION blah blah\001"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Jan 02, 2006 7:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zest]]></name></author>
		<updated>2006-01-02T15:51:30-04:00</updated>

		<published>2006-01-02T15:51:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58963#p58963</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58963#p58963"/>
		<title type="html"><![CDATA[I have write a litlle url script but need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58963#p58963"><![CDATA[
i found the error.<br>"\001ACTION:<br>right is:<br>"\001ACTION<br><br>No its not convertet from mirc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6602">Zest</a> — Mon Jan 02, 2006 3:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-01-02T15:43:19-04:00</updated>

		<published>2006-01-02T15:43:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58962#p58962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58962#p58962"/>
		<title type="html"><![CDATA[I have write a litlle url script but need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58962#p58962"><![CDATA[
LOL, what a script. Has it been converted from an mIRC script or something like that? I mean, would it be more clear, if you used only 1 proc, used a normal string match or lsearch for chan checking, and seltected the output line via a switch construct? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>btw... what does mean it doesnt work? any TCL errors? maybe you made a typo or something like that.<br>*puts up a sign: "geht nicht" ist keine Fehlerbeschreibung*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon Jan 02, 2006 3:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zest]]></name></author>
		<updated>2006-01-01T07:44:20-04:00</updated>

		<published>2006-01-01T07:44:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58916#p58916</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58916#p58916"/>
		<title type="html"><![CDATA[I have write a litlle url script but need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58916#p58916"><![CDATA[
Hello<br>first, sorry for bad englisch.<br><br>I have a Problem with my little script.<br><div class="codebox"><p>Code: </p><pre><code>proc achan {cchan} {set activechans "#chan1 und #chan2"if {[string length $activechans] &gt; 0} {if {[string first [string tolower $cchan] $activechans] &lt; 0} {    return no_achan  } }}proc putnot {nick msg} { putserv "NOTICE $nick :$msg" }proc putchan {chan msg} { putserv "PRIVMSG $chan :$msg" }proc pub_!urls {nick uhost hand chan rest} {  if {([achan $chan] != "no_achan")} {  global botnick  set cmd [string tolower [lindex $rest 0]]  if {$cmd == ""} {    putchan $chan "\001ACTION hat Folgende URLs im Detail. Abrufen mit: !blabla1, !blabla2, !blabla3, !blabla4 \001" ;return 0} }}bind pub - !urls pub_!urlsproc pub_!blabla1 {nick uhost hand chan rest} {if {([achan $chan] != "no_achan")} {  global botnick  set cmd [string tolower [lindex $rest 0]]  if {$cmd == ""} {    putchan $chan "\001ACTION Folgende details zu blabla1 verfügbar: Webseite http://*****.de den Chat dazu im Aplett im Forum ganz unten.\001" ;return 0} }}bind pub - !blabla1 pub_!blabla1proc pub_!blabla2 {nick uhost hand chan rest} {if {([achan $chan] != "no_achan")} {  global botnick  set cmd [string tolower [lindex $rest 0]]  if {$cmd == ""} {    putchan $chan "\001ACTION: Folgende details zu blabla2 verfügbar: Webseite: http://www.*****.de den Chat findet ihr im **** unter #**** .\001" ;return 0} }}bind pub - !blabla2 pub_!blabla2proc pub_!blabla3 {nick uhost hand chan rest} {if {([achan $chan] != "no_achan")} {  global botnick  set cmd [string tolower [lindex $rest 0]]  if {$cmd == ""} {    putchan $chan "\001ACTION Folgende details zu blabla3 verfügbar: Webseite: http://www.****.ch den Chat dazu findet ihr im **** unter #**** oder für Gäste im Aplett in der Navigation.\001" ;return 0} }}bind pub - !blabla3 pub_!blabla3proc pub_!blabla4 {nick uhost hand chan rest} {  if {([achan $chan] != "no_achan")} {  global botnick  set cmd [string tolower [lindex $rest 0]]  if {$cmd == ""} {    putchan $chan "\001ACTION Folgende details zu blabla4 verfügbar: Webseite: http://www.****.de den Chat dazu findet ihr im **** unter #***** .\001" ;return 0} }}bind pub - !blabla4 pub_!blabla4###putlog "URL Service von Zest" </code></pre></div>Now the Problem is:<br>The Bot don't accept more than 3 Url's.<br>Normal, with these script is possible to write more tan 50 Url's.<br>Ex:<br>blabla3 don't work but the rest when i write in chan !blabla1 or !blabla4, works perfect. The sort of !blabla is not a problem.<br><br>hope you can help.<br><br>Greet<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6602">Zest</a> — Sun Jan 01, 2006 7:44 am</p><hr />
]]></content>
	</entry>
	</feed>
