########################################################### # CHAT-HTML.PL # # This script was written by Gunther Birznieks. # Date Created: 4-18-96 # # You may copy this under the terms of the GNU General Public # License or the Artistic License which is distributed with # copies of Perl v5.x for UNIX. # # Purpose: # Prints out the various HTML screens for the Chat # Script # ############################################################# ############################################################ # # subroutine: PrintChatEntrance # # This routine prints the first chat screen people see. # It includes an error message when it is printed again # if not all the required information is entered # correctly. # ############################################################ sub PrintChatEntrance { local($setup,$chat_error) = @_; local ($chat_room_options); $setup = "" if ($setup eq "chat"); # # The chat room options # are derived from the # available chat rooms in the # array of chat rooms in the # chat.setup script $chat_room_options = ""; for (0..@chat_rooms - 1) { $chat_room_options .= "