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

	<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>2002-09-13T05:56:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-13T05:56:11-04:00</updated>

		<published>2002-09-13T05:56:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10833#p10833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10833#p10833"/>
		<title type="html"><![CDATA[whats wrong with my code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10833#p10833"><![CDATA[
ahh ok thanks!<br><br>i got it now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by Guest — Fri Sep 13, 2002 5:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-13T05:43:01-04:00</updated>

		<published>2002-09-13T05:43:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10830#p10830</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10830#p10830"/>
		<title type="html"><![CDATA[whats wrong with my code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10830#p10830"><![CDATA[
Beyond the fact it clearly states that each one does (allthough, pubm refers you to msgm, which aint so hard to look for (look up)).<br><br>Pumb matches against a whole line, wuch that, it can pick out (EG) your nickname in a line of text.<br><br>pub is simply for trigger like commands, based on the first block of characters up to a space.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Sep 13, 2002 5:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-13T05:34:03-04:00</updated>

		<published>2002-09-13T05:34:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10829#p10829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10829#p10829"/>
		<title type="html"><![CDATA[whats wrong with my code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10829#p10829"><![CDATA[
mmh, ok thanks.<br><br>but i can't see the difference, sorry, can you please explain it to me?<p>Statistics: Posted by Guest — Fri Sep 13, 2002 5:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-12T16:51:09-04:00</updated>

		<published>2002-09-12T16:51:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10822#p10822</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10822#p10822"/>
		<title type="html"><![CDATA[whats wrong with my code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10822#p10822"><![CDATA[
Can't really tell you more than i allready did about organizing your code. It would become writting it for you then.<br>As for pub and pubm, read doc/tcl-commands.doc for info on it. Use search string "bind pub".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Thu Sep 12, 2002 4:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-12T13:30:32-04:00</updated>

		<published>2002-09-12T13:30:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10815#p10815</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10815#p10815"/>
		<title type="html"><![CDATA[whats wrong with my code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10815#p10815"><![CDATA[
yep thx! how to organize this code better?<br><br>or code it better?<br><br>what would you suggest?<br><br>oh and what's the differenc between pub and pubm?<p>Statistics: Posted by Guest — Thu Sep 12, 2002 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-12T12:42:59-04:00</updated>

		<published>2002-09-12T12:42:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10812#p10812</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10812#p10812"/>
		<title type="html"><![CDATA[whats wrong with my code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10812#p10812"><![CDATA[
Well, several things. First, the way you are processing your msg, you would need to bind pub, not pubm. Secondly, there is no TCL command notice, it is rather:<br><br>putserv "NOTICE $nick :Sorry... blah"<br><br>Code is generally lousy, but will probably work if you change those two things.<br><br>p.s. <br>You may want to consider changing flags field in bind command, cause as you have it now, everyone can op themselves. Change it to something like n|n or at least o|o. Also, unless you make a mechanisam that will listen only to users who logged in, anyone who matches certain hostmask will be able to use the command. Public commands are very dangerous and imho lame. I cannot think of a reason why any comand should be public. A priv msg to bot or even better partyline commands are the adequate solution.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Thu Sep 12, 2002 12:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-12T11:50:45-04:00</updated>

		<published>2002-09-12T11:50:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10808#p10808</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10808#p10808"/>
		<title type="html"><![CDATA[whats wrong with my code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10808#p10808"><![CDATA[
hi there!<br><br>can you tell me, why the code doesn't work?<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - .op pubm:do_opproc pubm:do_op {nick uhost hand chan text} {  if {![botisop $chan]} {    notice $nick "\002 I don't have op in $chan \002"    return 0  }  if {[string tolower $text] == "me"} {    pushmode $chan +o $nick    return 0  }  if {[string tolower $text] == [string tolower $nick]} {    pushmode $chan +o $nick    return 0  }  }</code></pre></div>thx for your help!!<p>Statistics: Posted by Guest — Thu Sep 12, 2002 11:50 am</p><hr />
]]></content>
	</entry>
	</feed>
