malefic 48 Posted January 8, 2010 Report Share Posted January 8, 2010 Well, after the success of my first couple of bots last night I have started to develop one a bit further and have hit my next snag If I have a variable, how can I make it less than 10 characters long. My username variable is made up of $username + a random number between 1 and 3000 added to the end, so for example:thisisalongusername421 My question is how do I cut that down to either:thisisalon or, what would be better for me would be:sername421 Once again, thanks for reading this!! Quote Link to post Share on other sites
Aaron Nimocks 19 Posted January 8, 2010 Report Share Posted January 8, 2010 This weekend I should be making my PHP addon for this. One of the functions I am planning on doing is character length. But you might be able to do this with javascript too. Just not familiar with it. Quote Link to post Share on other sites
malefic 48 Posted January 8, 2010 Author Report Share Posted January 8, 2010 Well, I think I will wait for your PHP addon - I know a bit more PHP than I do uBot at the moment!! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.