useanything

“useanything” is a script attribute. It is the fallback for useon - if the object being used does not appear in the “useon” list, this script if specified will run instead. The script can read the “object” variable to see what object is being used.