Huh, first language I've worked in where proper formatting and spacing is actually important... At least it works now, thanks.

Moving on to my next bit, I'm trying to get it to recognize each of the individual digits that are input with the !guess command. I couldn't find any normal substring function in the Text and Numbers section of the help, only things such as $left, $right, and $mid. I'm trying to be able to separate the digits out to be able to compare and use them. Say I enter !guess 5998, I'm looking for a function that will I can use to set 4 variables, which would end up with the numbers 5, 9, 9, and 8. Using $mid, I'm able to pick out the 5 and the 8, but I can't get it to grab just the 9 and the 9, it keeps grabbing 99 or 98, or in one case, 3, I still have no clue how that one happened. Which function should I be using for this task?

Last edited by Fernin; 25/01/09 10:05 PM.