Well here is what I have been using. this is for a whois so be sure to check the Raw # that its the same thing

raw 311:*: {
set %blah $remove($1,=*)
set %full address $1
}

This will set %blah to the nick and %fulladdy to the full address. Hope it helps