/stuck

/stuck

Postby Leeizazombie » 22 Mar 2014, 11:57

Hey guys, just another useful command for your players to use in Zombie Survival, it'll allow them to request help from operators by using /stuck.

Preview:
Spoiler:


Code:

Code: Select all
using System;

namespace MCDzienny
{
    public class CmdStuck : Command
    {
        public override string name { get { return "stuck"; } }
        public override string shortcut { get { return ""; } }
        public override string type { get { return "other"; } }
        public override bool museumUsable { get { return false; } }
        public override LevelPermission defaultRank { get { return LevelPermission.Guest; } }
        public override void Use(Player p, string message)
        {
            Player.SendMessage(p, "%7You have requested help to Operators, please wait assuming there's one online.");
            Player.GlobalMessageOps("%cOP MESSAGE: " + p.color + p.PublicName + "%e Has requested help because he/she is stuck.");
        }
        public override void Help(Player p)
        {
            Player.SendMessage(p, "/stuck - Request a help message to OPs for being pulled from a glitch.");
        }
    }
}


Enjoy! <ok>
Last edited by Leeizazombie on 22 Mar 2014, 12:17, edited 1 time in total.
Reason: Changed p.name to p.PublicName
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 2 guests

cron