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

	<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>2004-05-26T07:05:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-26T07:05:18-04:00</updated>

		<published>2004-05-26T07:05:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36602#p36602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36602#p36602"/>
		<title type="html"><![CDATA[weird problem with my script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36602#p36602"><![CDATA[
Weird tho, cause in the eggdroplogfiles i don't see an error anymore<br>This was the last error i saw :<br><div class="codebox"><p>Code: </p><pre><code> [22:33] Tcl error [kadeng]: wrong # args: should be "kadeng nick" </code></pre></div>Anyway my opinion is it doesn't pick a random user correctly.<br>cause if I leave out the random nick, it kicks the one who issued the command "!kadeng"<br><br>Hope to resolve this ,<p>Statistics: Posted by Guest — Wed May 26, 2004 7:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-25T15:09:58-04:00</updated>

		<published>2004-05-25T15:09:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36592#p36592</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36592#p36592"/>
		<title type="html"><![CDATA[weird problem with my script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36592#p36592"><![CDATA[
In your partyline you would be seeing something like:<br><br>"Called kadeng with too many arguments"<br><br>See tcl-commands.doc for the number/type of parameters a pub bound procedure requires ...<br><br>And, just basic IRC protocol, for your kick... the format for kicking on IRC is: <br>KICK &lt;channel&gt; &lt;victim&gt; :&lt;message&gt;<br><br>note the colon and it's location...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue May 25, 2004 3:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-25T14:41:21-04:00</updated>

		<published>2004-05-25T14:41:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36591#p36591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36591#p36591"/>
		<title type="html"><![CDATA[weird problem with my script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36591#p36591"><![CDATA[
Hey I'm trying to learn tcl, so ....  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <br><br>Anyway to try and make a script, i thought it would be fun to make a script that random chooses a nick on that channel and then kick it with a random reason.<br>The bot has ops, no errors found anymore and even the notice-line I put it comes up fine, so the script must be loaded.<br>Only nothing happens.  <br><br>Can you guys bring the light for me here ? <br><div class="codebox"><p>Code: </p><pre><code>set kickmsg { {Congratulations ! You were in my way !} {Your time to do the dishes,hun} {My eye fell on you, dear} {BUNGABUNGABUNGA} {dumdedum} { $nick , you asked me to kick you ?} {You have been randomly chosen for a jolly kick -_- } {eeekkkk}}bind pub - !kadeng kadengproc kadeng { nick chan } { global kickmsg set users [chanlist #shrekkie] set kicknick [lindex $users [rand [llength $users]]] set excuse [lindex $kickmsg [rand [llength $kickmsg]]] putserv "KICK #shrekkie $kicknick $excuse "}putlog "Random Kick Script - by Shrekkie loaded ... "putserv "NOTICE Shrekkie Plugin loaded"</code></pre></div>All remarks and critics are welcome<p>Statistics: Posted by Guest — Tue May 25, 2004 2:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
