Didn't think creating an identifier was necessary ... here's mine for the "on join" event :

on @*:join:#: {
if ($nick == $remove($gettok($gettok($fulladdress,1,64),2,33),~)) {
do stuff
}
}