Jump to content

Adding Letters To Variables


Recommended Posts

Hey im having trouble adding a letter to a variable. this is what code i was trying to do it with but failed in doing so...

$command = $command + "y"

if u are wondering, i am using this code to find out what the user is typing for my friends game so i can know what the user inputs in his textbased game. and i got a hotkey for every character, if any1 has a better way to do this plz tell me :think:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...