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

	<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>2009-01-23T19:16:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[unb0rn]]></name></author>
		<updated>2009-01-21T08:04:13-04:00</updated>

		<published>2009-01-21T08:04:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87046#p87046</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87046#p87046"/>
		<title type="html"><![CDATA[Help with this script, random kick/nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87046#p87046"><![CDATA[
Yes, you are right about that, i forgot to edit that part, so show here, but even if i change that (and i've tried) it stills doesnt work.<br><br>I was working with the !fod*-te, to kick people randomly, but i've edit that to paste the tcl here.<br><br>The thing is, since i started to use the tcleggdrop_mcpsfuncs, the !fod*-te function, it's just not working at all, no matter what...<br><br>Help, please<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10194">unb0rn</a> — Wed Jan 21, 2009 8:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-01-20T19:53:10-04:00</updated>

		<published>2009-01-20T19:53:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87035#p87035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87035#p87035"/>
		<title type="html"><![CDATA[Re: Help with this script, random kick/nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87035#p87035"><![CDATA[
<blockquote class="uncited"><div>I've been using this bnc for some time now, but since i've load the tcl, tcleggdrop_mcpsfuncs , it's not working completely.<br><br>Ex: !msg -&gt; still works with the msg that i've define<br>    : !kick -&gt; not working, and i have no idea why<br><br><br>Here's the tcl, and some info attached: <a href="http://rafb.net/p/ZwmxmM79.html" class="postlink">http://rafb.net/p/ZwmxmM79.html</a><br><br>Thank you</div></blockquote>I sometimes am in awe at the level of common sense people have. It is quite clear why it doesn't work. Let me show you... <div class="codebox"><p>Code: </p><pre><code> switch -- $lastbind {  "!msg" {   puthelp "privmsg $chan :[lindex [split $arg] 0] $msg"  }  "!fode-te" {   set n [lindex $ns [rand [llength $ns]]]   puthelp "kick $chan $n :$msg"  } }}</code></pre></div>You don't use !kick to kick others. You use.. Well.. What does that word mean?... Hmm...<blockquote class="uncited"><div>&lt;speechles&gt; !tr fode-te<br>&lt;sp33chy&gt; Google says: (auto-&gt;en) Translation: Portuguese (automatically detected) » English &gt;&gt; f<strong class="text-strong"></strong>uck you</div></blockquote>So basically, it's Portuguese (figures..haw). You type the equivalent of !f***-you &lt;msg&gt; and someone is randomly kicked with your witty message. How cute.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Tue Jan 20, 2009 7:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[unb0rn]]></name></author>
		<updated>2009-01-23T19:16:00-04:00</updated>

		<published>2009-01-20T17:34:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87034#p87034</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87034#p87034"/>
		<title type="html"><![CDATA[Help with this script, random kick/nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87034#p87034"><![CDATA[
I've been using this bnc for some time now, but since i've load the tcl, tcleggdrop_mcpsfuncs , it's not working completely.<br><br>Ex: !msg -&gt; still works with the msg that i've define<br>    : !kick -&gt; not working, and i have no idea why<br><br><br>Here's the tcl:<br><blockquote class="uncited"><div>set textlist {<br> "random kick msg"<br>}<br> <br>bind pub - !msg rand:cmd<br>bind pub - !kick rand:cmd<br> <br>proc rand:cmd {nick uhost hand chan arg} {<br> global textlist lastbind<br> set msg [lindex $textlist [rand [llength $textlist]]]<br> set ns [chanlist $chan]<br> switch -- $lastbind {<br>  "!msg" {<br>   puthelp "privmsg $chan :[lindex [split $arg] 0] $msg"<br>  }<br>  "!kick" {<br>   set n [lindex $ns [rand [llength $ns]]]<br>   puthelp "kick $chan $n :$msg"<br>  }<br> }<br>}<br> <br> <br>this tcl should kick someone when you do !kick the eggdrop should kick a random nick from the channel<br>but now, its not working, only the !msg works, and on !msg, it says the msg that i have on the "set textlist {"<br>and the !kick, should also use the same msg from !msg</div></blockquote>Thank you[/quote]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10194">unb0rn</a> — Tue Jan 20, 2009 5:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
