Question:
Looping For VBS, any programmers know how to add a value to a variable?
Patrick Quinn
2011-07-06 12:49:49 UTC
Looping For VBS, any programmers know how to add a value to a variable?
Ok, So in my script, there's this one part where it has to loop.

it's like for i = 1 to amount
set Browser = CreateObject ("InternetExplorer.application")
Browser.visible = true
Browser.Navigate(Site)
Do While Browser.Busy
WScript.sleep 10
Loop

So I want to change one part in the "Site" Variable,
here's what it's called Site = "http://www.roblox.com/My/PrivateMessage… + PersonID

I want to add 1 to the Recipient ID (So PersonID + 1)

Anyone know how to fix that part?
Three answers:
kyleglowacki
2011-07-14 09:33:29 UTC
PersonID = 0



for i = 1 to amount

set Browser = CreateObject ("InternetExplorer.application")

Browser.visible = true

PersonID = PersonID + 1

set Site = "http://www.roblox.com/My/PrivateMessage… + PersonID

Browser.Navigate(Site)

Do While Browser.Busy

WScript.sleep 10

Loop
?
2014-09-24 00:15:29 UTC
Hi,

Are you wondering how to downoad for free Roblox Alpha? You can get it for free here: http://j.mp/Y2OXcq



it's a perfectly working link, no scam!

In Roblox people can create their world and learn how to build structures with different shapes, colors and functions thanks to its free accounts.

It's surely the leader game of its type.
2014-10-05 19:49:55 UTC
I like roblox A LOT! I play roblox practically everyday lulz.



I use a roblox generator to get unlimited roblox robux & tix http://tinyurl.com/lovoyba



Hope this helps :) Enjoy ;)


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...