1: connect to the server you want
2: change your nick to the first nickname you want
3: join the channel
4: connect to the server in a new server window (/server -m or use the dialog)
5: change your nick to the second nickname you want
6: join the channel

you are now connected twice to the same network and channel under 2 different names...