[RELEASE] Dice Game script (event)

07/29/2011 23:59 magewarior2#1
Hi all, this is a simple event i made for you...


you have to add the npc yourself, but however here is the script!

what is this dice game?

Well, it is gambling..... but on EO :)


(this game has been made to lose more than you win)
(some players will win eps, moste will lose more than they can win)
(chance is 1 on 3 you win)

I made 2 scrips,
1 with VIP
play 2000 Eps = win 3000Eps (Vip 7)
play 200 Eps = win 300Eps (Vip6)
play 20 Eps = win 30Eps

1 without VIP
play 2000 Eps = win 3000Eps
play 200 Eps = win 300Eps
play 20 Eps = win 20Eps

change eps to win. (EDIT RED COLLOR)

play 2000eps
Code:
UPDATE `cq_action` SET param= 'I~wane~play~for~[COLOR="Red"]2000[/COLOR]~Eps. 10000020' where id= '10000013';
UPDATE `cq_action` SET param= 'You~sure~you~wish~to~play~with~[COLOR="red"]2,000[/COLOR]~Eps?' where id= '10000022';
UPDATE `cq_action` SET param= 'e_money += -[COLOR="red"]2000[/COLOR]' where id= '10000025';
UPDATE `cq_action` SET param= 'the~right~number~you~win~[COLOR="red"]3,000[/COLOR]~Eps!' where id= '10000028';
UPDATE `cq_action` SET param= 'e_money += [COLOR="red"]3000[/COLOR]' where id= '10000055';
UPDATE `cq_action` SET param= 'Congrats, You did won [COLOR="red"]3,000[/COLOR] Eps!' where id= '10000056';
UPDATE `cq_action` SET param= 'Congrats, %user_name has won [COLOR="red"]3,000[/COLOR] Eps with the Dice Game!!!' where id= '10000057';
play 200 eps
Code:
UPDATE `cq_action` SET param= 'I~wane~play~for~[COLOR="Red"]200[/COLOR]~Eps. 10000120' where id= '10000014';
UPDATE `cq_action` SET param= 'You~sure~you~wish~to~play~with~[COLOR="red"]200[/COLOR]~Eps?' where id= '10000122';
UPDATE `cq_action` SET param= 'e_money += -[COLOR="red"]200[/COLOR]' where id= '10000125';
UPDATE `cq_action` SET param= 'the~right~number~you~win~[COLOR="red"]300[/COLOR]~Eps!' where id= '10000128';
UPDATE `cq_action` SET param= 'e_money += [COLOR="red"]300[/COLOR]' where id= '10000155';
UPDATE `cq_action` SET param= 'Congrats, You did won [COLOR="red"]300[/COLOR] Eps!' where id= '10000156';
UPDATE `cq_action` SET param= 'Congrats, %user_name has won [COLOR="red"]300[/COLOR] Eps with the Dice Game!!!' where id= '10000157';
play 20 eps
Code:
UPDATE `cq_action` SET param= 'I~wane~play~for~[COLOR="Red"]20[/COLOR]~Eps. 10000222' where id= '10000015';
UPDATE `cq_action` SET param= 'You~sure~you~wish~to~play~with~[COLOR="red"]20[/COLOR]~Eps?' where id= '10000222';
UPDATE `cq_action` SET param= 'e_money += -[COLOR="red"]20[/COLOR]' where id= '10000225';
UPDATE `cq_action` SET param= 'the~right~number~you~win~[COLOR="red"]30[/COLOR]~Eps!' where id= '10000228';
UPDATE `cq_action` SET param= 'e_money += [COLOR="red"]30[/COLOR]' where id= '10000255';
UPDATE `cq_action` SET param= 'Congrats, You did won [COLOR="red"]30[/COLOR] Eps!' where id= '10000256';
UPDATE `cq_action` SET param= 'Congrats, %user_name has won [COLOR="red"]30[/COLOR] Eps with the Dice Game!!!' where id= '10000257';
enjoy!
07/30/2011 00:06 wolfvb#2
nice work keep it up
wow i love it
07/30/2011 01:43 Marcus*#3
nice added to all things guide
08/02/2011 09:34 Soul[PM]#4
good work man keep it up ....:)