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

	<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>2005-04-25T19:59:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-04-25T19:59:51-04:00</updated>

		<published>2005-04-25T19:59:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48550#p48550</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48550#p48550"/>
		<title type="html"><![CDATA[Can anyone convert this into TCL please?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48550#p48550"><![CDATA[
Well, awyeah's version worked just fine! thanks everybody!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Mon Apr 25, 2005 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2005-04-25T15:38:03-04:00</updated>

		<published>2005-04-25T15:38:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48542#p48542</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48542#p48542"/>
		<title type="html"><![CDATA[Can anyone convert this into TCL please?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48542#p48542"><![CDATA[
<blockquote class="uncited"><div>Well I was just trying todo as that script does exactly. Check if nick is not opped and nick is not botnick is basic. By the way, the trigger is not "#scrim #*", its just "*#*" if you see clearly. The script should only work on the channel #scrim. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>It is "#scrim #*". If you don't belive me, check tcl-commands.doc:<br><blockquote class="uncited"><div>(6)  PUBM (stackable)<br>         bind pubm &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;<br><br>         Description: just like MSGM, except it's triggered by things said<br>           on a channel instead of things /msg'd to the bot. <strong class="text-strong">The mask is<br>           matched against the channel name followed by the text and can<br>           contain wildcards</strong>. Also, if a line triggers a PUB bind, it will not<br>           trigger a PUBM bind.</div></blockquote>And if you want pubm to work on all channels, mask should look like this "% #*" <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Mon Apr 25, 2005 3:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-04-25T13:30:08-04:00</updated>

		<published>2005-04-25T13:30:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48541#p48541</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48541#p48541"/>
		<title type="html"><![CDATA[Can anyone convert this into TCL please?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48541#p48541"><![CDATA[
Well I was just trying todo as that script does exactly. Check if nick is not opped and nick is not botnick is basic. By the way, the trigger is not "#scrim #*", its just "*#*" if you see clearly. The script should only work on the channel #scrim. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Apr 25, 2005 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-25T08:59:32-04:00</updated>

		<published>2005-04-25T08:59:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48536#p48536</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48536#p48536"/>
		<title type="html"><![CDATA[Can anyone convert this into TCL please?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48536#p48536"><![CDATA[
<blockquote class="uncited"><div>bind pubm - "*" check:advertise<br>...<br> if {![isbotnick $nick] &amp;&amp; [string match "*#*" $text] &amp;&amp; [string equal -nocase "#scrim" $chan] &amp;&amp; ![isop $nick $chan]} {<br>...</div></blockquote>I would suggest using this bind:<br>bind pubm - "#scrim *#*?" check:advertise<br>a) you save code b) you don't ban trailing # hit by accident. c) you wil probably spare some resources ^-^<br><br>and clean the if to ![isop $nick $chan].<br><br>![isbotnick $nick] is redudant, IRC doesnt echo your own PRIVMSGs!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon Apr 25, 2005 8:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-04-24T23:19:00-04:00</updated>

		<published>2005-04-24T23:19:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48526#p48526</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48526#p48526"/>
		<title type="html"><![CDATA[Can anyone convert this into TCL please?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48526#p48526"><![CDATA[
Here use this:<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "*" check:advertiseproc check:advertise {nick uhost hand chan text} { if {![isbotnick $nick] &amp;&amp; [string match "*#*" $text] &amp;&amp; [string equal -nocase "#scrim" $chan] &amp;&amp; ![isop $nick $chan]} {  putquick "PRIVMSG chanserv :$chan tb $nick 1h Do not advertise."  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Apr 24, 2005 11:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-04-24T22:16:55-04:00</updated>

		<published>2005-04-24T22:16:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48525#p48525</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48525#p48525"/>
		<title type="html"><![CDATA[Can anyone convert this into TCL please?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48525#p48525"><![CDATA[
on *:TEXT:*#*:#scrim: { if ($nick !isop $chan) { msg chanserv $chan tb $nick 1h Do not advertise. } }<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Sun Apr 24, 2005 10:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
