ID:261401
 
i want to make so if a guy already has an overlay he can't buy the same on again.
in order to do this you'd need a var like

mob/var/Overlayon

so whenever you do something like mob/verb/powerup and it gives you the aura overlay when it's going through the verb when it gets to the point where it puts the overlay on the mob put mob.Overlayon=1 right after it

then when you want to turn it off you have a verb that puts the mobs Overlayon=0.

to make it check to see if an overlay is on is simple now you just put if(mob.Overlayon==1) return wherever you need it :)

I hope this helps :)