Code:
#region /pwn if (Cmd[0] == "/pwn") { Game.Character C = Game.World.CharacterFromName(Cmd[1]); if (C != null) { C.Level = 1; // Makes player back to level 1. C.Experience = 0; C.CurHP = 1; // Makes player have only 1 HP left. C.Teleport(1002, 431, 449); // This teleports the player to a bunch of pheasants. (Very effective.) Game.World.SendMsgToAll(C.Name , C.Name + " has been pwned by a GM!", 2011, 0); Game.World.SendMsgToAll(C.Name, C.Name + " is back to level 1 again.", 2005, 0); } } #endregion
Credits go to my cousin for the idea. Lol.
#edit
Another fun command:
Code:
if (Cmd[0] == "/hax") { #region TEH STATUS EFFECTS -- VERY FUN if (Cmd[1] == "vortex") // Spin Spin Spin GC.MyChar.StatEff.Add(NewestCOServer.Game.StatusEffectEn.ShurikenVortex); if (Cmd[1] == "fly") // Fly forever and ever =] GC.MyChar.StatEff.Add(NewestCOServer.Game.StatusEffectEn.Fly); if (Cmd[1] == "cyclone") //Speedhack ftw. GC.MyChar.StatEff.Add(NewestCOServer.Game.StatusEffectEn.Cyclone); if (Cmd[1] == "ride") // Try this without a horse. GC.MyChar.StatEff.Add(NewestCOServer.Game.StatusEffectEn.Ride); if (Cmd[1] == "gone") // Makes you completely invisible. GC.MyChar.StatEff.Add(NewestCOServer.Game.StatusEffectEn.Gone); if (Cmd[1] == "fstrike") // Long distance melee GC.MyChar.StatEff.Add(NewestCOServer.Game.StatusEffectEn.FatalStrike); if (Cmd[1] == "off") // Turns off effects GC.MyChar.StatEff.Clear(); #endregion }