If `successrefitem` is called after  `input` (or even `select`). When function is closed, there's a invisible thing left on the map with and 'ellipsis' (npc interaction thing) when you hover on it.   function script F_TestFuncHere { input .@refine_count; successrefitem 1,.@refine_count; return; // also tried close or end. didn't matter } I use this function as item script.