////////////// // // Pulse Protection v0.6a by Pri (26th of June 2010) // ////////////// // // Commands Included that you can use: // None // ////////////// // // In this version only multi-room alias tracking is included // What this script basically does is report your users IP and current Username to my Server // Once my Server has that data it reports back to you all the usernames known to be in use by that IP // If it has not seen the username your user has used before it will add that name to the list // // Version 0.6 includes Passwords which enables you to secure the data you are reporting to the server // What this means is the IPs and Usernames of your users will only be accessible to rooms using the same password as you // Which means if you want you can use it just in your own room and not share data with anyone or you can share with your friends // ////////////// // Clear variable "Private_IP_Detected" for a clean run // Break if the IP is private (127.0.0.1, 192.168.x.x, 10.0.x.x and so on) :%IP% 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 // Check that the scripts folder and settings file has been setup. If it hasn't do it. cmd.exe /c MD C:\Pri.Script.Dependencies\Pulse.Protection 1 // Download some special characters required for this to function (Metis by itself doesn't allow these characters inside the code so they have to be loaded as varibles) // Check for an updated version of this script v0.6a /opmsg #c4#Pulse Protection #c63#(#c62#v0.6a#c63#): #c9#%USERVAR[Version_Release_Message]% %DATE%\n%USERVAR[Version_Info]% // Check if a custom Password has been set by the admins of the room for use with Pulse Protections authentication system // If no password was found use the default %RANDOMNUM[255]%%RANDOMNUM[254]%%RANDOMNUM[253]%%RANDOMNUM[252]%%RANDOMNUM[251]% // If a random password was generated let the user know what it is /opmsg #c4#Pulse Protection #c63#(#c62#v0.6a#c63#): #c9#A Random Password has been generated for the data you supply to the Server /opmsg #c4#Pulse Protection #c63#(#c62#v0.6a#c63#): #c9#Generated Password#c63#: #c62#%USERVAR[Pass_generator]% /opmsg #c4#Pulse Protection #c63#(#c62#v0.6a#c63#): #c9#Saved in#c63#: #c62#C:\Pri.Script.Dependencies\Pulse.Protection\.password.ini /opmsg #c4#Pulse Protection #c63#(#c62#v0.6a#c63#): #c9#You and your friends can use the same password to share the same database // Save the Random Password (But of course only if a password isn't present already) %USERVAR[Pass_generator]%\nWhen making a password you can use uppercase and lowercase letters and also numbers, for example H1b0A9sD8mSd8 is an acceptible password.\nTo change your password simply erase the code at the top of this file, change it to something else, and save it. %USERVAR[Pass_generator]% // Sometimes the creation of the Folder for the Setup Check is to slow causing the install check file to not save, so let's just re-attempt that if this is a first time install 1 // Remove colour codes from username %NAME% 0 // Replace some symbols from the name that just don't work in a httpget request to the web server, and other characters we just don't want saved // Create a query for checking what usernames this IP is matched to and query mxpulse // If the users current name is present remove it // Make the output a little nicer to read / Put some symbols back that were removed for HTTPGET to server // Output to the room the users aliases unless they don't have any /opmsg #c4#Pulse Protection #c63#(#c62#v0.6a#c63#): #c9#Also known as#c63#: #c62#%USERVAR[Result]%