Trying to make my own vbscript -
i have been working on vb script around hour trying work there many skype spammer scipts want make 1 includes random number generator script call @ moment "skype_randizer_mk1"
if able take @ it appreciated. when posting website said had indent may little strange
the delay variable amount of time take enter number don't mind if program makes numerical values intend do
set shell = createobject ("wscript.shell") dim max dim min dim delay max = 100 min = 1 delay = 0.00000001 = 1 5 randomize intnumber = int((max - min + 1) * rnd + min ) wscript.echo intnumber next b=1 delay shell.sendkeys (intnumber) wscript.sleep(delay) if not isnumeric(delay) wscript.quit end if msgbox "you have 5 seconds inputbox." wscript.sleep ( 5000 ) next
you have lots of problems code:-
- you should declare variables using
dim
: e.g.dim shell
- you missing
next
1 offor
loops - line 10 doesn't make sense. says:
for b=1 delay
, delay = 0.00000001, loop never run. also, why section need loop? think wantif
/then
/else
- line 11 should
shell.sendkeys
, notstrshell.sendkeys
uninitialised variable - line 13 checking numeric
delay
value. how ever other numeric when assigning value of0.00000001
on line 4 , never changes. result, not exit script untilfor
loop on line 5 has executed 5 times.
Comments
Post a Comment