summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtmw-info8
1 files changed, 3 insertions, 5 deletions
diff --git a/tmw-info b/tmw-info
index 8282ffc..559efe0 100755
--- a/tmw-info
+++ b/tmw-info
@@ -1,9 +1,7 @@
#!/bin/bash
# TMW GM Log Downloader (original): https://gitlab.com/liviorecchia/tmw-gm-log-downloader
-# TMW GM Log Downloader(deprecated): https://gitlab.com/Ledmitz/tmw-gm-log-downloader
-# tmw-gmlog(deprecated): https://gitlab.com/Ledmitz/tmw-gmlog
-# tmw-info: https://gitlab.com/Ledmitz/tmw-info
-# The Mana World: https://themanaworld.org]
+# tmw-info: https://git.themanaworld.org/legacy/tmw-info/
+# The Mana World: https://themanaworld.org
# Ledmitz (2020) - GPL 3.0
@@ -376,7 +374,7 @@ elif [ "$1" == 'cmds' ];then
echo "You must run \"update-cmds\" first"
fi
(echo -e "\nClient Commands:"
- cat < "$TMW_CMDS/client_commands" | sed 's/<\/*[^>]*>//g' | grep -Eo '/[a-z]+ ' | sort -n | sed -E 's/\n/\t/g'| uniq
+ (cat < "$TMW_CMDS/client_commands" | sed 's/<\/*[^>]*>//g' | grep -Eo '/[a-z]+ ' | sort -n | sed -E 's/\n/\t/g' & grep -Eao '/[a-z]+ ' '/usr/games/manaplus' & echo -e '/ipctoggle\n/targetmonster\n/movetotarget\n/attack\n/targetattack\n/untarget\n/where\n/navigate X Y\n/sethome\n/movetohome\n/present\n/all\n/pickup\n/useitem ID\n/disablehighlight\n/enablehighlight\n/sit\n/direct\n/turn[up,down,left,right]') | sort -u
echo -e "\nDefault Server \"@\" Commands:"
cat < "$TMW_CMDS/atcommand_athena.conf" | sed 's/<\/*[^>]*>//g' | grep -Eo '[A-Za-z0-9]+: [0-9]+'
echo -e "\nCustom Server \"@\" Commands:"