I am trying to create a system that will allow players to allocate twelve skill points over at least three skills. The problem is I can't for some reason figure out the if's and else if's in harlow.
I've been able to get one to where it will let me click the link repeatedly while the counter goes up but once I try to add some control over it all it basically blows up in my face.
This is the little bit I have been able to get working:
[$Face]<Face|\
(link-repeat: "Face")[(set:$Face to it + 1)\
(replace: ?Face)[$Face]]\
Comments
Didn't work at all, didn't even get any errors it just doesn't do a single thing and I have no idea why or what else I could try.
a. line-breaks between the (if:) macro and it's associated hook
b. hooks associated with (set:) macros.
c. your (else-if:) macro is using a single equals sign (which means assignment) when it should be using a double equals sign == for comparison, or even better an is operator.
Try the following which adds a plus and minus sign after each skill, these can be used to increase / descrease each skill. ... the following a copy of the above with indents and line-breaks added to make it more readable.