Manuel 1 Posted March 15, 2010 Report Share Posted March 15, 2010 Is it possible to use the $username variable from the account creation function in a later node of the same bot? Everytime I use the user name it generates a new one, but I would like the same as used in the first node... Quote Link to post Share on other sites
alcr 135 Posted March 15, 2010 Report Share Posted March 15, 2010 Set variable #username -> $username ? Quote Link to post Share on other sites
Manuel 1 Posted March 15, 2010 Author Report Share Posted March 15, 2010 That does insert a string "$username" and not the used username :/ Quote Link to post Share on other sites
crazyflx 22 Posted March 15, 2010 Report Share Posted March 15, 2010 Do the following: "Create Account" -> Male/FemaleSet -> #username -> Account Constants -> $Username Next time you want to insert the username that you want to use throughout your whole bot in any script, instead of inserting $username, you'll insert: #username Quote Link to post Share on other sites
Manuel 1 Posted March 15, 2010 Author Report Share Posted March 15, 2010 Thanks guys, unfornately my first version had worked if I had put the subs in the right order, thanks to all 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.