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

	<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-05-11T13:44:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-11T13:44:40-04:00</updated>

		<published>2006-05-11T13:44:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62936#p62936</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62936#p62936"/>
		<title type="html"><![CDATA[found slot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62936#p62936"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set botnick $botnick</code></pre></div>lol, as if you're naming me Fayez - which is already my name <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu May 11, 2006 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whiteshark]]></name></author>
		<updated>2006-05-11T06:46:35-04:00</updated>

		<published>2006-05-11T06:46:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62927#p62927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62927#p62927"/>
		<title type="html"><![CDATA[found slot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62927#p62927"><![CDATA[
oke i have founded i have delete de line set botnick<br>now its work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6341">whiteshark</a> — Thu May 11, 2006 6:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whiteshark]]></name></author>
		<updated>2006-05-11T06:16:26-04:00</updated>

		<published>2006-05-11T06:16:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62925#p62925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62925#p62925"/>
		<title type="html"><![CDATA[found slot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62925#p62925"><![CDATA[
this error give it <br><br>[12:16] Tcl error in file 'eggdrop.conf':<br>[12:16] can't set "botnick": read-only variable<br>    while executing<br>"set botnick "$botnick""<br>    (file "scripts/slots.tcl" line 25)<br>    invoked from within<br>"source scripts/slots.tcl"<br>    (file "eggdrop.conf" line 1376)<br>[12:16] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6341">whiteshark</a> — Thu May 11, 2006 6:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-11T06:11:48-04:00</updated>

		<published>2006-05-11T06:11:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62924#p62924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62924#p62924"/>
		<title type="html"><![CDATA[found slot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62924#p62924"><![CDATA[
What's the error message?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu May 11, 2006 6:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whiteshark]]></name></author>
		<updated>2006-05-11T04:59:47-04:00</updated>

		<published>2006-05-11T04:59:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62922#p62922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62922#p62922"/>
		<title type="html"><![CDATA[found slot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62922#p62922"><![CDATA[
i have found this slot script but when i loaded the script the bot die<br>help me? please<div class="codebox"><p>Code: </p><pre><code>########################################################################           --The Ultimate eggdrop Slot Machine --                    ## Slots v2.0 --  original code by Lorna MacTavish  (v1.0) 6/22/97     ##                v2.0 by Chuck Jedlicka 11/15/97                      ##########################################################################  This script is ready to go! No edits needed.#  Works great on eggdrop v1.0 and v1.1.5##  Slots.TCL Written by Lorna MacTavish (macgirl@poboxes.com)#  June 22/1997#  This is a slot machine proc for your eggdrop bot#  Tested on eggdrop 1.0p##  Syntax:  !slots#  type this on the channel##  revised November 15,1997 by Chuck Jedlicka [jcme (jcme1@hotmail.com)]#  changed output to channel, added message funtionality so #  your users don't tie up the channel. Added prizes and more...#  #                     Command for chan: !slots#                     Command for /msg: slotsset botnick "$botnick"set slots {  "Hearts"   "Lemon"  "Orange"  "Cherry"  "Lime"  "Bar"  "Bell"}bind pub - !slots play_slotsproc play_slots {nick uhost handle chan args} {  putserv "PRIVMSG $chan :&lt;&lt;$nick&gt;&gt; puts a quarter in the slot machine"  putserv "PRIVMSG $chan :&lt;&lt;$nick&gt;&gt; pulls the lever"  putserv "PRIVMSG $chan :The wheels are spinning..."  putserv "PRIVMSG $chan :coming to a stop..."  putserv "PRIVMSG $chan :&lt;&lt;$nick&gt;&gt; is feeling mighty lucky today!"  putserv "PRIVMSG $chan :here ya go!"  global slots botnick  set slot1 [lindex $slots [rand [llength $slots]]]  set slot2 [lindex $slots [rand [llength $slots]]]  set slot3 [lindex $slots [rand [llength $slots]]]  putserv "PRIVMSG $chan :| $slot1 | $slot2 | $slot3 |"  if {$slot1 == $slot2} {    if {$slot2 == $slot3} {      putserv "PRIVMSG $chan :Congratulations! $nick  You won the jackpot!  \$500 !! =)"      putserv "PRIVMSG $chan :Hey everyone! $nick Just won the Jackpot!"      putserv "notice  $nick :Don't ya wish it were Real!!  hehehe :P"      return 1    }     putserv "PRIVMSG $chan :Aww gee Shucks! $nick, :(  2 out of 3 only pays \$50 !  =)"     putserv "NOTICE  $nick :Too bad it's only true on IRC... like your other \"scores\" :P"    return 1  }  if {$slot3 == $slot2} {    if {$slot2 == $slot1} {      putserv "PRIVMSG $chan :Congratulations! $nick  You won the Jackpot! \$500 !! =)"      putserv "PRIVMSG $chan :Hey everyone! $nick Just won the Jackpot!"      putserv "notice  $nick :Don't ya wish it were Real!!  hehehe :P"      return 1    }    putserv "PRIVMSG $chan :Not too shabby $nick  you just won \$50 !  =)"    putserv "NOTICE  $nick :Too bad it's only true on IRC... like your other \"scores\" :P"    return 1  }  if {$slot1 == $slot3} {    if {$slot2 == $slot1} {      putserv "PRIVMSG $chan :Congratulations! $nick  You won the Jackpot!  \$500 !! =)"      putserv "PRIVMSG $chan :Hey everyone! $nick Just won the Jackpot!"      putserv "notice  $nick :Don't ya wish it were Real!!  hehehe :P"      return 1    }    putserv "PRIVMSG $chan :Getting close there $nick,  outside pays \$25 ! =)"    putserv "NOTICE  $nick :Too bad its like your other \"SCORES\" on IRC  :P"    return 1  }  putserv "PRIVMSG $chan :Sorry $nick not everyone can be a winner.  Better luck next time!"  putserv "NOTICE  $nick :You can also play in private!  Use /msg $botnick slots  Good Luck!!"  return 1}bind msg - slots play_slotsmproc play_slotsm {nick uhost handle chan args} {  putserv "PRIVMSG $nick :&lt;&lt;$nick&gt;&gt; puts a quarter in the slot machine"  putserv "PRIVMSG $nick :&lt;&lt;$nick&gt;&gt; pulls the lever"  putserv "PRIVMSG $nick :The wheels are spinning..."  putserv "PRIVMSG $nick :coming to a stop..."  putserv "PRIVMSG $nick :&lt;&lt;$nick&gt;&gt; is feeling mighty lucky today!"  putserv "PRIVMSG $nick :here ya go!"  global slots  set slot1 [lindex $slots [rand [llength $slots]]]  set slot2 [lindex $slots [rand [llength $slots]]]  set slot3 [lindex $slots [rand [llength $slots]]]  putserv "PRIVMSG $nick :| $slot1 | $slot2 | $slot3 |"  if {$slot1 == $slot2} {    if {$slot2 == $slot3} {      putserv "PRIVMSG $nick :Congratulations! $nick  You won the jackpot!  \$500 !! =)"      putserv "PRIVMSG $nick :Hey everyone! $nick Just won the Jackpot!"      putserv "PRIVMSG $nick :Don't ya wish it were Real!!  hehehe :P"      return 1    }     putserv "PRIVMSG $nick :Aww gee Shucks! $nick, :(  2 out of 3 only pays \$50 !  =)"     putserv "PRIVMSG $nick :Too bad it's only true on IRC... like your other \"scores\" :P"    return 1  }  if {$slot3 == $slot2} {    if {$slot2 == $slot1} {      putserv "PRIVMSG $nick :Congratulations! $nick  You won the Jackpot! \$500 !! =)"      putserv "PRIVMSG $nick :Hey everyone! $nick Just won the Jackpot!"      putserv "PRIVMSG $nick :Don't ya wish it were Real!!  hehehe :P"      return 1    }    putserv "PRIVMSG $nick :Not too shabby $nick  you just won \$50 !  =)"    putserv "PRIVMSG $nick :Too bad it's only true on IRC... like your other \"scores\" :P"    return 1  }  if {$slot1 == $slot3} {    if {$slot2 == $slot1} {      putserv "PRIVMSG $nick :Congratulations! $nick  You won the Jackpot!  \$500 !! =)"      putserv "PRIVMSG $nick :Hey everyone! $nick Just won the Jackpot!"      putserv "PRIVMSG $nick :Don't ya wish it were Real!!  hehehe :P"      return 1    }    putserv "PRIVMSG $nick :Getting close there $nick,  outside pays \$25 ! =)"    putserv "PRIVMSG $nick :Too bad its like your other \"SCORES\" on IRC  :P"    return 1  }  putserv "PRIVMSG $nick :Sorry $nick not everyone can be a winner.  Better luck next time!"  putserv "PRIVMSG $nick :Thanks for playing privately!  Your fellow channel members appreciate it! =)"  return 1}putlog "Slots 2.0 loaded succesfully"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6341">whiteshark</a> — Thu May 11, 2006 4:59 am</p><hr />
]]></content>
	</entry>
	</feed>
