 |
megamog75 Enchanter

Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Fri Jan 24, 2003 6:32 am
complex trigger for status window HELP!!!!! |
OK I have been useing this is my prompt
426hp 344m>390mv 164wt 350mxwt 1887287ex Ashen Fst>
This is my trigger
#TRIGGER {(%d)hp (%d)m>(%d)mv (%d)wt (%d)mxwt (%d)ex (*)>} {#var ymxwt %5;#var ymwt %4;#math yowt @ymxwt-@ymwt;#gvar yohp %1;#gvar yomana %2;#gvar yomv %3;#gvar yoex %6;#var area %7;#show @area}
I use #show so that I can test to see what @area gets.
The problem is if you try this it will show Ashen but wont show fst. it takes the fst puts it in the default and lockis it up so if ashen changes to hollow grds I would still get Ashen.
please oh please help.
I did get this to work one but can't remember how I did it.
megamog75 |
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Fri Jan 24, 2003 7:11 am |
Its how zMud treats spaces in its handling of parameters. To take all the information
use "" or {}
#TRIGGER {(%d)hp (%d)m>(%d)mv (%d)wt (%d)mxwt (%d)ex (*)>} {#var ymxwt %5;#var ymwt %4;#math yowt @ymxwt-@ymwt;#gvar yohp %1;#gvar yomana %2;#gvar yomv %3;#gvar yoex %6;#var area {%7};#show @area}
Ton Diening |
|
|
 |
megamog75 Enchanter

Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Fri Jan 24, 2003 7:18 am |
Thanks that worked and the funny thing is as you wrote this I figured this out too.
and this work also.
#TRIGGER {&%d{yohp}hp &%d{yomana}m>&%d{yomv}mv &%d{ymwt}wt &%d{ymxwt}mxwt &%d{yoex}ex &%*{area}geo>} {#math yowt @ymxwt-@ymwt;#show @area} "" {prompt}
megamog75 |
|
|
 |
|
|