- 1+: Currently useable /doability number
0: The ability is on a button but is currently unuseable.
-1: The skill is not on an ability button
-2: You do not have that skill
Currently ...
$char(ability,xxx) returns what /doability you have a skill set to (see Appendix C)
Also can return:
- 0: Skill not on an ability button
-1: You do not have that skill
-2: The ability is on a button but unuseable right now
- -2 available but not currently useable
1+ available and useable.
So if I wish to:
- ignore all unavailable skills, while
- note an available skill but currenly unuseable skill and
- do something interesting with a useable skill
Code: Select all
sub Fragment
/if $char(ability,xxx)==0 /return
/if $char(ability,xxx)==-1 /return
/if $char(ability,xxx)==-2 /goto :DoCommonStuff
/do useable stuff
/do more useable stuff
:DoCommonStuff
/stuff
/return
Code: Select all
/sub Fragment
/if $char(ability,xxx)<0 /return
/do something for all available skills
/if $char(ablity,xxx)>0 {
/do aesthetically pleasing stuff with usable skills
/do elegant stuff (note the subliminal propaganda)
}
/return
I REALLY need to get a life/job.
