]>
jfr.im git - irc/gameservirc.git/blob - gameserv/do_inventory.cpp
6 void do_inventory(char *u
)
10 if (!(user
= find(u
)))
12 notice(s_GameServ
, u
, "Fatal Error. Contact a <S admin!");
15 else if (isIgnore(user
))
18 log("Ignoring %s.", user
->getNick());
22 else if (!is_playing(user
))
24 notice(s_GameServ
, u
, "You must be playing to check your inventory!");
27 if (!is_fighting(user
))
28 updateTS(user
->stats
);
29 showinventory(user
->stats
, user
);