Moderator: MacroQuest Developers
Code: Select all
#include routines
Sub Main
/call gotoloc 0,0
/call gotoloc 100,0
/call gotoloc 100,100
/call gotoloc 0,0
/return
readme.html wrote:/who [pc|npc|corpse|any] [range <min> <max>] [radius <radius>] [guild] [lfg] [name] [alert #] [noalert #]
Returns level, class, race, distance, direction and pet information of any found mobs.
pc, npc, corpse, any limits matching to specific type of spawn (default pc)
range <min> <max> limits matching to level range
radius <radius> limits matching to a radius around yourself
guild limits matching to members of your guild
lfg limits matching to people looking for a group
name limits matching to spawn/pcs that contain "name"
alert # limits matching to spawn/pcs that are on alert list #
noalert # limits matching to spawn/pcs that are not on alert list #
Code: Select all
/mqlog Starting Money is approximately $StartingPlatpp Code: Select all
#event locvar "you are at"
/loc
/mqlog locvar

Code: Select all
/mqlog Loc: $char(x), $char(y)Lurker_005 wrote:Is this what your after?is there a $char(z) also? not at home to checkCode: Select all
/mqlog Loc: $char(x), $char(y)