[Tinymux] Dice Program
Merrie S
merries at comcast.net
Sun May 15 17:13:55 EDT 2005
Im having a bit of trouble with the following program, here is how I am creating the dice with the modifier command added on.
@create Dice
@va dice=&CMD_ at ROLL_MOD Global Commands=$@roll
*d*+*:[setq(2,die(%0,%1))][setq(3,add(%q2,%2))];@switch
eq(%q2,mul(%0,%1))=1,{@pemit %#=%[Dice %0D%1+%2:%] %q3
%ch%crNatural!!!},{@pemit %#=%[Dice %0D%1+%2:%] %q3}
It gives me a 'Set' then a 'Huh' not sure what line its not programming correctly.
Thanks for the help.
Merrie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.tinymux.org/pipermail/tinymux/attachments/20050515/56f59f56/attachment.html
More information about the Tinymux
mailing list