var/mob/T
for(T in block(locate(1,1,1),locate(3,3,1)))
world << "[T.x] and [T.y]"
Problem description: Trying to print the (x, y) of all mobs in a block, from (1,1) to (3,3) let's say but this keeps printing... nothing even know I do place mobs (directly from the map). What could be wrong? Thanks
You will want to use bounds() instead.
Adjust that to your needs. bounds() uses pixel coordinates, though, hence the need for TILE_WIDTH and TILE_HEIGHT.