Difference for server/c_wiz.c from version 1.32 to 1.33


version 1.32 version 1.33
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_wiz_c =   * static char *rcsid_c_wiz_c =
  *   "$Id: c_wiz.c,v 1.32 2003/06/30 19:14:13 tchize Exp $";   *   "$Id: c_wiz.c,v 1.33 2003/07/24 04:21:14 temitchell Exp $";
  */   */
   
 /*  /*
Line 180
 
Line 180
     return(1);      return(1);
 }   }
   
   int command_toggle_shout(object *op, char *params)
   {
    player *pl;
   
    if (!params) {
            new_draw_info(NDI_UNIQUE, 0,op,"Usage: toggle_shout <player>.");
            return 1;
       }
   
       pl = get_other_player_from_name(op, params);
       if (!pl) return 1;
   
    if (pl->ob->contr->no_shout == 0){
    pl->ob->contr->no_shout = 1;
       new_draw_info(NDI_UNIQUE | NDI_RED, 0, pl->ob,
    "You have been muzzled by the DM!");
       new_draw_info_format(NDI_UNIQUE , 0, op,
    "You toggle shout for %s.", pl->ob->name);
    return 1;
    }else{
    pl->ob->contr->no_shout = 0;
       new_draw_info(NDI_UNIQUE | NDI_RED, 0, pl->ob,
    "You are allowed to shout again.");
       new_draw_info_format(NDI_UNIQUE , 0, op,
    "You toggle shout for %s.", pl->ob->name);
    return 1;
    }
   
   }
   
 int command_shutdown(object *op, char *params)  int command_shutdown(object *op, char *params)
 {  {
   
Line 1240
 
Line 1270
     removeOnePlugin(params);      removeOnePlugin(params);
     return 1;      return 1;
 }  }
   


Legend:
line(s) removed in v.1.32 
line(s) changed
 line(s) added in v.1.33

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:30