// add the challenge button
AddLabel(x1 + 30, 190, 55, a.Text(200229)); // "Challenge"
AddButton(x1, 190, 0xFAB, 0xFAD, 400, GumpButtonType.Reply, 0);
[color=red]
if (from.AccessLevel >= AccessLevel.GameMaster)
{[/color]
// add the last man standing challenge button
AddLabel(x2 + 30, 190, 55, a.Text(200230)); // "LMS"
AddButton(x2, 190, 0xFAB, 0xFAD, 401, GumpButtonType.Reply, 0);
// add the deathmatch challenge button
AddLabel(x3 + 30, 190, 55, a.Text(200231)); // "Deathmatch"
AddButton(x3, 190, 0xFAB, 0xFAD, 403, GumpButtonType.Reply, 0);
// add the kingofthehill challenge button
AddLabel(x1 + 30, 215, 55, a.Text(200232)); // "KotH"
AddButton(x1, 215, 0xFAB, 0xFAD, 404, GumpButtonType.Reply, 0);
// add the deathball challenge button
AddLabel(x2 + 30, 215, 55, a.Text(200233)); // "DeathBall"
AddButton(x2, 215, 0xFAB, 0xFAD, 405, GumpButtonType.Reply, 0);
// add the teamlms challenge button
AddLabel(x3 + 30, 215, 55, a.Text(200234)); // "Team LMS"
AddButton(x3, 215, 0xFAB, 0xFAD, 406, GumpButtonType.Reply, 0);
// add the team deathmatch challenge button
AddLabel(x1 + 30, 240, 55, a.Text(200235)); // "Team DMatch"
AddButton(x1, 240, 0xFAB, 0xFAD, 407, GumpButtonType.Reply, 0);
// add the team deathball challenge button
AddLabel(x2 + 30, 240, 55, a.Text(200236)); // "Team DBall"
AddButton(x2, 240, 0xFAB, 0xFAD, 408, GumpButtonType.Reply, 0);
// add the team KotH challenge button
AddLabel(x3 + 30, 240, 55, a.Text(200237)); // "Team KotH"
AddButton(x3, 240, 0xFAB, 0xFAD, 409, GumpButtonType.Reply, 0);
// add the CTF challenge button
AddLabel(x1 + 30, 265, 55, a.Text(200238)); // "CTF"
AddButton(x1, 265, 0xFAB, 0xFAD, 410, GumpButtonType.Reply, 0);
[color=red]}[/color]