2 # Illustrates how to test irkerd.
4 # First argument must be a channel URL. If it does not begin with "irc",
5 # the base URL for freenode is prepended.
7 # Second argument must be a payload string.
14 *) channel="irc://chat.freenode.net/$channel"
17 echo "{\"to\":\"$channel\",\"privmsg\":\"$message\"}" | netcat localhost 6659