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

	<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-11-04T19:46:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-04T19:46:51-04:00</updated>

		<published>2003-11-04T19:46:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29523#p29523</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29523#p29523"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29523#p29523"><![CDATA[
<blockquote class="uncited"><div>it should work, did you .rehash after loading ?</div></blockquote>Got it to work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">  Typo in the script.<br><br>Thanks again guys!<br><br> <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 — Tue Nov 04, 2003 7:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-04T18:21:56-04:00</updated>

		<published>2003-11-04T18:21:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29520#p29520</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29520#p29520"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29520#p29520"><![CDATA[
it should work, did you .rehash after loading ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Nov 04, 2003 6:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-04T18:05:48-04:00</updated>

		<published>2003-11-04T18:05:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29519#p29519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29519#p29519"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29519#p29519"><![CDATA[
Thanks for the help guys.  I tried that script from strikelight but it didn't seem to work.  The command should just be ".nmsg &lt;text&gt;" (without the quotes or &lt;&gt;) in the channel, right?  If I wanted it to work so that I just pm'ed the bot to spead a message, that should be possible as well I'm guessing?<br><br>Sorry to be a pain but thanks for the tips.  Learning in progress. <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 — Tue Nov 04, 2003 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-04T14:44:37-04:00</updated>

		<published>2003-11-04T14:44:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29498#p29498</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29498#p29498"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29498#p29498"><![CDATA[
sorry, wasn't payin attention.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Nov 04, 2003 2:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-11-04T09:55:25-04:00</updated>

		<published>2003-11-04T09:55:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29468#p29468</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29468#p29468"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29468#p29468"><![CDATA[
<blockquote class="uncited"><div>no use thats wrong, use [chanlist #mychangoeshere n|-] to only match +n users, then msg the nicks it will work.</div></blockquote>He didn't say +n users... he said nicks starting with n| ....<br><div class="codebox"><p>Code: </p><pre><code>#my first tcl script # # .nmsg &lt;text&gt; bind pub +o .nmsg pub:nmsg proc pub:nmsg {nick host handle channel text} {   foreach u [chanlist #mychangoeshere] {     if {[string match "n|*" [string tolower $u]]} { putserv "PRIVMSG $u :$text" }   } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Nov 04, 2003 9:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-04T09:31:34-04:00</updated>

		<published>2003-11-04T09:31:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29464#p29464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29464#p29464"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29464#p29464"><![CDATA[
no use thats wrong, use [chanlist #mychangoeshere n|-] to only match +n users, then msg the nicks it will work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Nov 04, 2003 9:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-03T22:16:29-04:00</updated>

		<published>2003-11-03T22:16:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29444#p29444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29444#p29444"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29444#p29444"><![CDATA[
Okay, here's where I've gotten so far.  I'm just having trouble getting eggdrop to distinguish the "n|" at the beginning of everyone's name who should be receiving the PRIVMSG.<br><div class="codebox"><p>Code: </p><pre><code>#my first tcl script## .nmsg &lt;text&gt; bind pub +o .nmsg pub:nmsg proc pub:nmsg {nick host handle channel text} {   foreach u [chanlist #mychangoeshere] {     if {$u == n|*} { putserv "PRIVMSG $u :$text" }   } } </code></pre></div><p>Statistics: Posted by Guest — Mon Nov 03, 2003 10:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-11-03T18:23:47-04:00</updated>

		<published>2003-11-03T18:23:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29439#p29439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29439#p29439"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29439#p29439"><![CDATA[
You are correct. Using an foreach with an chanlist will do what you want.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Nov 03, 2003 6:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-03T17:35:44-04:00</updated>

		<published>2003-11-03T17:35:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29436#p29436</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29436#p29436"/>
		<title type="html"><![CDATA[A mass pmsg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29436#p29436"><![CDATA[
If someone could just point me in the right direction for writing this script that'd be great, you don't have to write it or anything, I'm just searching for ideas....<br><br>I'm looking to have eggdrop message a privatemsg sent by an op to all the people with similar tags in their name (i.e. everyone's tag in the channel that starts with "n|").  Does anyone have any ideas on how to go about doing this?  I'm relatively new to tcl and I've read through a couple tutorials but I'm not sure how to approach the situation.  I'm guessing it would be a foreach loop of some kind?<br><br>-Chris<p>Statistics: Posted by Guest — Mon Nov 03, 2003 5:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
