From 8cec5cbe91f1d0b91cc2f6b6e0f6dd17106dee53 Mon Sep 17 00:00:00 2001 From: jornmann Date: Sun, 31 Jul 2022 18:14:42 +0300 Subject: [PATCH] fix help and rename :q to :quit --- sblorgo.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sblorgo.sh b/sblorgo.sh index 457b45e..bdc394f 100755 --- a/sblorgo.sh +++ b/sblorgo.sh @@ -172,7 +172,7 @@ tail -n 1 -f "${path}${chan}/out" | while read -r line; do send "$name: hosts: ${ophost[*]}" ;; "${prefix}help") - send "$name: commands: coffee, tea, fortune, uptime, about, rr, coinflip, dice, uname, time, penis, hey, ping, test, 8ball, grep, op, deop, voice, devoice, help" + send "$name: commands: coffee, tea, fortune, uptime, about, rr, coinflip, dice, uname, time, penis, hey, ping, test, 8ball, grep, wgrep, sendops, op, deop, voice, devoice, help, quit" ;; "${prefix}penis") arg=$(printf '%s\n' "$line" | cut -d ' ' -f 4-) @@ -297,10 +297,12 @@ tail -n 1 -f "${path}${chan}/out" | while read -r line; do send "$name is not in the sudoers file. This incident will be reported." fi ;; - "${prefix}q") + "${prefix}quit") hostcheck "$name" if [ $? -eq 0 ]; then - send "/l Recieved 'q' command from $name." + send "NO! DON'T KILL ME!" + send "/l Recieved 'quit' command from $name." + exit else send "$name is not in the sudoers file. This incident will be reported." fi