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

	<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>2002-09-10T16:43:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2002-09-10T16:43:13-04:00</updated>

		<published>2002-09-10T16:43:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10751#p10751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10751#p10751"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10751#p10751"><![CDATA[
Okay Thanks a lot. I got it now <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=1729">ProXy</a> — Tue Sep 10, 2002 4:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-10T15:53:35-04:00</updated>

		<published>2002-09-10T15:53:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10744#p10744</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10744#p10744"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10744#p10744"><![CDATA[
using your script<br><div class="codebox"><p>Code: </p><pre><code>utimer 2 [list putkick $channel [lindex [split $arg] 0] "banned for $bantime minutes"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Sep 10, 2002 3:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2002-09-10T15:30:55-04:00</updated>

		<published>2002-09-10T15:30:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10742#p10742</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10742#p10742"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10742#p10742"><![CDATA[
Uh, sorry but i don`t get want u wanted to say <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>Can you give me an example?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1729">ProXy</a> — Tue Sep 10, 2002 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-10T13:24:34-04:00</updated>

		<published>2002-09-10T13:24:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10734#p10734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10734#p10734"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10734#p10734"><![CDATA[
Because your timer is all wrong. Quite a few problems in this script lol.<br><br>To set a timer, use this syntax: utimer 2 <ul></ul><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Sep 10, 2002 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2002-09-10T06:48:49-04:00</updated>

		<published>2002-09-10T06:48:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10725#p10725</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10725#p10725"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10725#p10725"><![CDATA[
Now the script is able to find [pat] in the room and bans him. But is doesn`t kick him:<br><blockquote class="uncited"><div>[12:41:06] &lt;(Hack|The|Planet&gt; [12:45] Tcl error in script for 'timer298':<br>[12:41:06] &lt;(Hack|The|Planet&gt; [12:45] invalid command name "pat"</div></blockquote>The user I wanted to kick was named [pat]...<br><div class="codebox"><p>Code: </p><pre><code>putserv "MODE $channel +b [lindex [split $arg] 0]!$host"utimer 2 "putkick $channel [lindex [split $arg] 0] \"banned for $bantime minutes\"" timer $bantime "putserv \"MODE $channel -b [lindex [split $arg] 0]!$host\""</code></pre></div>#<br><br><br>So the ban is working, but there is no kick!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1729">ProXy</a> — Tue Sep 10, 2002 6:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-09T23:02:08-04:00</updated>

		<published>2002-09-09T23:02:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10711#p10711</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10711#p10711"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10711#p10711"><![CDATA[
Try lsearch -exact<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Sep 09, 2002 11:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2002-09-09T22:44:47-04:00</updated>

		<published>2002-09-09T22:44:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10709#p10709</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10709#p10709"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10709#p10709"><![CDATA[
i just changed this in the whole script not only in that line - the same problem again! <br><div class="codebox"><p>Code: </p><pre><code>} elseif {[lsearch [string tolower [chanlist $channel]] [string tolower [lindex [split $arg] 0]]]==-1} {putserv "PRIVMSG $channel :Error: \"[lindex [split $arg] 0]\" ist nicht in diesem Channel! $usage"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1729">ProXy</a> — Mon Sep 09, 2002 10:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-09T13:42:27-04:00</updated>

		<published>2002-09-09T13:42:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10701#p10701</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10701#p10701"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10701#p10701"><![CDATA[
The problem is [lindex $arg 0]. Change it to [lindex [split $arg] 0]. You should not use list operations on strings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Sep 09, 2002 1:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2002-09-09T12:21:36-04:00</updated>

		<published>2002-09-09T12:21:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10697#p10697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10697#p10697"/>
		<title type="html"><![CDATA[Probs with &quot;Non standard Nicks&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10697#p10697"><![CDATA[
Hi,<br><br>I wrote a script that provides all user to kick another user. This script is started by !lamer &lt;nick&gt; [time]"! When i enter a nick without "[" or "]" then all works fine. But today i wanted to kick a user called [censored]. My script checks if the user is in the channel, and if he is, then is will kick him. The user [censored] wasn`t found in my channel...but he was there!<br><br>I use this source to check if a user is in the channel:<br><div class="codebox"><p>Code: </p><pre><code>{[lsearch [string tolower [chanlist $channel]] [string tolower [lindex $arg 0]]]==-1} {putserv "PRIVMSG $channel :Error: \"[lindex $arg 0]\" ist nicht in diesem Channel! $usage"}</code></pre></div>I tried to enter the nick \[censored\] but that also didn`t work...<br>Could anyone please help me...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1729">ProXy</a> — Mon Sep 09, 2002 12:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
