#IF command help

Mu online season 21 - grand opening

Xanan

LOMCN Veteran
Veteran
Loyal Member
Jan 5, 2006
1,203
10
124
I'm wondering if its possible to check what map you on using TD's files using a check map command.



Rought estimate

#IF
checkmap map
#ACT
givegold 2000
 

iJam

To the rhythm
VIP
Oct 8, 2007
1,526
105
240
London
Do You mean the GM or a Player ? lol

GM - @map

player - the only way i no is by using the teleport thingy
if ur teleported onto a map giv u gold or w/e u wana do
eg: like when u teleport u get a TownTeleport
 
Upvote 0

jasper

Golden Oldie
Golden Oldie
Sep 10, 2005
890
3
105
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'
 
Last edited:
Upvote 0