Surely this is a better way to do it, less complex....
Create a zone. With a list of your 'no drop' rooms.
zones { no_drop : zone { locations = [ main_chamber,under_chamber,strange_room ] } }
Then under the On Command list....
: match "drop _;drop all" { : if (no_drop) { : print "CAN'T DO THAT HERE!" ; : done ; } }
Would that not work? Seems simpler than the above stuff. I've not tested this btw. ;-)
This seems quite flexible too as you can add whatever locations you like to the list and you can add additional equations to the IF statement for things like if you're holding a particular item, then you are allowed to drop things. That kind of stuff. :-)