コード例 #1
0
 // Code to run when used by a player
 public override void Use(Player p, string message)
 {
     if (message != "")
     {
         if (Properties.AllowWorldChat)
         {
             Player.GlobalChat(p, p.color + "*" + p.name + " " + message, false);
         }
         else
         {
             Player.GlobalChatLevel(p, p.color + "*" + p.name + " " + message, false);
         }
     }
     else
     {
         Help(p);
     }
 }