Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Javascript Help

  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript Help

    [Project specifics]
    Name=AQ BOT
    [Event73]
    FunctionType=Pause
    Time=2000
    EventText=Pause for 2 second(s)
    [Event74]
    FunctionType=MoveMouse
    MoveMouse=616,515
    Random=2
    Speed=10
    EventText=Move the mouse to X:616 Y:515 (2 pixels² randomized) at speed: 90
    [Event75]
    FunctionType=MouseClickLeft
    EventText=Click left mousebutton
    [Event76]
    FunctionType=Pause
    Time=5000
    EventText=Pause for 5 second(s)
    [Event77]
    FunctionType=MoveMouse
    MoveMouse=919,665
    Random=2
    Speed=10
    EventText=Move the mouse to X:919 Y:665 (2 pixels² randomized) at speed: 90
    [Event78]
    FunctionType=MouseClickLeft
    EventText=Click left mousebutton
    [Event79]
    FunctionType=Pause
    Time=500
    EventText=Pause for 0.5 second(s)
    [Event80]
    FunctionType=MoveMouse
    MoveMouse=890,577
    Random=2
    Speed=10
    EventText=Move the mouse to X:890 Y:577 (2 pixels² randomized) at speed: 90
    [Event81]
    FunctionType=MouseClickLeft
    EventText=Click left mousebutton
    [Event82]
    FunctionType=Pause
    Time=10000
    EventText=Pause for 10 second(s)
    [Event83]
    FunctionType=GetPixel
    Location=851,638
    ColorVarName=Variable1
    EventText=Read color of pixel at X:851 Y:638, add color to: Variable1
    ColorEvent83=F20000
    [Event84]
    FunctionType=If...Then
    Variable=Variable1
    Operator==
    Result=F20000
    Function=Move mouse
    EventText=If Variable1 = F20000 then:
    [Event85]
    Statement=If
    FunctionType=MoveMouse
    MoveMouse=619,361
    Random=2
    Speed=10
    EventText=Move the mouse to X:619 Y:361 (2 pixels² randomized) at speed: 90
    [Event86]
    FunctionType=MouseClickLeft
    EventText=Click left mousebutton
    [Event87]
    FunctionType=MoveMouse
    MoveMouse=644,308
    Random=2
    Speed=10
    EventText=Move the mouse to X:644 Y:308 (2 pixels² randomized) at speed: 90
    [Event88]
    FunctionType=MouseClickLeft
    EventText=Click left mousebutton
    [Event89]
    FunctionType=Pause
    Time=15000
    EventText=Pause for 15 second(s)
    [Event90]
    FunctionType=If...Then
    Variable=Variable1
    Operator==
    Result=181818
    Function=Move mouse
    EventText=If Variable1 = 181818 then:
    [Event91]
    Statement=If
    FunctionType=MoveMouse
    MoveMouse=627,507
    Random=2
    Speed=98
    EventText=Move the mouse to X:627 Y:507 (2 pixels² randomized) at speed: 2
    [Event92]
    FunctionType=MouseClickLeft
    EventText=Click left mousebutton



    Thats the script so far now what I want it to do is,, Repeat from

    [Event83]
    FunctionType=GetPixel ,,

    all the way down,, until the script below this kicks in,, than I want it to repeat itsself from the beggining,, Any Ideas???

    EventText=If Variable1 = 181818 then:
    [Event91]
    Statement=If
    FunctionType=MoveMouse
    MoveMouse=627,507
    Random=2
    Speed=98
    EventText=Move the mouse to X:627 Y:507 (2 pixels² randomized) at speed: 2
    [Event92]
    FunctionType=MouseClickLeft
    EventText=Click left mousebutton

  • #2
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sorry

    I appologize for how retarded that was,, heres the script minus the bull****,,

    Name=AQ BOT
    FunctionType=Pause
    Time=2000
    FunctionType=MoveMouse
    MoveMouse=616,515
    Random=2
    Speed=10
    FunctionType=MouseClickLeft
    FunctionType=Pause
    Time=5000
    FunctionType=MoveMouse
    MoveMouse=919,665
    Random=2
    Speed=10
    FunctionType=MouseClickLeft
    FunctionType=Pause
    Time=500
    FunctionType=MoveMouse
    MoveMouse=890,577
    Random=2
    Speed=10
    FunctionType=MouseClickLeft
    FunctionType=Pause
    Time=10000
    FunctionType=GetPixel
    Location=851,638
    ColorVarName=Variable1
    FunctionType=If...Then
    Variable=Variable1
    Operator==
    Result=F20000
    Function=Move mouse
    Statement=If
    FunctionType=MoveMouse
    MoveMouse=619,361
    Random=2
    Speed=10
    FunctionType=MouseClickLeft
    FunctionType=MoveMouse
    MoveMouse=644,308
    Random=2
    Speed=10
    FunctionType=MouseClickLeft
    FunctionType=Pause
    Time=15000
    FunctionType=If...Then
    Variable=Variable1
    Operator==
    Result=181818
    Function=Move mouse
    Statement=If
    FunctionType=MoveMouse
    MoveMouse=627,507
    Random=2
    Speed=98
    FunctionType=MouseClickLeft

    I still need the repeat at the same time,, and i need to know,, is there any other way to run this script other than Trickster(Which is the program that automated it)?,, im a noob ,, I am sorry,, Dont flame me to much

  • #3
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    and if thats not even possible to do is there anyone that could write a javascript for me that could complete that task?,, im a noob,, tell me if it is IMPOSSIBLE or not,, i need to learn..

  • #4
    Regular Coder
    Join Date
    Jun 2007
    Location
    USA
    Posts
    527
    Thanks
    26
    Thanked 74 Times in 72 Posts
    The code you posted is . . . I have no idea. I do know that it is definitely NOT javascript. It looks like output.

  • #5
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    awwww mannn im sorry,, im super new,, what language is best for coding bots?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •