Sysop: | KK4QBN |
---|---|
Location: | Chatsworth, GA |
Users: | 34 |
Nodes: | 10 (0 / 10) |
Uptime: | 250:02:11 |
Calls: | 1,014 |
Calls today: | 0 |
Files: | 94,829 |
U/L today: |
0 files (0K bytes) |
D/L today: |
23 files (39,863K bytes) |
Messages: | 26,587 |
Posted today: | 0 |
I've jumped in with both feet and have started writing my own command
shell. It has gone well so far. I have an annoying problem though..
I want to display a textfile based on the current message sub-board. I know Synchronet has this, but I need to do it myself. I thought I'd put the filename into a string variable.
str fn
sprintf fn "%%zrooms/%s" "@SUB@"
printfile fn
but it has unpredictable results. It seems to set it to the command string. I also tried
set str "%zrooms/@SUB@"
but the @-code didn't expand.
How can I do this? Thanks.
I'm sort of surprised, but I cannot find a way to do this in Baja. There's no
command-line (%) specifier for the current sub-board internal code nor any Baja
"system variable" for that string.Right, I looked for that exact thing and couldn't find it. That would come in handy. I'll try the javascript idea. I've meant to brush up on it anyways.