";
# Put the new info in.
print FILE "$msg_text53";
print FILE "\n";
# Now, we're going to step through the previous entries, and print them
# back to the file:
# Starting with 1, until $i is equal to 10, add 1 to $i and keep looping...
for($i = 1; $i <= $number_of_chats_to_display; $i++){
if($entries[$i] !~ /$chat_window_footer/){
$entries[$i] =~ s/\n//gs;
print FILE " \n";
}
}
# Close the document cleanly.
print FILE " |