#(pesce1234) how to remove every location flag

17 messages · Page 1 of 1 (latest)

lucid star
#

how to remove every location flag

dry nymphBOT
#

(pesce1234) how to remove every location flag

dry nymphBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

foggy summit
pulsar treeBOT
# foggy summit !vague
Info: vague

Your question is too vague to be able to answer well.

If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.

For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.

See also !xyproblem

foggy summit
#

Do you mean all of a locations flags?

#

Because generally you're suppose to keep track of what flags are applied to an objecttag.

#

While you can get an objecttags list of flags, you're not suppose to be using it except for debugging purposes.

lucid star
foggy summit
#

As said, you should keep track of the flags you've applied so you can remove them yourself.

frosty pendant
#

Going forward, you could flag a location with a map, i.e. flag all locationobjects with something like location.myflagname:value

#

Then you could get all the keys for locationobject.flag[location].keys

#

But yes, this is not to say that your own flag management is not important, because it is. When setting flags, you should have documentation what flag goes where, and have systems in place to modify/remove those flags.

#

For debugging/testing, you could use FlaggableObject.list_flags, but you should not rely on this for actual scripts, as it might not be reliable.

foggy summit
#

!t flaggableobject.list_flags

pulsar treeBOT