Hello, and welcome!
I don't use IRC or sic, but I have used loops in shells, which are easy enough. I'm not sure what you are looking for with your question. Looping syntax? For an infinite loop, perhaps:
Code:
#!/bin/sh
while :; do
sic -h irc.freenode.net 2>&1 | tee -a irc.log
done