Ex of current Skill edit:
Spoiler
Code: Select all
[h: input(
"Blunt|" +Blunt+ "|",
"Flail|" +Flail+ "|",
"Slashing|" +Slashing+ "|",
"Piercing|" +Piercing+ "|",
"Martial|" +Martial+ "|",
"H2H|" +Handtohand+ "|",
"Missile|" +Missile+ "|",
"Thrown|" +Throwing+ "|"
)]
Spoiler
Code: Select all
[h: input(
"Skill|Blunt,Flail,Slashing,Piercing,Martial,H2H,Missile,Thrown|Skill|LIST|VALUE=0",
"SkillMod|0|Mod"
)]
Skill: [skv = listget("Blunt,Flail,Slashing,Piercing,Martial,H2H,Missile,Thrown",Skill)]<br/>
Value: [sval = getProperty(skv)]<br/>
Spoiler
Code: Select all
[h: input(
"Sk1|" +getProperty("ChangeMe1")+ "|Crafting - ",
"Sk2|" +getProperty("ChangeMe2")+ "|Skill2",
"Sk3|" +getProperty("ChangeMe3")+ "|Skill3",
"Sk4|" +getProperty("ChangeMe4")+ "|Skill4",
"Sk5|" +getProperty("ChangeMe5")+ "|Skill5",
"Sk6|" +getProperty("ChangeMe6")+ "|Skill6"
)]
[setProperty("ChangeMe1",Sk1)]
[setProperty("ChangeMe2",Sk2)]
[setProperty("ChangeMe3",Sk3)]
[setProperty("ChangeMe4",Sk4)]
[setProperty("ChangeMe5",Sk5)]
[setProperty("ChangeMe6",Sk6)]
I want to allow for special skills to be added that I just don't want to build in because they are not necessary, nor do I want to give the players ideas.
I am looking for groups of Sm (Skill: Magic), Sg (Skill: General), Sc (Skill: Crafting), Sk (Skill: Knowledge), St (Stats). I don't know if I will need a special marker character like * or & or something to delineate from things that start with those letters. The biggest bothers are the crafting and knowledge skills, and that is what brought up the need for this question.
I tried looking, but I am not finding anything that looks close to an answer for this. Is there some sort of wildcard lookup that I can use, or the foreach, or something else? I am a simpleton when it comes to the macros. I don't have a Library Token and I am trying to stay away from one.
Let me know if I can fill in any blanks.
*edit* I have set up a lib token