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

	<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>2021-04-29T14:37:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2021-04-29T14:37:35-04:00</updated>

		<published>2021-04-29T14:37:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109825#p109825</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109825#p109825"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109825#p109825"><![CDATA[
thank you CrazyCat for the reply.. i have added the code as you posted.<br><br>see below;<br><br><div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/tomekk/./org# home page: http://tomekk.org/## Version 0.2## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.html# lottery setup (stop/start/prize) only for channel ops?# 1 - only ops# 0 - everyoneset lottery_setup_for_ops 0bind pub - !start start_procbind pub - !stop stop_procbind pub - !prize prize_procbind pub - !lottery lottery_procbind pub - !reg reg_procbind pub - !regs regs_procproc set_defaults {} {   global game_status game_prize reg_status max_players player_list started_by   set game_status 0   set game_prize "0"   set reg_status 0   set max_players 0   set player_list [list]   set started_by ""}set_defaultsproc start_proc { nick uhost hand chan arg } {   global max_players game_status started_by lottery_setup_for_ops   if {$lottery_setup_for_ops == 1} {      if {[isop $nick $chan] == 0} {         putquick "PRIVMSG $chan :Sorry, @ needed."         return      }   }   putserv "PRIVMSG $chan :ok, tryin' to start"   if {$game_status == 0} {      set players_num [lindex [split $arg] 0]      if {[regexp {^([0-9]+)$} $players_num]} {         set max_players $players_num         set game_status 1         set started_by "$nick &lt;$uhost&gt;"      } else {         putserv "PRIVMSG $chan :Syntax is !start &lt;nb players&gt;"      }   } else {      putquick "PRIVMSG $chan :Lottery already started by: $started_by"   }}proc stop_proc { nick uhost hand chan arg } {   global game_status lottery_setup_for_ops   if {$lottery_setup_for_ops == 1} {      if {[isop $nick $chan] == 0} {         putquick "PRIVMSG $chan :Sorry, @ needed."         return      }   }   if {$game_status == 1} {      putquick "PRIVMSG $chan :Lottery wiped."      set_defaults   } else {      putquick "PRIVMSG $chan :Lottery not started."   }}proc prize_proc { nick uhost hand chan arg } {   global game_status reg_status max_players game_prize lottery_setup_for_ops   if {$lottery_setup_for_ops == 1} {      if {[isop $nick $chan] == 0} {         putquick "PRIVMSG $chan :Sorry, @ needed."         return      }   }   if {$game_prize == ""} {      if {$game_status == 1} {         if {$arg != ""} {            set game_prize $arg            set reg_status 1            putquick "PRIVMSG $chan :Lottery starting! Max users: $max_players (prize: $game_prize)"         }      } else {         putquick "PRIVMSG $chan :Lottery not started."      }   } else {      putquick "PRIVMSG $chan :Prize already set: $game_prize"   }}proc lottery_proc { nick uhost hand chan arg } {   global game_status game_prize max_players started_by   if {$game_status == 1} {      if {$game_prize != ""} {         putquick "PRIVMSG $chan :Lottery started by: $started_by, max players: $max_players, prize: $game_prize"      } else {         putquick "PRIVMSG $chan :Lottery started by: $started_by, max players: $max_players, prize: *not set*"      }   } else {      putquick "PRIVMSG $chan :Lottery not started."   }}proc reg_proc { nick uhost hand chan arg } {   global reg_status player_list max_players game_status game_prize   if {$reg_status == 1} {      set player_exists 0      foreach new_player $player_list {         set gimme_host [lindex [split $new_player ";"] 1]         if {$gimme_host == $uhost} {            set player_exists 1            break         }      }      if {$player_exists == 0} {         lappend player_list "$nick;$uhost"         if {[llength $player_list] == $max_players} {            set lottery_winner [expr {int(rand() * $max_players)}]            set the_winner_is [lindex [split [lindex $player_list $lottery_winner] ";"] 0]            putquick "PRIVMSG $chan :Ok we have a winner ! $the_winner_is"            set_defaults            }      }   } else {      putquick "PRIVMSG $chan :Prize not set, can't register - sorry."   }}proc regs_proc { nick uhost hand chan arg } {   global reg_status max_players game_prize player_list   if {$reg_status == 1} {      set current_in [llength $player_list]      set rdy_player_list [list]      foreach lt_player $player_list {         if {$lt_player != ""} {            set need_only_nick [lindex [split $lt_player ";"] 0]            lappend rdy_player_list $need_only_nick         }      }      if {$rdy_player_list == ""} {         set rdy_player_list "-"      } {         set rdy_player_list [join $rdy_player_list ", "]      }      if {$current_in &gt; 0} {         putquick "PRIVMSG $chan :Regs atm $current_in/$max_players: $rdy_player_list (prize: $game_prize)"      } else {         putquick "PRIVMSG $chan :No regs atm."      }   } else {      putquick "PRIVMSG $chan :Prize not set, so no regs stats."   }}putlog "lottery.tcl ver 0.2 by tomekk loaded"</code></pre></div><br>but then, this script need to be modified after all.<br><br><div class="codebox"><p>Code: </p><pre><code>&lt;@JohnDoe&gt; !start&lt;@Janebot&gt; ok, tryin' to start&lt;@Janebot&gt; Syntax is !start &lt;nb players&gt;&lt;@JohnDoe&gt; !start 10&lt;@Janebot&gt; ok, tryin' to start&lt;@JohnDoe&gt; !lottery&lt;@Janebot&gt; Lottery started by: JohnDoe &lt;jd@[censored].happens&gt;, max players: 10, prize: 1000000</code></pre></div>Another...<br><div class="codebox"><p>Code: </p><pre><code>&lt;@JohnDoe&gt; !start 4&lt;@Janebot&gt; ok, tryin' to start&lt;@testers&gt; !prize 1000000000&lt;@Janebot&gt; Prize already set: 1000000&lt;@testers&gt; !regs&lt;@Janebot&gt; Prize not set, so no regs stats.&lt;@testers&gt; !reg&lt;@Janebot&gt; Prize not set, so no regs stats.</code></pre></div><br>Thank you for the help CrazyCat..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Thu Apr 29, 2021 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-04-29T12:00:56-04:00</updated>

		<published>2021-04-29T12:00:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109824#p109824</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109824#p109824"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109824#p109824"><![CDATA[
Replace the actual start_proc:<div class="codebox"><p>Code: </p><pre><code>proc start_proc { nick uhost hand chan arg } {   global max_players game_status started_by lottery_setup_for_ops   if {$lottery_setup_for_ops == 1} {      if {[isop $nick $chan] == 0} {         putquick "PRIVMSG $chan :Sorry, @ needed."         return      }   }   if {$game_status == 0} {      set players_num [lindex [split $arg] 0]      if {[regexp {^([0-9]+)$} $players_num]} {         set max_players $players_num         set game_status 1         set started_by "$nick &lt;$uhost&gt;"      }   } else {      putquick "PRIVMSG $chan :Lottery already started by: $started_by"   }}</code></pre></div>with this one:<div class="codebox"><p>Code: </p><pre><code>proc start_proc { nick uhost hand chan arg } {   global max_players game_status started_by lottery_setup_for_ops   if {$lottery_setup_for_ops == 1} {      if {[isop $nick $chan] == 0} {         putquick "PRIVMSG $chan :Sorry, @ needed."         return      }   }   putserv "PRIVMSG $chan :ok, tryin' to start"   if {$game_status == 0} {      set players_num [lindex [split $arg] 0]      if {[regexp {^([0-9]+)$} $players_num]} {         set max_players $players_num         set game_status 1         set started_by "$nick &lt;$uhost&gt;"      } else {         putserv "PRIVMSG $chan :Syntax is !start &lt;nb players&gt;"      }   } else {      putquick "PRIVMSG $chan :Lottery already started by: $started_by"   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Apr 29, 2021 12:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2021-04-29T11:25:43-04:00</updated>

		<published>2021-04-29T11:25:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109823#p109823</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109823#p109823"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109823#p109823"><![CDATA[
i tried that option already.. but still no luck..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Thu Apr 29, 2021 11:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-04-29T10:40:38-04:00</updated>

		<published>2021-04-29T10:40:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109822#p109822</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109822#p109822"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109822#p109822"><![CDATA[
The script lacks an error message.<br>The command is <strong class="text-strong">!start &lt;nb players&gt;</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Apr 29, 2021 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2021-04-28T13:05:46-04:00</updated>

		<published>2021-04-28T13:05:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109818#p109818</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109818#p109818"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109818#p109818"><![CDATA[
<blockquote class="uncited"><div>The documentation for the script is essentially:<br><blockquote class="uncited"><div>#well just read the script, you'll understand :p </div></blockquote></div></blockquote>sorry my bad.. <br>see here what i mean..<div class="codebox"><p>Code: </p><pre><code>https://pasteboard.co/JZrJCsh.jpg</code></pre></div>already set for everyone..<div class="codebox"><p>Code: </p><pre><code>https://pasteboard.co/JZrK1ov.jpg</code></pre></div>nothing to show in the channel..<br><br>one more thing, if the bot join multiple channels.. it will enable the game to all channels.<br><br>please help, i don't know how to do scripts, i only test and use it.. im using eggdrop1.6.21<br><br>thanks in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Wed Apr 28, 2021 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-04-28T11:10:10-04:00</updated>

		<published>2021-04-28T11:10:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109814#p109814</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109814#p109814"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109814#p109814"><![CDATA[
Don't double-post, don't do thread-necrophilia<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Apr 28, 2021 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2021-04-28T02:03:00-04:00</updated>

		<published>2021-04-28T02:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109809#p109809</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109809#p109809"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109809#p109809"><![CDATA[
!start not working .. its not showing in the channel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Wed Apr 28, 2021 2:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2015-12-27T13:44:24-04:00</updated>

		<published>2015-12-27T13:44:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104611#p104611</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104611#p104611"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104611#p104611"><![CDATA[
added: !stop, !lottery commands, setup commands for ops or everyone (configured in script)<br>fixed: some logic in the script<br><br>Update on request.<br><div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/tomekk/./org# home page: http://tomekk.org/## Version 0.2## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.html# lottery setup (stop/start/prize) only for channel ops?# 1 - only ops# 0 - everyoneset lottery_setup_for_ops 1bind pub - !start start_procbind pub - !stop stop_procbind pub - !prize prize_procbind pub - !lottery lottery_procbind pub - !reg reg_procbind pub - !regs regs_procproc set_defaults {} {global game_status game_prize reg_status max_players player_list started_byset game_status 0set game_prize ""set reg_status 0set max_players 0set player_list [list]set started_by ""}set_defaultsproc start_proc { nick uhost hand chan arg } {global max_players game_status started_by lottery_setup_for_opsif {$lottery_setup_for_ops == 1} {if {[isop $nick $chan] == 0} {putquick "PRIVMSG $chan :Sorry, @ needed."return}}if {$game_status == 0} {set players_num [lindex [split $arg] 0]if {[regexp {^([0-9]+)$} $players_num]} {set max_players $players_numset game_status 1set started_by "$nick &lt;$uhost&gt;"}} else {putquick "PRIVMSG $chan :Lottery already started by: $started_by"}}proc stop_proc { nick uhost hand chan arg } {global game_status lottery_setup_for_opsif {$lottery_setup_for_ops == 1} {if {[isop $nick $chan] == 0} {putquick "PRIVMSG $chan :Sorry, @ needed."return}}if {$game_status == 1} {putquick "PRIVMSG $chan :Lottery wiped."set_defaults} else {putquick "PRIVMSG $chan :Lottery not started."}}proc prize_proc { nick uhost hand chan arg } {global game_status reg_status max_players game_prize lottery_setup_for_opsif {$lottery_setup_for_ops == 1} {if {[isop $nick $chan] == 0} {putquick "PRIVMSG $chan :Sorry, @ needed."return}}if {$game_prize == ""} {if {$game_status == 1} {if {$arg != ""} {set game_prize $argset reg_status 1putquick "PRIVMSG $chan :Lottery starting! Max users: $max_players (prize: $game_prize)"}} else {putquick "PRIVMSG $chan :Lottery not started."}} else {putquick "PRIVMSG $chan :Prize already set: $game_prize"}}proc lottery_proc { nick uhost hand chan arg } {global game_status game_prize max_players started_byif {$game_status == 1} {if {$game_prize != ""} {putquick "PRIVMSG $chan :Lottery started by: $started_by, max players: $max_players, prize: $game_prize"} else {putquick "PRIVMSG $chan :Lottery started by: $started_by, max players: $max_players, prize: *not set*"}} else {putquick "PRIVMSG $chan :Lottery not started."}}proc reg_proc { nick uhost hand chan arg } {global reg_status player_list max_players game_status game_prizeif {$reg_status == 1} {set player_exists 0foreach new_player $player_list {set gimme_host [lindex [split $new_player ";"] 1]if {$gimme_host == $uhost} {set player_exists 1break}}if {$player_exists == 0} {lappend player_list "$nick;$uhost"if {[llength $player_list] == $max_players} {set lottery_winner [expr {int(rand() * $max_players)}]set the_winner_is [lindex [split [lindex $player_list $lottery_winner] ";"] 0]putquick "PRIVMSG $chan :Ok we have a winner ! $the_winner_is"set_defaults}}} else {putquick "PRIVMSG $chan :Prize not set, can't register - sorry."}}proc regs_proc { nick uhost hand chan arg } {global reg_status max_players game_prize player_listif {$reg_status == 1} {set current_in [llength $player_list]set rdy_player_list [list]foreach lt_player $player_list {if {$lt_player != ""} {set need_only_nick [lindex [split $lt_player ";"] 0]lappend rdy_player_list $need_only_nick}}if {$rdy_player_list == ""} {set rdy_player_list "-"} {set rdy_player_list [join $rdy_player_list ", "]}if {$current_in &gt; 0} {putquick "PRIVMSG $chan :Regs atm $current_in/$max_players: $rdy_player_list (prize: $game_prize)"} else {putquick "PRIVMSG $chan :No regs atm."}} else {putquick "PRIVMSG $chan :Prize not set, so no regs stats."}}putlog "lottery.tcl ver 0.2 by tomekk loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Sun Dec 27, 2015 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2008-12-05T16:36:28-04:00</updated>

		<published>2008-12-05T16:36:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86082#p86082</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86082#p86082"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86082#p86082"><![CDATA[
its working <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><br>thanks !!!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Fri Dec 05, 2008 4:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-01T16:07:12-04:00</updated>

		<published>2008-12-01T16:07:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86037#p86037</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86037#p86037"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86037#p86037"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/oswiecim/./eu/./org# home page: http://tomekk.oswiecim.eu.org/## Version 0.1## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.htmlbind pub - !start start_procbind pub - !prize prize_procbind pub - !reg reg_procbind pub - !regs regs_procset game_status 0set game_prize ""set reg_status 0set max_players 0set player_list [list]proc start_proc { nick uhost hand chan arg } {global max_players game_statusif {$game_status == 0} {set players_num [lindex [split $arg] 0]if {[regexp {^([0-9]+)$} $players_num]} {set max_players $players_numset game_status 1}}}proc prize_proc { nick uhost hand chan arg } {global game_status reg_status max_players game_prizeif {$game_prize == ""} {if {$game_status == 1} {if {$arg != ""} {set game_prize $argset reg_status 1putquick "PRIVMSG $chan :Lottery starting! Max users: $max_players (prize: $game_prize)"}}}}proc reg_proc { nick uhost hand chan arg } {global reg_status player_list max_players game_status game_prizeif {$reg_status == 1} {set player_exists 0foreach new_player $player_list {set gimme_host [lindex [split $new_player ";"] 1]if {$gimme_host == $uhost} {set player_exists 1break}}if {$player_exists == 0} {lappend player_list "$nick;$uhost"if {[llength $player_list] == $max_players} {set lottery_winner [expr {int(rand() * $max_players)}]set the_winner_is [lindex [split [lindex $player_list $lottery_winner] ";"] 0]putquick "PRIVMSG $chan :Ok we have a winner ! $the_winner_is"set game_status 0set game_prize ""set reg_status 0set max_players 0set player_list [list]}}}}proc regs_proc { nick uhost hand chan arg } {global reg_status max_players game_prize player_listset current_in [llength $player_list]set rdy_player_list [list]foreach lt_player $player_list {if {$lt_player != ""} {set need_only_nick [lindex [split $lt_player ";"] 0]lappend rdy_player_list $need_only_nick}}if {$rdy_player_list == ""} {set rdy_player_list "-"} {set rdy_player_list [join $rdy_player_list ", "]}if {$reg_status == 1} {putquick "PRIVMSG $chan :Regs atm $current_in/$max_players: $rdy_player_list (prize: $game_prize)"}}putlog "lottery.tcl ver 0.1 by tomekk loaded"</code></pre></div>try it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>there can't be two nicks with the same name in da lottery <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> (based on user host)<br><br>script is working in "memory", after restart u need to start lottery again etc.. <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=10332">tomekk</a> — Mon Dec 01, 2008 4:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2008-12-01T12:54:22-04:00</updated>

		<published>2008-12-01T12:54:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86035#p86035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86035#p86035"/>
		<title type="html"><![CDATA[Lottery]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86035#p86035"><![CDATA[
Hello<br><br><br>Im looking for a simple script like:<br><br>Pvt eggdrop:<br>&lt;GaRfWeN&gt;!start 4<br>(4 is the number of max users)<br>&lt;GaRfWeN&gt;!prize CSS-Acount<br><br>Channel:<br>&lt;Eggdrop&gt;Lottery starting! Max users 4<br>&lt;nick1&gt;!reg<br>&lt;nick2&gt;!reg<br>&lt;nick1&gt;!regs<br>&lt;Eggdrop&gt;Regs atm 2/4: nick1 , nick2<br>&lt;nick3&gt;!reg<br>&lt;nick4&gt;!reg<br>&lt;Eggdrop&gt; Ok we have a winner ! $WinnerNick<br><br>The winner should be sorted<br><br>Can you do something like that ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><br>Ty.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Mon Dec 01, 2008 12:54 pm</p><hr />
]]></content>
	</entry>
	</feed>
