public void HandleGMChat(string[] str2)
{
if (!GMS.Contains(player.Name))
return;
if (str2[0][0] == '~')
{
var message = str2[0].Remove(0, 1);
message = "[" + player.Name + "] : " + message;
World.SendToAll(new QueDele(player.Serial, "all", new UpdateChatBox(0x08, 0x02, 0x0, (short)message.Count(), message).Compile()));
}
switch (str2[0])
{
case "@tele":
GMTele(str2);
break;
case "@learn":
GMLearn(str2);
break;
case "@invis":
GMInvis(str2);
break;
case "@createitem":
GMCreateItem(str2);
break;
case "@kick":
GMKick(str2);
break;
case "@itemarray":
GMItemArray(str2);
break;
case "@tap":
GMTapPlayer(str2);
break;
}
}