view bin/whoami @ 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 19a19737d631
children
line wrap: on
line source

echo -n $IRC_NICK; if [[ "$1" == "-v" && -n "$IRC_IDENT" ]]; then echo -n "!$IRC_IDENT"; if [[ -n "$IRC_HOST" ]]; then echo -n "@$IRC_HOST"; fi; fi; echo