Well, theres "no way" you can get the details FROM an Snotice before the Identd responce is sent back and as a result so is the MOTD junk..
You can however, use as suggested above, $server, $serverip and $port.
For example:
On *:Snotice:*Looking up your hostname*:{
echo -s * Connecting to $server ( $+ $serverip $+ ) on $port
}
Eamonn.