I wrote a little script that should run the command "ping" in the bash and print all lines back to my channel. I tried
Code: Select all
putserv "PRIVMSG $chan :[exec bash -c "ping -c3 $arg"]";
Code: Select all
putserv "PRIVMSG $chan :[exec bash -c "ping -c3 $arg"]";
Code: Select all
foreach a [exec ping blah blah] {
puthelp "PRIVMSG $chan :$a"
}