when you join a channel you get a /names reply to the socket, you can get the nicknames from there, you can either create a fairly big sockbot and make it so u can use it on its own, or make a small one where its only useable in the same channel as you.
use the echo -s $1- to figure out text, on very few servers its different to most..


new username: tidy_trax