Script: Debug
From Ultima Online: The Second Age
inherits globals;
trigger targetobj { if (!isEditing(user)) { return (0x01); } if (usedon == NULL()) { return (0x00); } setObjVar(usedon, "debugger", user); return (0x00); }
trigger use { if (!isEditing(user)) { return (0x01); } systemMessage(user, "Select object to debug:"); targetObj(user, this); return (0x00); }