I don't get it, why /part if it takes 3s or more? The only problem I saw was about channel names.

Anyway, that would be "join $1-", not "$2".
Also a tip, the condition "(!%joined) || (%joined != $true)" is redundant, it can be shortened to "(!%joined)".


* cold edits his posts 24/7