ahh but that only gives you coords doesn't tell you what region you're in if you do the [get location
I would myself like to alter this to give the [get map location also, but not sure what I would add and I can't find that command anywhere to see what it looks like lol I looked in every file I could and no luck. Mine also is a little different than yours is Mortis:
[code:1]using System;
using System.IO;
using System.Text;
using System.Reflection;
using System.Collections;
using Server;
namespace Server.Scripts.Commands
{
public class Where
{
public static void Initialize()
{
Server.Commands.Register( "Where", AccessLevel.Player, new CommandEventHandler( Where_OnCommand ) );
}
private static void Where_OnCommand( CommandEventArgs e )
{
e.Mobile.Say( "I am in " + e.Mobile.Region.Name );
e.Mobile.Say( e.Mobile.Location.X + ", " + e.Mobile.Location.Y + ", " + e.Mobile.Location.Z);
}
}
}[/code:1]
Also Mortis is there more to your code than that one? seems you have some variables it's using {0}, {1}, etc... that mine doesn't do, so is there something else that goes with that file that it's taking the info from?