Esempio n. 1
0
        public void BeginListPlayerAction(string player)
        {
            SkMenu skMenu = new SkMenu();

            skMenu.AddItem("Kick", (name) =>
            {
                SkCommandProcessor.ProcessCommand("/kick " + player, SkCommandProcessor.LogTo.Chat);
                BeginMenu();
            }, "Kick Player");
            skMenu.AddItem("Ban", (name) =>
            {
                SkCommandProcessor.ProcessCommand("/ban " + player, SkCommandProcessor.LogTo.Chat);
                BeginMenu();
            }, "Ban Player");
            skMenu.AddItem("Heal", (name) =>
            {
                SkCommandProcessor.ProcessCommand("/heal " + player, SkCommandProcessor.LogTo.Chat);
                BeginMenu();
            }, "Heal Player");
            skMenu.AddItem("kill", (name) =>
            {
                SkCommandProcessor.ProcessCommand("/kill " + player, SkCommandProcessor.LogTo.Chat);
                BeginMenu();
            }, "Kill Player");
            skMenu.AddItem("Tp To player", (name) =>
            {
                SkCommandProcessor.ProcessCommand("/tpto " + player, SkCommandProcessor.LogTo.Chat);
                BeginMenu();
            }, "Tp To player");

            /*skMenu.AddItem("Tp player to me", (name) =>
             * {
             *      SkCommandProcessor.ProcessCommand("/tptome " + player, SkCommandProcessor.LogTo.Chat);
             *      BeginMenu();
             * }, "Tp player to me");*/

            RequestMenu(skMenu);
        }
Esempio n. 2
0
 public void ExplorMap()
 {
     SkCommandProcessor.ProcessCommand("/revealmap", SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 3
0
 public void ListPortals()
 {
     SkCommandProcessor.ProcessCommand("/portals", SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 4
0
 public void TReset()
 {
     SkCommandProcessor.ProcessCommand("/tu " + radius + " " + height, SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 5
0
 public void Tame()
 {
     SkCommandProcessor.ProcessCommand("/tame", SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 6
0
 public void RepairAll()
 {
     SkCommandProcessor.ProcessCommand("/repair", SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 7
0
 public void ToggleGodmode()
 {
     SkCommandProcessor.ProcessCommand("/god", SkCommandProcessor.LogTo.Chat);
     BeginMenu();
 }
Esempio n. 8
0
 public void TRaise()
 {
     SkCommandProcessor.ProcessCommand("/tr " + radius + " " + height, SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 9
0
 public void ToggleAnywhere()
 {
     SkCommandProcessor.ProcessCommand("/nores", SkCommandProcessor.LogTo.Chat);
     BeginMenu();
 }
Esempio n. 10
0
 public void ToggleGodItem()
 {
     SkCommandProcessor.ProcessCommand("/goditem", SkCommandProcessor.LogTo.Chat);
     BeginMenu();
 }
Esempio n. 11
0
 public void ToggleCoords()
 {
     SkCommandProcessor.ProcessCommand("/coords", SkCommandProcessor.LogTo.Chat);
     BeginMenu();
 }
Esempio n. 12
0
 public void ToggleESPEnemies()
 {
     SkCommandProcessor.ProcessCommand("/detect 20", SkCommandProcessor.LogTo.Chat);
     BeginMenu();
 }
Esempio n. 13
0
 public void ToggleNoCost()
 {
     SkCommandProcessor.ProcessCommand("/nocost", SkCommandProcessor.LogTo.Chat);
     BeginMenu();
 }
Esempio n. 14
0
 public void RemoveDrops()
 {
     SkCommandProcessor.ProcessCommand("/removedrops", SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 15
0
 public void ToggleFlying()
 {
     SkCommandProcessor.ProcessCommand("/fly", SkCommandProcessor.LogTo.Chat);
     BeginMenu();
 }
Esempio n. 16
0
 public void TLevel()
 {
     SkCommandProcessor.ProcessCommand("/tl " + radius, SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 17
0
 public void ToggleInfStam()
 {
     SkCommandProcessor.ProcessCommand("/infstam", SkCommandProcessor.LogTo.Chat);
     BeginMenu();
 }
Esempio n. 18
0
 public void TLower()
 {
     SkCommandProcessor.ProcessCommand("/td " + radius + " " + height, SkCommandProcessor.LogTo.Chat);
 }
Esempio n. 19
0
 public void Heal()
 {
     SkCommandProcessor.ProcessCommand("/heal", SkCommandProcessor.LogTo.Chat);
 }