Jump to content
UBot Underground

How to put a variable in a URL?


Recommended Posts

nav -> $next list iten 1 $next list item 2

 

:)

 

Thanks Alcr...but the problem I have is that I have a list of twitter users in a text file and I simply want to append http://www.twitter.com/ to the beginning of the line. For example in the text file at the moment I have:

 

user1

user2

user3

and so on...

 

but I want to have:

http://www.twitter.com/user1

http://www.twitter.com/user2

http://www.twitter.com/user3

 

I assume that there is a way using add to list where I can append the data?

 

See what I mean?

 

Many thanks Rob

Link to post
Share on other sites

Ahh, now I see your problem.

 

Yeah just write www.twitter.com/{1} where {1} is a subparameter which says $next list item :)

 

 

Thanks alcr,

 

Now as soon as the trojan problem is sorted out. I'll be very happy indeed. :)

Link to post
Share on other sites
  • 5 weeks later...

To add to this question, is it possible to append a random string of characters to input data? In other words, If my bot creates accounts at social bookmarking sites, etc, I would have the user input a desired username. To ensure the username is unique, could I have the bot append, say, a random 5 character string to the end of the username prior to submitting it? Thanks.

 

John

Link to post
Share on other sites

To add to this question, is it possible to append a random string of characters to input data? In other words, If my bot creates accounts at social bookmarking sites, etc, I would have the user input a desired username. To ensure the username is unique, could I have the bot append, say, a random 5 character string to the end of the username prior to submitting it? Thanks.

 

John

 

The easy way would be to use the create account $password system parameter. And put that on the end. Or even easier if you don't mind the random string being all numbers then use the $rand function to generate a number between 10000 and 99999 (if you want it 5 characters long).

 

Andy

Link to post
Share on other sites

The easy way would be to use the create account $password system parameter. And put that on the end. Or even easier if you don't mind the random string being all numbers then use the $rand function to generate a number between 10000 and 99999 (if you want it 5 characters long).

 

Andy

 

Thank you Andy! So if I had a "Desired Username" UI text box I would insert the variable, for example, #username$rand? (I understand what you're saying, I'm just not sure how i would "construct" it). Thanks again

 

John

 

 

 

Link to post
Share on other sites

set #variable {1}{2} where 1 points at $username and 2 at $rand :)

 

And then use the variable

 

Ok, that worked perfectly, Now is it possible to add the username (with its appended digits) to a list and save it to a file for future use? I keep trying but can only get the username without the random numbers saved. Thanks.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...