Anyhow, my question. Within Lusternia, there's an affliction called "Confusion", which sometimes prevents commands that you send from being done, because, well, you're too confused to do it. This is easily cured by eating Pennyroyal. Now, because of the nature of "Confusion", sometimes when I go to remove the Pennyroyal from my Rift, or when I go to eat it, the command doesn't fire because, again, I'm "too confused" to do it.
I've been looking through the Official Lusternia forums, and I came across http://forums.lusternia.com/index.php?showtopic=1445, which is a sort of guide on how to build a curing system. The language is written in ZScript, but it's fairly easy to follow regardless.
Now, scrolling down, we see an alias that this person made regarding eating Pennyroyal. It basically states:
- Take the herb from your rift and eat it.
- Set the herbbalance variable to 0.5
- Fire off a timer, that after 1 second, if herbbalance == 0.5 then set herbbalance =1
How do I go about setting up a script to do exactly that?