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

	<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-08-17T23:33:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Moonshine]]></name></author>
		<updated>2003-08-17T23:33:43-04:00</updated>

		<published>2003-08-17T23:33:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25193#p25193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25193#p25193"/>
		<title type="html"><![CDATA[trigger with spaces ??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25193#p25193"><![CDATA[
THX Sir_Fz<br><br>Your first code example works perfect for me .<br><br> <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=3630">Moonshine</a> — Sun Aug 17, 2003 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-17T19:48:25-04:00</updated>

		<published>2003-08-17T19:48:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25186#p25186</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25186#p25186"/>
		<title type="html"><![CDATA[trigger with spaces ??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25186#p25186"><![CDATA[
u can also do a <strong class="text-strong">switch -- $arg</strong><br><br>for example:<div class="codebox"><p>Code: </p><pre><code>bind pub - .: test:cmd proc test:cmd {nick uhost hand chan arg} {  switch -- $arg { "add" { if {[lindex $arg 1] == "user"} { #bla bla....       }    }  } }</code></pre></div>I'm not sure about the if statement though.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Aug 17, 2003 7:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-17T19:35:10-04:00</updated>

		<published>2003-08-17T19:35:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25184#p25184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25184#p25184"/>
		<title type="html"><![CDATA[trigger with spaces ??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25184#p25184"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - .: test:cmdproc test:cmd {nick uhost hand chan arg} {set arg [split $arg]set word1 [lindex $arg 0]set word2 [lindex $arg 1] if {$word1 == "add" &amp;&amp; $word2 == "news"} { #bla bla....  }}</code></pre></div>this is an example of how to do it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Aug 17, 2003 7:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-08-17T19:29:01-04:00</updated>

		<published>2003-08-17T19:29:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25183#p25183</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25183#p25183"/>
		<title type="html"><![CDATA[trigger with spaces ??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25183#p25183"><![CDATA[
Use the PUBM bind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Aug 17, 2003 7:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Moonshine]]></name></author>
		<updated>2003-08-17T19:15:08-04:00</updated>

		<published>2003-08-17T19:15:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25181#p25181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25181#p25181"/>
		<title type="html"><![CDATA[trigger with spaces ??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25181#p25181"><![CDATA[
is it possible to set a trigger that include spaces and special letters like . : ??<br>like:<br><br>.: add news :. <br><br>instead of<br><br>!addnews<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3630">Moonshine</a> — Sun Aug 17, 2003 7:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
