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

	<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-05-19T03:33:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-19T03:33:15-04:00</updated>

		<published>2003-05-19T03:33:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20381#p20381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20381#p20381"/>
		<title type="html"><![CDATA[making the bot say via /msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20381#p20381"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># binds # bind msg - say pub:say bind msg - act pub:act # msg # proc pub:say {nick uhost hand text} {   if {[llength [split $text]] &lt; 2} {     putserv "PRIVMSG $nick :\002Usage\002: say &lt;who&gt; &lt;text&gt;"     return   }   set who [lindex $text 0]   set msg [lrange $text 1 end]   putserv "PRIVMSG $who :$msg" } # act # proc pub:act {nick uhost hand text} {   if {[llength [split $text]] &lt; 2} {     putserv "PRIVMSG $nick :\002Usage\002: act &lt;who&gt; &lt;text&gt;"     return   }   set who [lindex $text 0]   set msg [lrange $text 1 end]   putserv "PRIVMSG $who :\001ACTION $msg" } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon May 19, 2003 3:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-05-17T23:43:29-04:00</updated>

		<published>2003-05-17T23:43:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20350#p20350</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20350#p20350"/>
		<title type="html"><![CDATA[making the bot say via /msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20350#p20350"><![CDATA[
I was wondering if you could show me a way with that code that makes it possible for the bot to message someone privatley?<br><br>I have my bot on a nick that gets messaged all the time by people (I created a script that has the bot message the priv msg to a channel), I want to be able to do "@msg nickname text here"  and send the "text here" part to the nick.<br><br>Thanks. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Sat May 17, 2003 11:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-12T01:32:40-04:00</updated>

		<published>2003-05-12T01:32:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20080#p20080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20080#p20080"/>
		<title type="html"><![CDATA[making the bot say via /msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20080#p20080"><![CDATA[
Also, you may try this:<div class="codebox"><p>Code: </p><pre><code># binds #bind msg - say pub:saybind msg - act pub:act# msg #proc pub:say {nick uhost hand text} {   if {[llength [split $text]] &lt; 2} {    putserv "PRIVMSG $nick :\002Usage\002: say #channel text"    return  }  set channel [lindex $text 0]  set msg [lrange $text 1 end]  if {![validchan $channel] || ![botonchan $channel]} {    putserv "PRIVMSG $nick :I'm not monitoring $channel or I'm not there."    return  }  putserv "PRIVMSG $channel :$msg"}# act #proc pub:act {nick uhost hand text} {   if {[llength [split $text]] &lt; 2} {    putserv "PRIVMSG $nick :\002Usage\002: act #channel text"    return  }  set channel [lindex $text 0]  set msg [lrange $text 1 end]  if {![validchan $channel] || ![botonchan $channel]} {    putserv "PRIVMSG $nick :I'm not monitoring $channel or I'm not there."    return  }  putserv "PRIVMSG $channel :\001ACTION $msg"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon May 12, 2003 1:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2003-05-11T14:06:54-04:00</updated>

		<published>2003-05-11T14:06:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20065#p20065</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20065#p20065"/>
		<title type="html"><![CDATA[making the bot say via /msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20065#p20065"><![CDATA[
thank you!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Sun May 11, 2003 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-11T07:07:21-04:00</updated>

		<published>2003-05-11T07:07:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20040#p20040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20040#p20040"/>
		<title type="html"><![CDATA[making the bot say via /msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20040#p20040"><![CDATA[
See <a href="http://forum.egghelp.org/viewtopic.php?p=17694" class="postlink">this</a> post.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun May 11, 2003 7:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2003-05-11T02:32:13-04:00</updated>

		<published>2003-05-11T02:32:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20030#p20030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20030#p20030"/>
		<title type="html"><![CDATA[making the bot say via /msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20030#p20030"><![CDATA[
Hi<br><br>Is it possible to to make the bot say something in the channel via /msg without having to be in telnet or DCC to the bot?<br><br>I've tried /msg bot say thingtosay password but no response...<br><br>Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Sun May 11, 2003 2:32 am</p><hr />
]]></content>
	</entry>
	</feed>
