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:-

  1. you should declare variables using dim: e.g. dim shell
  2. you missing next 1 of for loops
  3. line 10 doesn't make sense. says: for b=1 delay, delay = 0.00000001, loop never run. also, why section need loop? think want if/then/else
  4. line 11 should shell.sendkeys, not strshell.sendkeys uninitialised variable
  5. line 13 checking numeric delay value. how ever other numeric when assigning value of 0.00000001 on line 4 , never changes. result, not exit script until for loop on line 5 has executed 5 times.

Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -