Rolling for stats

Posted by Riketsu on Wed 08 Aug 2007 05:50 AM — 2 posts, 14,164 views.

#0
I need a script that hits "n" for every line until preset stats are met. Is there such a script available? if not, can someone make one?

Here is an example of text from the mud i'm playing.

Str: 15 Int: 16 Wis: 9 Dex: 15 Con: 14 Cha: 16 Lck: 8
Keep? (Y/N)
USA #1
There are quite a few stat roller scripts on the forums if you search for them. Also a lot of complaints about muds using rolled stats since they just wind up having people using automated stat rollers which chew up an insane amount of resources.

Pretty much just have a trigger match "Str: * Int: * Wis: * Dex: * Con: * Cha: * Lck: *" and have a few script lines of

if %1 < __ and %2 < __ and %3 < __ ... then
  Send( "n" )
else
  Send( "y" )
end