I made one a little while ago when testing this source...not much difference just some validation on it:
Works for me, but so would the one posted before, goes in chat.cs within the
method.
Usage /tele mapid co-ord-x co-ord-y
e.g. /tele 1022 150 150
or /mm 1022 150 150 for the previous example posted by tao4229
Code:
if (TheClient.Status == 8)
{
if (Splitter[0] == "/tele")
{
if (Splitter[1] != "" & Splitter[2] != "" & Splitter[3] != "")
{
TheClient.MyChar.Teleport(short.Parse(Splitter[1]), short.Parse(Splitter[2]), short.Parse(Splitter[3]));
}
}
}
Code:
if (Message[0] == '/')
Usage /tele mapid co-ord-x co-ord-y
e.g. /tele 1022 150 150
or /mm 1022 150 150 for the previous example posted by tao4229