 |
Kissoon Newbie
Joined: 27 Nov 2002 Posts: 5 Location: USA
|
Posted: Wed Nov 27, 2002 11:59 am
I need help with a roller trigger. |
I could use a hand from anybody who knows how to put together a trigger for rolling up a character.
Here is what I have to deal with...
Str: 14 Int: 11 Wis: 16 Dex: 18 Con: 10 Arc: 18 Luc: 11 (Y/N)?
I want it to enter an N if any of the stats rolled are less than sixteen.
You can make greater than less than and and or statements in triggers can't you?
Thank you for your help. |
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Nov 27, 2002 5:46 pm |
You can put greater than, less than, and or statements in the #IF command, which can be used in a trigger.
#TR {Str: (%d) Int: (%d) Wis: (%d) Dex: (%d) Con: (%d) Arc: (%d) Luc: (%d) ~(Y/N~)?} {#IF ((%1 < 16) OR (%2 < 16) OR (%3 < 16) OR (%4 < 16) OR (%5 < 16) OR (%6 < 16) OR (%7 < 16)) {N} {Y}} {} {nocr|prompt}
LightBulb
Senior Member |
|
|
|
 |
Kissoon Newbie
Joined: 27 Nov 2002 Posts: 5 Location: USA
|
Posted: Thu Nov 28, 2002 6:38 am |
Thank you, LightBulb, for the prompt response to my problem. However I tried inputting what you said and it didn't seem to do anything.
Maybe you could see the problem if you stoped by the mud and tried out the rolling?
Its readynegto.com port 9000
I tried messing with it some but I don't know enough about what all the symbols are doing to know what could be the problem.
Thanks again. |
|
|
|
 |
Kissoon Newbie
Joined: 27 Nov 2002 Posts: 5 Location: USA
|
Posted: Thu Nov 28, 2002 12:10 pm |
Nevermind, I got it to work, replacing the stats names with asterisks did the trick.
|
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Nov 28, 2002 6:42 pm |
Just a guess, but it's usually a matter of getting the correct number of spaces between things. Since * will match both letters and spaces, that makes an easy fix.
LightBulb
Senior Member |
|
|
|
 |
|
|
|