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

	<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-16T03:14:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-16T03:14:55-04:00</updated>

		<published>2005-04-16T03:14:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48153#p48153</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48153#p48153"/>
		<title type="html"><![CDATA[Re: Syntax for a List of triggers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48153#p48153"><![CDATA[
<blockquote class="uncited"><div>set $violence { "*keyword*" }</div></blockquote>If you really use this line, I can tell you 2 errors, the first one is probably just a type from your script, you would fail to load it otherweise:<br>1st: its set violence &lt;param&gt; (without $ ^^)<br>2nd: have you ever checked the content of $violence? It will be<div class="codebox"><p>Code: </p><pre><code>"*keyword*"</code></pre></div>yes, including the quote marks. So if someone says:<br>You are a keyword<br>match will try to compare <em class="text-italics">"*keyword*"</em> against <em class="text-italics">You are a keyword</em> and however won't find a match, because there are no quotes within his text <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.<br><blockquote class="uncited"><div>[08:15:20] #De_Kus# set testvar { "*keyword*" }<br>Ok, set.<br>[08:15:24] #De_Kus# set testvar<br>Currently:  "*keyword*"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Apr 16, 2005 3:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Cougar]]></name></author>
		<updated>2005-04-16T01:19:32-04:00</updated>

		<published>2005-04-16T01:19:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48150#p48150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48150#p48150"/>
		<title type="html"><![CDATA[Syntax for a List of triggers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48150#p48150"><![CDATA[
I'm doing a small script to kick users who use violence against the bot in ACTIONS.  <br><br>But I ran up against a problem.  I attempted to replace the || or statements with the trigger words with a variable called $violence.  But I dont think my idea to set $violence { "*keyword*" } is right.. since its clearly failing to kick now.  <br><br>if {[string match -nocase $violence $text]} {<br><br>Any ideas??  (yes I set the variable as a global.)   Thanks.<br><br>- Cougar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6044">Cougar</a> — Sat Apr 16, 2005 1:19 am</p><hr />
]]></content>
	</entry>
	</feed>
