Commit c7955a8a authored by Rob Swindell's avatar Rob Swindell

Add ;avail sysop command to toggle sysop-availability (to chat)

parent e59866e3
Pipeline #159 passed with stage
in 9 minutes and 4 seconds
......@@ -65,6 +65,16 @@ function str_cmds(str)
//sync
// ######################## SYSOP Functions ##############################
if(str=="HELP") {
writeln("AVAIL\tToggle sysop chat availability");
}
if(str=="AVAIL") {
system.operator_available = !system.operator_available;
write(format(bbs.text(text.LiSysopIs)
, bbs.text(system.operator_available ? text.LiSysopAvailable : text.LiSysopNotAvailable)));
return;
}
if(str=="HELP") {
writeln("ERR\tDisplay currrent error log and opptionally delete it as well as");
writeln("\toptionally clearing all nodes error counters.");
......
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