Example #1
0
void set_user(object new_user) {
  if (!SYSTEM() && !COMMON() && !GAME()) {
    error("Tylko autoryzowany kod może zmieniać użytkownika!");
  }

  user = new_user;
}
Example #2
0
void upgraded(varargs int clone) {
  int ctr;

  if(!SYSTEM() && !COMMON())
    return;

  /* Note:  these must mesh with include/channel.h.  Don't just modify
     stuff here. */
  channel_attributes = ({ ({ "OOC", 0 }),
			    ({ "Log", ATTRIB_ADMIN }),
Example #3
0
object get_game_driver(void) {
  if(SYSTEM() || COMMON())
    return game_driver;

  return nil;
}
Example #4
0
void upgraded(varargs int clone) {
  if(SYSTEM() || COMMON()) {

  }
}