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

	<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>2003-08-27T12:14:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-08-27T12:14:57-04:00</updated>

		<published>2003-08-27T12:14:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25755#p25755</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25755#p25755"/>
		<title type="html"><![CDATA[have a problem .. .qup  .up ect..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25755#p25755"><![CDATA[
as said, replace isown with ison<br><div class="codebox"><p>Code: </p><pre><code>if {[botisop $channel] == 1 || [botison $channel] == 1} { </code></pre></div>i dont get it...you can only pull a pub trigger if you are also on the chan, and the bot can only "notice" this trigger if he is on the chan too...<br><br>the proc continues if the bot has OP or is on the chan...you could remove the "ison" and just do it with "isop $channel"+<br>right now if the bot is on the channel but not opped it doesn't notrify the user<br><div class="codebox"><p>Code: </p><pre><code>## public cmd topic -- start proc pub_topic {nick uhost hand channel rest} { global X botnick   if {[matchattr $hand Q] == 0} {    puthelp "NOTICE $nick :$X This command requires you to authenticate yourself. Please /msg $botnick auth &lt;password&gt;"    return 0   }   if {$rest!=""} {     if {[botisop $channel]} {       putserv "TOPIC $channel :$rest"       putlog "$X &lt;&lt;$nick&gt;&gt; !$hand! topic $rest"     }     if {![botisop $channel]} {       puthelp "NOTICE $nick :$X I am not opped" }     }  }  if {$rest==""} {     puthelp "NOTICE $nick :$X Usage: topic &lt;topic&gt;"   }}   ## public cmd topic -- stop</code></pre></div>should work now<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Wed Aug 27, 2003 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-08-27T10:29:38-04:00</updated>

		<published>2003-08-27T10:29:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25751#p25751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25751#p25751"/>
		<title type="html"><![CDATA[Re: have a problem .. .qup  .up ect..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25751#p25751"><![CDATA[
<blockquote class="uncited"><div>when me type .qup or .topic get me this in pline : <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"> <br><br>Tcl error [pub_topic]: invalid command name "botisown"<br><br>Tcl error [pub_qup]: invalid command name "botisown"<br><br>what me can do on it ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_evil.gif" width="15" height="15" alt=":evil:" title="Evil or Very Mad"></div></blockquote><br>.....<br> here some code of my xtools1.2<br><br>## public cmd topic -- start<br>proc pub_topic {nick uhost hand channel rest} {<br> global X botnick<br> if {[matchattr $hand Q] == 0} {<br>  puthelp "NOTICE $nick :$X This command requires you to authenticate yourself. Please /msg $botnick auth &lt;password&gt;"<br>  return 0<br> }<br> if {$rest!=""} {<br>  if {[botisop $channel] == 1 || [botisown $channel] == 1} {<br>   putserv "TOPIC $channel :$rest"<br>   putlog "$X &lt;&lt;$nick&gt;&gt; !$hand! topic $rest"<br>  }<br> if {![botisown $channel] &amp;&amp; ![botisop $channel]} {<br>  puthelp "NOTICE $nick :$X I am not opped" }<br> }<br> if {$rest==""} {<br>  puthelp "NOTICE $nick :$X Usage: topic &lt;topic&gt;"<br> }<br>}<br>## public cmd topic -- stop<p>Statistics: Posted by Guest — Wed Aug 27, 2003 10:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-08-27T07:08:03-04:00</updated>

		<published>2003-08-27T07:08:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25740#p25740</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25740#p25740"/>
		<title type="html"><![CDATA[have a problem .. .qup  .up ect..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25740#p25740"><![CDATA[
change "botiso<strong class="text-strong">w</strong>n" to "botison" in the TCL...<br><br>btw : without the script posted it's hard to help you...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Wed Aug 27, 2003 7:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-08-27T05:28:57-04:00</updated>

		<published>2003-08-27T05:28:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25737#p25737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25737#p25737"/>
		<title type="html"><![CDATA[have a problem .. .qup  .up ect..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25737#p25737"><![CDATA[
when me type .qup or .topic get me this in pline : <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"> <br><br>Tcl error [pub_topic]: invalid command name "botisown"<br><br>Tcl error [pub_qup]: invalid command name "botisown"<br><br>what me can do on it ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_evil.gif" width="15" height="15" alt=":evil:" title="Evil or Very Mad"><p>Statistics: Posted by Guest — Wed Aug 27, 2003 5:28 am</p><hr />
]]></content>
	</entry>
	</feed>
