[MudWalker] Need some help with a rolling trigger

Mario Hache mhache
Sat Jan 31 19:36:03 PST 2004


Hello all,

I'm new to Mudwalker (using Rapscallion atm),
Trying to make a rolling trigger for 15 dices. Heres what the pattern 
that I need:

Dice left to distribute: 98, 97, 92, 92, 70, 50, 35, 35, 34, 32, 30, 
18, 16, 12, 11

Show, reroll, assign, unassign, default, help, or done?

======================

Is mudwalker supporting up to 15 variables? and heres what I have so 
far:

Trigger:
^Dice left to distribute: (.*), (.*), (.*), (.*), (.*), (.*), (.*), 
(.*), (.*), (.*), (.*), (.*), (.*), (.*), (.*)

Script:
@@local total == ($(arg[1])$ + $(arg[2])$ + $(arg[3])$ + $(arg[4])$ + 
$(arg[5])$ + $(arg[7])$ + $(arg[8])$ + $(arg[9])$ + $(arg[10])$ + 
$(arg[11])$ + $(arg[12])$ + $(arg[13])$ + $(arg[14])$ + $(arg[15])$)
@@echo ($total$)
@@if total >= 1100 then
@@echo (GOOD ROLL)
@@else
reroll
@@end


Im used to the Rapscallion scripting system with its %n and %1.
I'm trying to get the total of all dices echoed after each roll, and if 
its lower or = than 1100  sending the command "reroll"   (tried 
"message" instead of "echo" and it doesn't work)

What am I doing wrong?

Thanks for the help!!!





More information about the MudWalker mailing list