IRC Bot in C and some Bash wrappers