using this to get the numberic raw codes
#showraw off
raw *:*:echo 4 -a $numeric $2-
#showraw end
type /enable #showraw
on DAL.net the /motd command returns this:
375 - broadway.ny.us.dal.net Message of the Day -
372 - 6/10/2005 11:31
372 - By connecting to this server you agree to follow the
372 - terms of the DALnet AUP at
http://www.dal.net/aup/.372 -
376 End of /MOTD command.
type /disable showraw
so this test
raw 375:*:{
if (!$window(@motd_ $+ $network)) { window @MOTD_ $+ $network }
aline @MOTD_ $+ $network $2-
}
raw 372:*:{
if (!$window(@motd_ $+ $network)) { window @MOTD_ $+ $network }
aline @MOTD_ $+ $network $2-
}
note I did not specify window size, font or font size which may be important to you
also you might be wanting the info that is shown when you connect to a server which is often different than the reply to /motd
to get the raw numbers you can use the "showraw" group commands and reconnect to the server to see what raw codes do what
lastly the $1 in raw is your nick, so in most cases you want to capture $2-