whoami.c
final_realms_fluffos_v1/lib/cmds/player/whoami.c · 466 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 = 0;
}
string query_usage()
{
return "whoami";
}
string query_short_help()
{
return "Shows current player name and title(s).";
}
static int cmd (string str, object me)
{
tell_object(me, (string)me->query_short()+
(me->query_gtitle()? " "+me->query_gtitle() : "")+
(me->query_title()? " "+me->query_title() : "")+
".\n");
return 1;
}