[Achaea] Roulette Counter

Share your scripts and packages with other Mudlet users.
Titonus
Posts: 10
Joined: Sat Sep 10, 2011 6:41 am

Re: [Achaea] Roulette Counter

Post by Titonus »

I clipped a bunch of stuff, but basically, the end of the startroulette alias was set up like this:
roulette34 = 0
roulette35 = 0
roulette36 = 0
xecho("(counts reset)")


roulettered = 0
rouletteblack = 0
roulettegreen = 0
And I moved it to like this:
roulette34 = 0
roulette35 = 0
roulette36 = 0
roulettered = 0
rouletteblack = 0
roulettegreen = 0

xecho("(counts reset)")
And now it works. I'm not sure what xecho is though...

Xith
Posts: 15
Joined: Sat Aug 20, 2011 10:17 am

Re: [Achaea] Roulette Counter

Post by Xith »

did you do RSTART or roulette start before playing? Because that should fix pretty much everything.

EDIT: ROULETTESTART actually.

Xith
Posts: 15
Joined: Sat Aug 20, 2011 10:17 am

Re: [Achaea] Roulette Counter

Post by Xith »

Also, found another error.

In the 'roulettebet' trigger, the top line should be changed from

Code: Select all

if rbetting==true then
to

Code: Select all

if rbetting==true or rbetting==nil then



And the rstop alias

Code: Select all

rbetting=nil
should have been

Code: Select all

rbetting=false

Phoenix
Posts: 92
Joined: Tue Feb 15, 2011 3:23 am

Re: [Achaea] Roulette Counter

Post by Phoenix »

Titonus wrote:I clipped a bunch of stuff, but basically, the end of the startroulette alias was set up like this:
roulette34 = 0
roulette35 = 0
roulette36 = 0
roulettered = 0
rouletteblack = 0
roulettegreen = 0

xecho("(counts reset)")
And now it works. I'm not sure what xecho is though...
xecho is -nothing-. xEcho is a function used by other echos... but that's not the right format. This should have been 'echo' possibly

Also, when someone asks for the error log, we want the Error, not the Debug. Error is that round red button in the scripting, with a white exclamation point that says ERROR underneath it. Debug is a ladybug.

Xith
Posts: 15
Joined: Sat Aug 20, 2011 10:17 am

Re: [Achaea] Roulette Counter

Post by Xith »

xecho is a personal echo function of mine. Should have been regular echo.

Post Reply