1) You did connect to an IRC network, right? The script won't do a thing until it sees an active connection to an IRC network.
2) If that was done correctly, ensure that your entries in the file are similar to #channel_name
The format of the channel name has to be the same as if you were using the /join command.