view bin/whoami @ 12236:086bdf39050e draft

<b_jonas> addwhatis @(1hackeso) - run a command but address an irc user with the output
author HackEso <hackeso@esolangs.org>
date Thu, 05 Dec 2019 21:04:03 +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