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

	<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>2009-11-28T20:08:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Riddler]]></name></author>
		<updated>2008-03-03T13:45:15-04:00</updated>

		<published>2008-03-03T13:45:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81396#p81396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81396#p81396"/>
		<title type="html"><![CDATA[[SOLVED] Some support on a issue]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81396#p81396"><![CDATA[
Hello<br><br>@user: thanks for the ideas, I`ll see what I can do... the second part of your reply, with multiple binds sounds ok but I`ll see.. if there will be problems I`ll just put a reply here. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>@metroid: I'm always auth with the network service, in this case...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br><br>P.S.: Thank you bouth for your advices  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9010">Riddler</a> — Mon Mar 03, 2008 1:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2008-03-03T13:01:13-04:00</updated>

		<published>2008-03-03T13:01:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81394#p81394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81394#p81394"/>
		<title type="html"><![CDATA[[SOLVED] Some support on a issue]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81394#p81394"><![CDATA[
I'd also like to advise you against using such a public message command to auth with network services.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Mar 03, 2008 1:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2008-03-03T10:40:06-04:00</updated>

		<published>2008-03-03T10:40:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81389#p81389</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81389#p81389"/>
		<title type="html"><![CDATA[[SOLVED] Some support on a issue]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81389#p81389"><![CDATA[
In your proc, $nick is the nick of the person triggering the command. What you want is a pub bind with the bot's nick as a keyword and then you'll have to parse $text to find the "command" part of the message.<br>Or you could make multiple pubm binds that include the botnick and command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Mar 03, 2008 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Riddler]]></name></author>
		<updated>2009-11-28T20:08:48-04:00</updated>

		<published>2008-03-03T03:17:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81384#p81384</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81384#p81384"/>
		<title type="html"><![CDATA[[SOLVED] Some support on a issue]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81384#p81384"><![CDATA[
Heya guys, <br><br>I need some support on a issue I`m having... <br><br>I want to make a code with some public commands like "save", "rehash", "restart", "chattr" and stuff like that but I need to make those commands to be called in to a specifig botnick...<br><br>I have several bot's on a channel ( 6 or 7 of them ) and I wan't to create a code that will responde if I call on of the bots nickname... so that I`ll manage them more easily... something like this <br><blockquote class="uncited"><div>(08:14) &lt;me&gt; |egg .msg<br>(08:14) -|egg- SYNTAX: .msg &lt;nick&gt; [text]<br>(08:14) &lt;me&gt; |egg .msg Q auth<br>(08:14) -|egg- Sent message to Q</div></blockquote>What should I bind in the code ? PUBM or PUB ?<br>I`ve tried bouth of them and the results are not what I`m wanting...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> <br><br>Here's a example of what I`m trying to do:<br><div class="codebox"><p>Code: </p><pre><code>bind pubm n .msg do:msg proc do:msg {nick uhost hand chan text} { if {[matchattr $hand n|N $chan]} {    if {![isbotnick $nick]} {      set who [lindex [split $text] 0]      set txt [lrange $text 1 end]      if {$who == ""} {        puthelp "NOTICE $nick :SYNTAX:\002 .msg &lt;nick&gt; \[text\] \002"        return 0       }      if {$txt != ""} {        putquick "PRIVMSG $who :$txt "      } else {         putserv "NOTICE $nick :SYNTAX:\002 .msg $who \[text\] \002"      }    } }}</code></pre></div>Is this the way the proc has to look for what I`m tryin to do ?<br><br>Waiting for some support/ideas from you guys.<br><br>Thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9010">Riddler</a> — Mon Mar 03, 2008 3:17 am</p><hr />
]]></content>
	</entry>
	</feed>
