commit bc2ca4e6bde205971cc41ef926f5e8043b5c5f8f
parent 49ecaa5bb54baa5dc133f8854743986f55a99bd1
Author: Cem Keylan <cem@ckyln.com>
Date: Sun, 26 Apr 2020 15:27:25 +0300
yaic: convert '/msg' strings to '/j'
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/yaic b/yaic
@@ -250,6 +250,7 @@ main() {
:s) toggle NOSERVER ; CHAN="${c:-.}" ; break ;;
:v|:version) msg "${0##*/}-0.1.0" ; continue ;;
:*) msg "${0##*/}: Unknown Command '$msg'" "Type :help to get commands" ; continue ;;
+ /msg) msg="/j ${msg#/msg}" ;;
/names) msg="/names $c" ;;
/q) printf '%s\n' "/q" >> "$infile" ; break ;;
esac