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

	<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-03-29T15:16:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[sever]]></name></author>
		<updated>2004-03-29T15:16:40-04:00</updated>

		<published>2004-03-29T15:16:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35054#p35054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35054#p35054"/>
		<title type="html"><![CDATA[one command all x sek.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35054#p35054"><![CDATA[
<blockquote class="uncited"><div>set colist "#sever"<br>bind pub - !help proc_help<br>proc proc_help {nick host hand chan text} {<br>global pro<br>if {[string match *[string tolower $chan]* $::colist] &amp;&amp; [botisop $chan] &amp;&amp; ![string match *[string tolower $chan]* $::botnick]} {<br>if {![info exists ::pro]} { <br>putserv "PRIVMSG $chan :» \037\002h\002elp:\037 !rank !server  !bot  more coming soon"<br> } else { return 0 }<br>set ::pro "on"<br>timer 5 "<ul><li>"<br>}<br>}</li></ul></div></blockquote>that works, a friend has help me! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4755">sever</a> — Mon Mar 29, 2004 3:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sever]]></name></author>
		<updated>2004-03-29T14:13:07-04:00</updated>

		<published>2004-03-29T14:13:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35049#p35049</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35049#p35049"/>
		<title type="html"><![CDATA[one command all x sek.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35049#p35049"><![CDATA[
<blockquote class="uncited"><div>set colist "#sever"<br>bind pub - !help proc_help<br>proc proc_help {nick host hand chan text} {<br>global pro<br>if {[string equal -nocase $chan $::colist] &amp;&amp; [botisop $chan] &amp;&amp; ![string equal -nocase $nick $::botnick]} {<br>if {$pro == "on"} { return 0 }<br>putserv "PRIVMSG $chan :» \037\002h\002elp:\037 !rank ¬ !server ¬ !bot ¬ more coming soon"<br>set pro on<br>timer 10 "unset pro"<br> }<br>}<br></div></blockquote>doesnt work<br><br>Tcl error [proc_help]: can't read "pro": no such variable<br><br>i have .restart the eggdrop, but it doesnt work. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4755">sever</a> — Mon Mar 29, 2004 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-03-29T12:57:26-04:00</updated>

		<published>2004-03-29T12:57:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35041#p35041</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35041#p35041"/>
		<title type="html"><![CDATA[one command all x sek.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35041#p35041"><![CDATA[
<blockquote class="uncited"><div>if {[string match *[string tolower $chan]* $::colist] &amp;&amp; [botisop $chan] &amp;&amp; $nick!=$::botnick} { </div></blockquote>If you intend to use just on channel in the colist variable then use the folowing code:<div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase $chan $::colist] &amp;&amp; [botisop $chan] &amp;&amp; ![string equal -nocase $nick $::botnick]} {</code></pre></div>else replace the "equal" with "match" and put $chan in "*$chan*" Also.. will be a lot smater if you move the nick check thing outside and before this if like. There is no reason to use that chek at the end. Either place it first or ad another if before this one that will do an return or what you want. Same thing goes with the if the bot is op check. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Mar 29, 2004 12:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-29T06:06:38-04:00</updated>

		<published>2004-03-29T06:06:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35034#p35034</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35034#p35034"/>
		<title type="html"><![CDATA[one command all x sek.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35034#p35034"><![CDATA[
Yeah, forgot one '=' <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Mon Mar 29, 2004 6:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2004-03-29T05:53:42-04:00</updated>

		<published>2004-03-29T05:53:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35033#p35033</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35033#p35033"/>
		<title type="html"><![CDATA[one command all x sek.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35033#p35033"><![CDATA[
hum....<div class="codebox"><p>Code: </p><pre><code>if {$pro == "on"} { return 0 }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Mar 29, 2004 5:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-29T03:10:25-04:00</updated>

		<published>2004-03-29T03:10:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35029#p35029</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35029#p35029"/>
		<title type="html"><![CDATA[one command all x sek.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35029#p35029"><![CDATA[
Change the:<div class="codebox"><p>Code: </p><pre><code>if {pro = "on"} { return 0 }</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>if {$pro = "on"} { return 0 }</code></pre></div><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=4667">Xpert</a> — Mon Mar 29, 2004 3:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sever]]></name></author>
		<updated>2004-03-28T18:01:02-04:00</updated>

		<published>2004-03-28T18:01:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35020#p35020</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35020#p35020"/>
		<title type="html"><![CDATA[one command all x sek.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35020#p35020"><![CDATA[
<blockquote class="uncited"><div>set colist "#sever"<br>bind pub - !help proc_help<br>proc proc_help {nick host hand chan text} {<br>global pro<br>if {[string match *[string tolower $chan]* $::colist] &amp;&amp; [botisop $chan] &amp;&amp; $nick!=$::botnick} {<br>if {pro = "on"} { return 0 }<br>putserv "PRIVMSG $chan :» \037\002h\002elp:\037 !rank ¬ !server ¬ !bot ¬ more coming soon"<br>set pro on<br>timer 10 "unset pro"<br> }<br>}</div></blockquote>that doesnt work.<br><br>ich have read <a href="http://peterre.com/characters.html" class="postlink">http://peterre.com/characters.html</a> but i dont undestandt it! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>please help<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4755">sever</a> — Sun Mar 28, 2004 6:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
