diff --git a/src/sbbs3/atcodes.cpp b/src/sbbs3/atcodes.cpp index 2ce46bf79b589f9e4388325fabbb8e88b5d2a5f6..a54ae01a176e6f954decda1a2b90403b1f95ece5 100644 --- a/src/sbbs3/atcodes.cpp +++ b/src/sbbs3/atcodes.cpp @@ -597,6 +597,11 @@ char* sbbs_t::atcode(char* sp, char* str) return(nulstr); } + if(!strncmp(sp,"INCLUDE:",5)) { + printfile(cmdstr(sp+8,nulstr,nulstr,str),P_NOCRLF); + return(nulstr); + } + if(!strcmp(sp,"QUESTION")) return(question); diff --git a/text/menu/main.asc b/text/menu/main.asc index e6078d9833dadc57efbf1d1ff7006dd862370c1b..55e422516044796374c2cb45accb9d4b2fd630b8 100644 --- a/text/menu/main.asc +++ b/text/menu/main.asc @@ -1,4 +1,4 @@ -@TYPE:%zmenu/head.asc@ b�h� wRead/Post Messages�nb�h� wMessage Area Selection nb�h� wElectronic Mail +@INCLUDE:%zmenu/head.asc@ b�h� wRead/Post Messages�nb�h� wMessage Area Selection nb�h� wElectronic Mail b�nb�Ŀ�h�nb�Ŀ�h�nb�Ŀ � hcNnb� wNew message scan�b� hcJnb� wJump to new msg area b� hcEnb� wRead/Send E-mail b� hcRnb� wRead message prompt b���� hc* nList sub-boards b���� @@ -12,4 +12,5 @@ hb�nb�Ŀ�� hcGnb� wText file section�b�hc/Lnb� wNode activity b� hcFnb� wFind text in messages b� hcCnb� wChat section�b�hc^Knb� wCtrl-key Menu b� hcSnb� wScan for msgs to you b� hcXnb� wExternal programs�b� hcOnb� wLogoff BBS (or /O) -b��������������(n hc!n=Sysop Menu)@TYPE:%zmenu/tail.asc@ \ No newline at end of file +b��������������(n hc!n=Sysop Menu) +@INCLUDE:%zmenu/tail.asc@ \ No newline at end of file