Sorry for spamming the forum with little scripts I made, I'll just post them to this next time.
v.1.1: Created
v.1.2: Fixed: No "particle does not exist" bug
v.1.3: If sensorFileStr is left blank, it writes to luasensor_Standard_Output.txt
v.1.4: Added Texter (that simply won't be put into a <code> box, sorry :/ )
http://pastebin.com/sxTcg8mf -- Finally fixed my Pastebin, no more huge thread :)
Just a collection of all the useful scripts I've made so far.
I tried <code> and it cut it off, and my pastebin is broken.
You see, I did <code> tags, and that happened. It'll have to do.