Skip to content
Snippets Groups Projects
Commit a62c6124 authored by rswindell's avatar rswindell
Browse files

New @-code: INCLUDE, just like TYPE, except no auto-prepending of CRLF

(blank line). Used for including head.asc and tail.asc in the new main.asc.
parent 7bc8f5b4
No related branches found
No related tags found
No related merge requests found
...@@ -597,6 +597,11 @@ char* sbbs_t::atcode(char* sp, char* str) ...@@ -597,6 +597,11 @@ char* sbbs_t::atcode(char* sp, char* str)
return(nulstr); return(nulstr);
} }
if(!strncmp(sp,"INCLUDE:",5)) {
printfile(cmdstr(sp+8,nulstr,nulstr,str),P_NOCRLF);
return(nulstr);
}
if(!strcmp(sp,"QUESTION")) if(!strcmp(sp,"QUESTION"))
return(question); return(question);
......
@TYPE:%zmenu/head.asc@ bh wRead/Post Messagesnbh wMessage Area Selection nbh wElectronic Mail @INCLUDE:%zmenu/head.asc@ bh wRead/Post Messagesnbh wMessage Area Selection nbh wElectronic Mail
bnbĿhnbĿhnbĿ bnbĿhnbĿhnbĿ
hcNnb wNew message scanb hcJnb wJump to new msg area b hcEnb wRead/Send E-mail hcNnb wNew message scanb hcJnb wJump to new msg area b hcEnb wRead/Send E-mail
b hcRnb wRead message prompt b hc* nList sub-boards b b hcRnb wRead message prompt b hc* nList sub-boards b
...@@ -12,4 +12,5 @@ ...@@ -12,4 +12,5 @@
hbnbĿ hcGnb wText file sectionbhc/Lnb wNode activity hbnbĿ hcGnb wText file sectionbhc/Lnb wNode activity
b hcFnb wFind text in messages b hcCnb wChat sectionbhc^Knb wCtrl-key Menu b hcFnb wFind text in messages b hcCnb wChat sectionbhc^Knb wCtrl-key Menu
b hcSnb wScan for msgs to you b hcXnb wExternal programsb hcOnb wLogoff BBS (or /O) b hcSnb wScan for msgs to you b hcXnb wExternal programsb hcOnb wLogoff BBS (or /O)
b(n hc!n=Sysop Menu)@TYPE:%zmenu/tail.asc@ b(n hc!n=Sysop Menu)
\ No newline at end of file @INCLUDE:%zmenu/tail.asc@
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment