Post by Warrior124 on Dec 2, 2003 10:38:59 GMT -5
I am creating an HTML file for a friend of mine. However, I notice that it doesn't connect to the room that is specified. Instead, it tries to create a room called
"+ room +". Can someone show me what I am doing wrong here?
"+ room +". Can someone show me what I am doing wrong here?
<script>
<!--
var room = prompt("Enter A RoomName","")
var topic = prompt("Enter A Topic","")
var subscriberinfo = prompt("Enter Subscription Info Here","")
var MSNRegCookie = prompt("Enter MSNRegCookie Info Info Here","")
var passportticket = prompt("Enter Passport Ticket Info Here","")
var passportprofile = prompt("Enter Passport Profile Info Here","")
</script>
<object ID="ChatFrame" CLASSID="CLSID:F58E1CEF-A068-4c15-BA5E-587CAF3EE8C6"width="100%" height="100%" CODEBASE="http://fdl.msn.com/public/chat/msnchat45.cab#Version=9,02,0310,2401">
<Param NAME="Server" VALUE="207.68.167.253:6667">
<Param NAME="BaseURL" VALUE="http://chat.msn.com/">
<Param NAME="RoomName" VALUE=" + room + ">
<Param NAME="Category" Value="RL">
<Param NAME="Create" Value="1">
<Param NAME="ChatMode" Value="1">
<Param NAME="Topic" Value=" + topic + ">
<Param NAME="WelcomeMsg" Value="Welcome To The Chat Room!">
<Param NAME="MSNREGCookie" VALUE=" + MSNRegCookie + ">
<Param NAME="PassportTicket" VALUE=" + passportticket + ">
<Param NAME="PassportProfile" Value = " + passportprofile + ">
<Param NAME="MSNPROFILE" VALUE="0">
<PARAM NAME="AuditMessage" VALUE="Note: MSN has detected that you are connected to this chat session from the IP address <B>%1</B>.">
<PARAM NAME="MessageOfTheDay" VALUE="Welcome to MSN Chat! MSN does not control or endorse the content, messages or information found in chat. MSN specifically disclaims any liability with regard to these areas. To review the MSN Chat guidelines, go to http://groups.msn.com/conduct NOTICE: To help protect you from spam, MSN Chat is now available by subscription only. Learn more at http://getchat.msn.com">
<Param NAME="SubscriberInfo" VALUE=" + subscriberinfo + ">
<Param NAME="CreationModes" Value="F">
<Param NAME="Locale" Value = "EN-US">
<Param NAME="ChannelLanguage" Value = "EN-US">
<Param NAME="Market" Value = "EN-US">
</object>