Autojoin Commands

How do I set IRC to perform different commands on diff servers. thanks in advance

File -> Options -> Connect -> Perform

Thanks, I already got an answer from the actual room.