include library.utils; trigger OnGetAttributes (obj_id player, string[] names, string[] attribs) { //string file = getStringObjVar (self, "file"); //string entry = getStringObjVar (self, "entry"); //string_id detail = new string_id (file, entry); //string questDetails = "@"+detail.toString(); //int idx = 0; //while (idx >= 0) //{ // string currentName = names[idx]; // if (names[idx] == null) // { // names[idx] = "quest_details"; // attribs[idx] = questDetails; // idx = -1; // } // else // { // idx = idx + 1; // } //} return SCRIPT_CONTINUE; } trigger OnDestroy () { obj_id player = getObjIdObjVar( self, "newbie_handoff.player" ); if (hasObjVar(self, "hasClientPath")) { destroyClientPath(getObjIdObjVar(self, "hasClientPath")); removeObjVar(self, "hasClientPath"); } dictionary params = new dictionary(); params.put("name", getStringObjVar( self, "newbie_handoff.name" )); messageTo (player, "removeDatapadEntryData", params, 0, true); return SCRIPT_CONTINUE; }