|
Thudder Newbie
Joined: 19 Mar 2005 Posts: 6
|
Posted: Sat Mar 19, 2005 7:48 pm
Help with expanding variables |
I have two spells that I want to keep track of PE and PG. I catch them from my hp bard to the variables @PE and @PG. I reset based on their duration and spell points which works fine however I need to choose one or the other.
I have a variable EoG which i would like to put either PE or PG into. So can I have a #IF statement that reads #if (@(@EoG)<50) {cast @EoG} ?
Basically I just want it to figure out which spell i want to check the duration on and recast it. Is there different syntax i should be doing or an easier way to do it period? |
|
|
|
Dharkael Enchanter
Joined: 05 Mar 2003 Posts: 593 Location: Canada
|
Posted: Sat Mar 19, 2005 8:02 pm |
assuming
#VA PE 33
#VA PG 27
#VA EoG PE
then
#if (@{@EoG}<50) {cast @EoG}
should send 'cast PE' to the mud |
|
_________________ -Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style." |
|
|
|
|
|