示例#1
0
 public function cmdAdminList($cmd, $ucid)
 {
     global $PRISM;
     $MTC = new IS_MTC();
     $MTC->UCID($ucid)->Msg('Admins detailed to this server:')->Send();
     foreach ($PRISM->admins->getAdminsInfo() as $user => $details) {
         $MTC->Msg("    {$user}")->Send();
     }
     return PLUGIN_CONTINUE;
 }
示例#2
0
 public function cmdTime($cmd, $ucid)
 {
     $MTC = new IS_MTC();
     $MTC->UCID($ucid)->Msg('^7The time is, ' . date('g:i:s A (H:i:s), T.'))->Send();
     return PLUGIN_CONTINUE;
 }