Mercurial > repo
view bin/autowelcome @ 12047:800ffb613072 draft
<oerjan> learn `@ <nick> <command> [<argument>] is a wrapper for running a HackEso command with a "nick:" prepended.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 04:27:39 +0000 |
parents | c989a1669243 |
children | e3fd93ced862 |
line wrap: on
line source
[ "$1" == "on" ] && echo enabled > share/autowelcome_status; [ "$1" == "off" ] && echo disabled > share/autowelcome_status; echo "Autowelcome $(cat share/autowelcome_status)."