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

	<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-01-13T17:21:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2004-01-13T17:21:51-04:00</updated>

		<published>2004-01-13T17:21:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32494#p32494</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32494#p32494"/>
		<title type="html"><![CDATA[$bnick command against !op :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32494#p32494"><![CDATA[
<blockquote class="uncited"><div>Example:<div class="codebox"><p>Code: </p><pre><code>bind pub o ${nick} my:pubproc my:pub {nick uhost hand chan text} {  switch -- [strlwr [lindex $text 0]] {    "op"  { #your op stuff here }    default { # default stuff goes here }  }}</code></pre></div></div></blockquote>sorry about my lame but i think i couldnt fix something <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><br>i have changed the code like dat:<div class="codebox"><p>Code: </p><pre><code>bind pub o ${nick} my:pubproc my:pub {nick uhost hand chan text} {  switch -- [strlwr [1index $text 0]] { "op" {puthelp "NOTICE $nick :[censored] mypub works" }}}</code></pre></div>but when i add any other proc or bind it doesnt respond it. like:<br>under "op" {puthelp .....} <br>i have added <div class="codebox"><p>Code: </p><pre><code> "voice" {puthelp "NOTICE $nick :[censored] it works again" } </code></pre></div> <br><br>so after dat i try to make another bind with same way but it doesnt respond to my commands.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> i think its my fault but couldnt find where am i wrong. Thanx for advices...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Tue Jan 13, 2004 5:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-01-13T15:10:19-04:00</updated>

		<published>2004-01-13T15:10:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32492#p32492</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32492#p32492"/>
		<title type="html"><![CDATA[$bnick command against !op :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32492#p32492"><![CDATA[
Example:<div class="codebox"><p>Code: </p><pre><code>bind pub o ${nick} my:pubproc my:pub {nick uhost hand chan text} {  switch -- [strlwr [lindex $text 0]] {    "op"  { #your op stuff here }    default { # default stuff goes here }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jan 13, 2004 3:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2004-01-13T14:32:20-04:00</updated>

		<published>2004-01-13T14:32:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32490#p32490</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32490#p32490"/>
		<title type="html"><![CDATA[$bnick command against !op :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32490#p32490"><![CDATA[
<blockquote class="uncited"><div>how can we make these changes if we can't see the code ?</div></blockquote> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">  you are right<br><div class="codebox"><p>Code: </p><pre><code>set dop(chanchar) "*"bind pub -|- [string trim $dop(chanchar)]op dop:copbind pub -|- [string trim $dop(chanchar)]chaninfo dop:cchaninfobla bla..proc dop:cop {nick host hand chan arg} {global dopif {$dop(chancom) != 1} {return 0}if {$hand == "*"} {return 0}dop:op $nick $host $hand "$chan $arg"}</code></pre></div>I hope dat will be enough, i dun wanna flood here... Tx for your attention...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Tue Jan 13, 2004 2:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2004-01-10T18:18:35-04:00</updated>

		<published>2004-01-10T18:18:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32414#p32414</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32414#p32414"/>
		<title type="html"><![CDATA[$bnick command against !op :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32414#p32414"><![CDATA[
how can we make these changes if we can't see the code ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jan 10, 2004 6:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2004-01-10T14:52:56-04:00</updated>

		<published>2004-01-10T14:52:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32411#p32411</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32411#p32411"/>
		<title type="html"><![CDATA[$bnick command against !op :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32411#p32411"><![CDATA[
<blockquote class="uncited"><div>remove that tcl, and use a tcl which performs commands when you type <strong class="text-strong">botnick command</strong>.</div></blockquote>haha yea sure  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  i have to use that script but with the changes  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> do i want much ?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_evil.gif" width="15" height="15" alt=":evil:" title="Evil or Very Mad">  <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 <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Sat Jan 10, 2004 2:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2004-01-10T14:44:06-04:00</updated>

		<published>2004-01-10T14:44:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32409#p32409</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32409#p32409"/>
		<title type="html"><![CDATA[$bnick command against !op :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32409#p32409"><![CDATA[
remove that tcl, and use a tcl which performs commands when you type <strong class="text-strong">botnick command</strong>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jan 10, 2004 2:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2004-01-10T13:46:22-04:00</updated>

		<published>2004-01-10T13:46:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32406#p32406</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32406#p32406"/>
		<title type="html"><![CDATA[$bnick command against !op :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32406#p32406"><![CDATA[
hi i ve got X.tcl and bot respond to the !commands.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">  i want the bot the respond $bnick command against !command<br><br>here is the code:<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- [string trim $dop(chanchar)]op dop:cop..</code></pre></div>at stormbot.tcl there is <div class="codebox"><p>Code: </p><pre><code>bind pub - $nick do_callcommand.</code></pre></div>but if i ll use dat code i have change all the tcl :\ isnt there an easy way to handle dat?<br><br>Waiting for all responds.<br>10x<br><br>(sorry for bad english &amp; lame  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Sat Jan 10, 2004 1:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
