i dont understand, surely if u can click the npc you have to be on that map?
edit: from the if and act statements doc
map bits:
checkmonmap usage: CHECKMONMAP d024 10 what it does: if there's less then 10 mobs on the map then it's false
checkrealmonmap usage: CHECKREALMONMAP d024 10 what it does: if there's less then 10 mobs (pets not counted) on the map then it's false
checkhum usage: CHECKHUM d024 10 what it does: if there's less then 10 players on the d024 map then this is false
checkpos usage: CHECKPOS mapname x y what it does: checks if you are standing on map called 'mapname' at coords x, y
checkrangemoncount usage: CHECKRANGEMONCOUNT mapname x y range = 5 what it does: checks on map called 'mapname' arround x,y coords if there are 5 mobs in a range, options: =,<,>,>=
checkinmaprange usage: CHECKINMAPRANGE mapname x y range what it does: checks if you are within the range of those x/y coords on that mapname
checkmaphumancount usage: CHECKMAPHUMANCOUNT mapname = 6 what it does: checks if there are 6 humans on map with name 'mapname', options: =,<,>,>=
checkmapmoncount usage: CHECKMAPMONCOUNT mapname > 5 what it does: same as above but for monsters on the map
checkmap usage: CHECKMAP mapname what it does: checks if the map you are on is called 'mapname'