InSim Song Name Spammer v0.3 for LFS by Harry Karjalainen

The main() function reads a string from get_song() and displays it on the LFS screen with a "Now playing : " prefix, only to the player using the script.

In its current form the string is read from a webpage by the get_song() funct. To change the source of the string that funct has to be rewritten to provide it.

The insim_base.php library is not complete, and is essentially only good for this script, you'd probably be wasting your time trying to use it as a functional library for other purposes. 

The code can easily be modified to send any string it's provided with, not just a song name, feel free to use the code as you please.

The following in-game commands can be used to control the script:

/out pause	; stops song name updates but does not close the script
/out unpause	; resumes song name updates after the pause state
/out quit	; exit the script completely

Developed and tested with PHP 5.1.6 under Windows XP Pro w/SP2
This script requires PHP5 or better to work (I haven't tested it with PHP4 but I'd not go as far as assuming it'll work on that).

The author will not accept responsibility of any damage, data loss or any other negative effect the script may have.

Contact the author at hawk300000@lycos.com

Please do not modify the files in this archive

Special acknowledgements to Filur, some of the sockets and packet struct stuff is from what I've read him post, the_angry_angel and stuff for answering my nooby questions! :D