Lotsa of good stuff at wikichip too
https://en.wikichip.org/wiki/mirc/identifiers/$address

Notice how the example uses $gettok to get the portion of the string following the @ which is codepoint 64