Method code for $scheduler.add_sub_scheduler()

[Turn off line numbering]
  1: arg object;
  2: 
  3: if (!$sys.is_admin(sender()))
  4:     throw(~perm, "Only admins may add sub schedulers.");
  5: if (type(object) != 'objnum)
  6:     throw(~type, "Object must be a dbref.");
  7: sub_schedulers += [object];

// Miroslav Silovic
// Created 05-Sep-1995 as a part of ColdCore, see: @help Credit

Tlon