su.4001
final_realms_fluffos_v1/lib/cmds/creator/su.4001 · 296 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
#include <standard.h>
#include <cmd.h>
inherit CMD_BASE;
void setup(){
position = 1;
}
static int cmd(string str, object me) {
if (!str || str == "") {
notify_fail("Usage: su <name>\n");
return 0;
}
notify_fail("");
clone_object("/secure/login")->do_su(str);
return 1;
}