Beispiel #1
0
 // Code to run when used by a player
 public override void Use(Player p, string message)
 {
     if (p.HasBlockchange())
     {
         p.SendMessage("There is no action to abort.");
     }
     else
     {
         p.ClearBlockchange();
         p.SendMessage("Action aborted.");
     }
 }
Beispiel #2
0
 // Code to run when used by a player
 public override void Use(Player p,string message)
 {
     if (p.HasBlockchange())
     {
         p.SendMessage("There is no action to abort.");
     }
     else
     {
         p.ClearBlockchange();
         p.SendMessage("Action aborted.");
     }
 }