Skip to content
Snippets Groups Projects
Commit 6f74f947 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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

parent 6b993a0b
No related branches found
No related tags found
No related merge requests found
......@@ -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.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment