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

	<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-07-22T15:57:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-07-22T15:57:41-04:00</updated>

		<published>2004-07-22T15:57:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38974#p38974</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38974#p38974"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38974#p38974"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>putserv "CMSG $nick $channel :$msg"</code></pre></div>should work then<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Jul 22, 2004 3:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AbuAli]]></name></author>
		<updated>2004-07-22T15:46:48-04:00</updated>

		<published>2004-07-22T15:46:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38973#p38973</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38973#p38973"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38973#p38973"><![CDATA[
no its not that awyeah <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br>on my network.. we have command "cmsg nick channel msg"<br>you have to be oped to do this command... <br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5052">AbuAli</a> — Thu Jul 22, 2004 3:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-22T05:28:15-04:00</updated>

		<published>2004-07-22T05:28:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38962#p38962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38962#p38962"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38962#p38962"><![CDATA[
Possibly <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=3646">Alchera</a> — Thu Jul 22, 2004 5:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-21T21:26:47-04:00</updated>

		<published>2004-07-21T21:26:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38950#p38950</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38950#p38950"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38950#p38950"><![CDATA[
Maybe he means:<br>I would suggest, heh...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><div class="codebox"><p>Code: </p><pre><code>proc name { bla bla } { global bla ........... ........... if {($bla == $bla1)} { set CMSG "PRIVMSG" } if {($bla == $bla2)} { set CMSG "NOTICE" } putserv "$CMSG $text :$msg1" ................. }}</code></pre></div>Either one of these, based upon some 'if' condition.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Jul 21, 2004 9:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-21T15:44:57-04:00</updated>

		<published>2004-07-21T15:44:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38935#p38935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38935#p38935"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38935#p38935"><![CDATA[
And the magic question now is... what in blue blazes is "CMSG"?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Jul 21, 2004 3:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-21T15:11:52-04:00</updated>

		<published>2004-07-21T15:11:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38932#p38932</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38932#p38932"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38932#p38932"><![CDATA[
There's no CMSG in tcl/eggdrop<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Wed Jul 21, 2004 3:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AbuAli]]></name></author>
		<updated>2004-07-21T14:46:01-04:00</updated>

		<published>2004-07-21T14:46:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38929#p38929</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38929#p38929"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38929#p38929"><![CDATA[
hello how can i use CMSG on this code.. ?<br><br>i try modify <strong class="text-strong">"PRIVMSG $text :$msg1"</strong> to <strong class="text-strong">"CMSG $text :$msg1"</strong><br>but not working .. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "*" private:talk set nick1 "awyeah" set msg1 "I am a bot!" proc private:talk {nick uhost hand chan text} {  global botnick nick1 msg1   if {([string equal -nocase $nick $nick1]) &amp;&amp; (![string equal -nocase $botnick $nick])} {   set text [lindex $text 0]; putserv "PRIVMSG $text :$msg1"   return 0   } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5052">AbuAli</a> — Wed Jul 21, 2004 2:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-20T21:19:36-04:00</updated>

		<published>2004-07-20T21:19:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38897#p38897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38897#p38897"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38897#p38897"><![CDATA[
Well then, use this:<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "*" private:talk set nick1 "awyeah" set msg1 "I am a bot!" proc private:talk {nick uhost hand chan text} {  global botnick nick1 msg1   if {([string equal -nocase $nick $nick1]) &amp;&amp; (![string equal -nocase $botnick $nick])} {   set text [lindex $text 0]; putserv "PRIVMSG $text :$msg1"   return 0   } } </code></pre></div>By now you should know how to manipulate a small/easy peice of code, to function slightly different.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jul 20, 2004 9:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AbuAli]]></name></author>
		<updated>2004-07-20T20:04:46-04:00</updated>

		<published>2004-07-20T20:04:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38896#p38896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38896#p38896"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38896#p38896"><![CDATA[
hello awyeah,<br>another qs?<br>if i need to send direct without useing channel1<br>like..<br>if "nick1" msg botnick "blahblah"<br>botnick "privmsg blahblah :msg1"<br>thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5052">AbuAli</a> — Tue Jul 20, 2004 8:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-20T00:26:06-04:00</updated>

		<published>2004-07-20T00:26:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38865#p38865</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38865#p38865"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38865#p38865"><![CDATA[
Very...easy this is almost near to basics.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> <br>Use, this it should work.<br><br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "*" private:talkset nick1 "awyeah"set channel1 "#elite"set msg1 "I am a bot!"proc private:talk {nick uhost hand chan text} { global botnick nick1 channel1 msg1 if {([string equal -nocase $chan $channel1]) &amp;&amp; ([string equal -nocase $nick $nick1]) &amp;&amp; (![string equal -nocase $botnick $nick])} {   set text [lindex $text 0]; putserv "PRIVMSG $text :$msg1"  return 0  }}</code></pre></div>Whenever nick "X" types anything on the defined channel:<br><br>&lt;X&gt; hello!<br>The bot will privmsg 'hello!"<br>In this case the message will not be sent, as 'hello!' is not a valid nick.<br>Just make sure, hello! is a valid nick, as the '!' character is not valid for nicks.<br><br>So X should have to say:<br><br>&lt;X&gt; hello<br>Then the bot will privmsg 'hello' with your defined msg.<br><br>Also in case if X says more than 1 word in the text:<br><br>&lt;X&gt; hello there!<br>In this case, the privmsg will still be sent to the first word said.<br>So the privmsg will be sent to the nick 'hello' (the first word of the text).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jul 20, 2004 12:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AbuAli]]></name></author>
		<updated>2004-07-19T21:40:18-04:00</updated>

		<published>2004-07-19T21:40:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38857#p38857</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38857#p38857"/>
		<title type="html"><![CDATA[Msg the input]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38857#p38857"><![CDATA[
Hello, i need a code .. send a msg to what a nick say...<br><br>like EX:<br>if &lt;nick1&gt; say on #channe1 test<br>will. the bot do "privmsg test :msg1"<br><br>if &lt;nick1&gt; say on #channel1 something <br>will. the bot do "privmsg something :msg1"<br><br>if &lt;nick1&gt; say on #channel1 blahblahblah<br>will. the bot do "privmsg blahblahblah :msg1"<br><br>i need to <br>set nick1 "the nick who will talk the nicks on the channel"<br>set channel1 "the channel when will read the nicks"<br>set msg1 "the msg what the bot will send"<br><br>thx for help <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=5052">AbuAli</a> — Mon Jul 19, 2004 9:40 pm</p><hr />
]]></content>
	</entry>
	</feed>
