private void Command201(dynamic args)
{
AppendText("@>");
string text;
int mapId = args[1];
int mapX = args[2];
int mapY = args[3];
string dir = new[] { "", ", Down", ", Left", ", Right", ", Up" }[args[4] / 2];
string fade = args[5] == 0 ? "" : ", No Fade";
if (args[0] == 0) // Direct Appointment
{
text = String.Format("Transfer Player:[{0}], ({1:d3}, {2:d3}){3}{4}",
ControlHelper.GetMapLabel(mapId), mapX, mapY, dir, fade);
}
else // Appoint with Variables
{
text = String.Format("Transfer Player:Variable [{0}][{1}][{2}]{3}{4}",
Project.Variables[mapId], Project.Variables[mapX],
Project.Variables[mapY], dir, fade);
}
this.AppendText(text, Color.Brown);
}