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

	<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>2006-12-03T09:30:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[anarchopunk]]></name></author>
		<updated>2006-12-03T09:30:33-04:00</updated>

		<published>2006-12-03T09:30:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68675#p68675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68675#p68675"/>
		<title type="html"><![CDATA[spin.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68675#p68675"><![CDATA[
10x .<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8431">anarchopunk</a> — Sun Dec 03, 2006 9:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ZEXEL]]></name></author>
		<updated>2006-12-01T10:29:38-04:00</updated>

		<published>2006-12-01T10:29:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68600#p68600</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68600#p68600"/>
		<title type="html"><![CDATA[Hot!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68600#p68600"><![CDATA[
yo... thank you very much...  <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=7909">ZEXEL</a> — Fri Dec 01, 2006 10:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-30T19:03:58-04:00</updated>

		<published>2006-11-30T19:03:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68587#p68587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68587#p68587"/>
		<title type="html"><![CDATA[spin.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68587#p68587"><![CDATA[
I posted a copy of the mods I've done to this spin.tcl script here:<br><a href="http://members.dandy.net/~fbn/spin.tcl.txt" class="postlink">http://members.dandy.net/~fbn/spin.tcl.txt</a><br><br>Changes:<br>- added spinignore list, spinchans, spinning flag (to prevent multiple spins), proper english, indentation, etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Thu Nov 30, 2006 7:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[anarchopunk]]></name></author>
		<updated>2006-11-29T08:31:52-04:00</updated>

		<published>2006-11-29T08:31:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68566#p68566</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68566#p68566"/>
		<title type="html"><![CDATA[spin.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68566#p68566"><![CDATA[
well .. if it will point to someone who is idle, i still have the !last_nick option to reset it..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8431">anarchopunk</a> — Wed Nov 29, 2006 8:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-28T15:47:12-04:00</updated>

		<published>2006-11-28T15:47:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68553#p68553</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68553#p68553"/>
		<title type="html"><![CDATA[spin.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68553#p68553"><![CDATA[
What happens if it points at someone who's idle? Then you'd have to rehash to unset the "last person" <br><br>I don't think that's a mod I'd wanna do, although I did some other mods to clean up the script..<br><br>Maybe someone else will..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Nov 28, 2006 3:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[anarchopunk]]></name></author>
		<updated>2006-11-28T06:43:06-04:00</updated>

		<published>2006-11-28T06:43:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68542#p68542</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68542#p68542"/>
		<title type="html"><![CDATA[spin.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68542#p68542"><![CDATA[
&lt;&amp;anarchopunk&gt; !spin<br>&lt;@Junkie&gt; anarchopunk spins the bottle .....<br>....<br>&lt;@Junkie&gt; pointing at ..... testing!!!!<br>&lt;&amp;anarchopunk&gt; !spin<br>&lt;@Junkie&gt; anarchopunk spins the bottle .....<br>....<br>&lt;@Junkie&gt; pointing at ..... kage!!!!<br><br><br>I mean that the next person after i !spin the bottle should only spin if it is testing, not another person.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8431">anarchopunk</a> — Tue Nov 28, 2006 6:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-28T06:28:01-04:00</updated>

		<published>2006-11-28T06:28:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68539#p68539</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68539#p68539"/>
		<title type="html"><![CDATA[spin.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68539#p68539"><![CDATA[
What do you mean by, used by the last nick only?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Nov 28, 2006 6:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[anarchopunk]]></name></author>
		<updated>2006-11-28T06:21:44-04:00</updated>

		<published>2006-11-28T06:21:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68538#p68538</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68538#p68538"/>
		<title type="html"><![CDATA[spin.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68538#p68538"><![CDATA[
i need a lil help here. what should i do to to make the !spin be used by the last nick only? what code should i put in cuz i cant figure it out. tks<br><br><div class="codebox"><p>Code: </p><pre><code>###  This Script Not Belong To Me But I Do Some Changes.###  Now The Spin The Bottle Have A Random Message.###  Anyone Can Add Easily The Options Of The Random Message That Want.######     Written By Sergios K. sergios_k@hotmail.com#########   Testing###    Platforms : Linux 2.2.16   TCL v8.3###                Eggdrop v1.6.0###                Eggdrop v1.6.6###         And : SunOS 5.8      TCL v8.3###                Eggdrop v1.5.4######  Description : IRC Game,the famous game Spin The Bottle (night at beatch,that was my job,lol)######   Future Plans : Send in suggestions.###### Author Contact :     Email - sergios_k@hotmail.com###                      Email - sergios@zeus.dynip.com###                   Home Page - http://zeus.dynip.com/programs###                     IRC - Nick: Sergios###                   Support Channels: #Parea @GRNet (nini.irc.gr)###                   #Help @ZeusNet (patra.dynip.com)#########                  History : 07/29/2001 - First Release######    This Script Belong To moonwolf, just i do change into random message.###    Flames/suggestions/invitations to dinner:###    moonwolf on IRC                    moonwolf@wolflair.demon.co.uk###    BOTNET: moonwolf@phelan            wolf@spodbox.ehche.ac.uk######    Oh, BTW, right now the last_nick function doesn't work.  Anyone tell###    me why please?   Also working on stopping more than one person###    spinning it at a time.  Suggestions for that also appreciated.  k.######    Modified a bit by dhbrown [chocolat@undernet]. I think "last_nick"###    works now...###    Adapted for 1.0 by Robey######    spin_bunny:   Coded by moonwolf with input from Sloot. Reworked by chocolat###             to eliminate bot, self, last_nick kissing. Incorporates###             previous "init_bunny" code.###### Define last_nick to be $botnick if not yet defined...###if {![info exists last_nick]} {set last_nick $botnick}proc spin_bunny {nick uhost handle chan args} {  global botnick last_nick  global rep##  Define last_nick = $botnick if last_nick now gone from channel#  if {![onchan $last_nick $chan]} {set last_nick $botnick}  set mylist [chanlist $chan]## Remove the bot from the list (life's too short to kiss bots!)#  set wb [lsearch $mylist $botnick]  set mylist [lreplace $mylist $wb $wb]## Remove the invoking nick from the list#  set wn [lsearch $mylist $nick]  set mylist [lreplace $mylist $wn $wn]## If our first time thru, last_nick = $botnick, so we're done.# Else, remove last person kissed from the list too.#  if {$last_nick != $botnick} {    set wl [lsearch $mylist $last_nick]    set mylist [lreplace $mylist $wl $wl]  }## Pick one of the remaining people at random. Make sure# we're not just playing with ourselves... :)#  set mylength [llength $mylist]  if {$mylength == 0} {  putserv "PRIVMSG $chan :Well, $nick, there's no one new to kiss! :("  return 0  }  set myindex [rand $mylength]  set result [lindex $mylist $myindex]  set rep {  "kiss"  "hugs"  "kiss into mouth of"  "do anything that want"  "go close of"  "kiss on the cheak to"  "explain what do you feel for"}## Build the suspense up somewhat#  putserv "PRIVMSG $chan :$nick spins the bottle ....."  putserv "PRIVMSG $chan :Where it will point nobody knows ...."  putserv "PRIVMSG $chan :Round and round it goes ....."  putserv "PRIVMSG $chan :Round and round it goes ....."  putserv "PRIVMSG $chan :and it slows and comes to a stop ..."  putserv "PRIVMSG $chan :pointing at ..... $result!!!!"  putserv "PRIVMSG $chan :Now $nick you must [lindex $rep [rand [llength $rep]]] $result!!!"## Now define last_nick for future spins...#  set last_nick $result  return 1}## Bind the command public so anyone can do it. (on any channel)#bind pubm - "*!spin*" spin_bunnybind pubm - "*!spin*" spin_bunny</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8431">anarchopunk</a> — Tue Nov 28, 2006 6:21 am</p><hr />
]]></content>
	</entry>
	</feed>
