well anyway the first command i posted works fine =] also has /allto tc and much more
if(Splitter[0] == "@getall") {
ushort MapID = MyChar.LocMap;
ushort X = MyChar.LocX;
ushort Y = MyChar.LocY;
if(Splitter.Length == 3) {
ushort.Parse(Splitter[1], out MapID);
ushort.Parse(Splitter[2], out X);
ushort.Parse(Splitter[3], out Y);
if(MapID == 0 || X == 0 || Y == 0) return; // Stop executing
}
foreach(DictionaryEntry DE in World.AllChars)
{
Character Target = (Character)DE.Value;
if(Target == null) return; // Just incase it is null for some reason.
Target.Teleport(MapID, X, Y);
}
}