for 1) and 3) I hate strange global %vars that noone knows what they're for and change seemingly randomly. In this case, if the %attempt is set or even used somewhere else, the logic behind it is most likely unintended or (intended and) just plain wrong

So if that %attempt was indeed used elsewhere, he should thank me for breaking it and making him use something that has at least some chance of being correct. :tongue:
I have the strong feeling that the OP always uses /set for local vars (like %attempt, %tthier-money) etc, where it's really better to use /var %attempt = bleh for those, so that they don't interfere with other scripts, giving strange results and that your %variables sections does not look like a collection of counters and stuff

for 2) I don't see any half hours in the original code or in mine
