rtatum Novice
Joined: 19 Sep 2004 Posts: 45 Location: Houston
|
Posted: Tue Jan 24, 2006 2:39 am
Simple trigger |
So I'm trying to make a simple trigger to respond yes or no to stat generation on a mud...
Basically I want it to say n or no until all stats generated are over 20, at which point it says yes, but I went about it the wrong way or made a mistake somewhere.
Here's what I've got...
Str~: (%d) Int~: (%d) Wis~: (%d) Dex~: (%d) Con~: (%d) Luk~: (%d) Agi~: (%d) Keep? ~(Y/N~)
#IF ((%1 >= 20) & (%2 >= 20) & (%3 >= 20) & (%4 >= 20) & (%5 >= 20) & (%6 >= 20) & (%7 >= 20)) {y} {n}
It seems to work, but what I also want it to do, is replace the numbers above 20, with the same number, but colored in red so I can see them easily when they stand out...
Str: 14 Int: 18 Wis: 13 Dex: 20 Con: 25 Luk: 25 Agi: 16 Keep? (Y/N)
So in this line, 20 for dex, 25 for con, and 25 for luk would all be red, and the rest would be left alone... |
|