Commit 139cb55a authored by rswindell's avatar rswindell
Browse files

Added new @-code for Ragnarkok: SPLITP

expands to "on" or "off" based on user's split-screen private chat setting.
parent 22287157
......@@ -242,6 +242,9 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen)
if(strcmp(sp, "ALERTS") == 0)
return (thisnode.misc&NODE_AOFF) ? text[Off] : text[On];
if(strcmp(sp, "SPLITP") == 0)
return (useron.chat&CHAT_SPLITP) ? text[On] : text[Off];
if(!strcmp(sp,"INETADDR"))
return(cfg.sys_inetaddr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment