[SkG]

Ayuda con un "Parse error
17 de Julio del 2004
Tengo un codigo fuente en PHP y da el siguiente error:

Parse error: parse error, unexpected ':', expecting ',' or ';' in /home/skg/public_html/chat/chat.php on line 43

El codigo fuente es el siguiente:

<html>
<head>
<title>SkGW.NeT</title>
</head>
<body>
<?php
$red = $_POST['red'];
$nick = $_POST['nick'];
$pass = $_POST['pass'];
?>
<applet code=IRCApplet.class archive="irc.jar,pixx.jar,config.jar" width=100% height=100%>
<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab,config.cab">

<param name="nick" value="<?php echo $nick; ?>">
<param name="alternatenick" value="SkGW???">
<param name="name" value="SkGW.NeT">
<param name="host" value="<?php echo $red ?>">
<param name="gui" value="pixx">
<param name="asl" value="true">
<param name="language" value="spanish">
<param name="pixx:language" value="pixx-spanish">
<param name="plugin1" value="config.Config">

<?php
if($red = "irc.globalchat.org") {
?>
<param name="quitmessage" value="-·=»‡·!¦[· #SkGW - SkGW.NeT - http://www.skgw.net/ ·]¦!·‡«=·-">
<param name="command1" value="join #SkGW">
<?php
if($pass != "") {
?>
<param name="command2" value="/msg NickServ identify <?php echo $pass; ?>">
<?php
}
}
if($red = "irc.rizen.net") {
?>
<param name="quitmessage" value="-·=»‡·!¦[· #Globalmusic - SkGW.NeT - http://radio.skgw.net/ ·]¦!·‡«=·-">
<param name="command1" value="join #globalmusic">
<?php
if($pass != "") {
?>
<param name="command2" value="/nick <?php echo $nick:$pass; ?>">
<?php
}
}
?>
[...]

Me podriais ayudar a encontrar el error?