objflag - syntax: objflag(obj,"flag-name",[0|1])
When called with an OBJ type variable and a flag name, returns true or false if that flag is set. If the third argument is set to 0 or 1, this turns the flag on and off respectively.
--- Is this item humming? if objflag(obj,"hum") then say("Cool! This item is humming.") end --- Remove rot-death from goal version of callhero portal. objflag(obj,"rot-death",0)