View Single Post
  #1  
Old 08-18-2008, 12:22 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Help with random texts

Trying to test my GUI skills, since I haven't for a LONG time.
So I have a confirmation code that is supposed to come out random from 3 sets of letters/numbers. I have all of those as this.beg, this.mid, this.end and I set up the temp.confCode as follows
PHP Code:
temp.confCode int(random(this.beg11)) @ int(random(this.mid9)) @ int(random(this.end11)); 
When I go on player and try to use it, the GUI comes up and everything's fine, but it's coming out as numbers.
One example is "035"
How can I get it to display as TEXT?

And on a side note:
How do I set text to save as a log/*.txt file from a serverside script?
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote