Suppose I have an integer variable declared beforehand in Module Properties --> Advanced --> Variables, like say 'abc'. With a value of 0 at first. Suppose I want this variable to increase by 1 everytime my PC completes some quest, until it reaches say 4. Thus each time a quest is completed a script will be run which goes:
If abc is less than 4, then increase it by 1.
How do you translate this into NWScript? I believe I did something like this before, except I can't remember now how I did it. I'm sure it can't be just like this:
if abc < 4
abc += 1;
No, I need to declare abc in some way, if I remember correctly. So how do you script this? Help, please? '>