Drake™
Site Member
???
Posts: 175
|
Post by Drake™ on Dec 23, 2010 23:41:19 GMT -6
Merry Christmas Greeny, here is a function that will work in finding characters to the RIGHT of a string. [- Download-] This function checks for ALL basic characters (I.E: A-Z, a-z, 0-9 and special keyboard characters ONLY). Also another present for Greeny: $map = "TDM_Lolwuthowshiz"; $newMap = strAlignR(strLen($map) - 4, $map); I hope you're able to figure out how to use it by that example. That should provide what you're looking for. I made this script as universal as possible - and yes there is a script like this in quickchat packs and I credited that. However, that script only checked for numbers and not letters. I modified it to do so and here is the result. Enjoy. P.S - If you want this script to automatically execute instead of having to type it in console everytime, simply go to your autoexec.cs file and type the line there. For those new to executing files, here is the script to add: exec("strAlignR.cs");
|
|