ao-mud is a spellbook of well-commented atomic bash scripts that each do one thing. we are building semantic building blocks for an autonomously-evolving digital spellcasting language.
You can not select more than 25 topicsTopics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
# This spell displays the menu for adminning hosting a MUD server.
. colors
display_menu() {
add="Add authorized player%add-player"
list_players="List authorized players%new-player"
list_rooms="List shared rooms%list-rooms"
exit="Exit%kill -2 $$" # Commands are run with 'eval' by the menu script, so we can't simply say 'exit'. The keyword $$ gets this scripts PID and the -2 code is SIGINT aka Ctrl-C