|
Fewyn Wanderer
Joined: 27 Sep 2002 Posts: 83
|
Posted: Sat Dec 03, 2005 11:06 pm
Help with one more thing |
Just need something to complete everything I've written up so far the help of a few people/
Hit Points: 2048 (2048)
This is what my prompt looks like, is there a way if the first number hits below 50% of the second number it will do some kind of command?
Thanks for any help! |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Dec 03, 2005 11:37 pm |
#trigger {Hit Points: (%d) ~((%d)~)} {#If (%1 < (%2 / %1)) {do command} {do nothing/do something else}}
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sun Dec 04, 2005 1:59 am |
Might need to make 1 little change to make it work correctly on the "prompt"
#trigger {Hit Points: (%d) ~((%d)~)} {#If (%1 < (%2 / %1)) {do command} {do nothing/do something else}} "" {prompt|nocr} |
|
|
|
|
|