Jump to content

reading ini


lopolop
 Share

Recommended Posts

ok i have a ini set up and i want to do this....

If $friend = "NotFound" then msgbox(0,"Friend", " The ini Friend info was not found " )

If $friend = N Then Endif

If $friend = Y Then MouseClick ( "Left", 120, 463, 1, 0 ) 
    Send("{/}f{SPACE}List") 
    Send("{ENTER}")
    EndIf
MouseClick ( "Left", 683, 453, 1, 0 )
Exit

so if $Friend is N(no) it skips

MouseClick ( "Left", 120, 463, 1, 0 )

Send("{/}f{SPACE}List")

Send("{ENTER}")

and goes to MouseClick ( "Left", 683, 453, 1, 0 )

but if it is Y(yes)

it does

MouseClick ( "Left", 120, 463, 1, 0 )

Send("{/}f{SPACE}List")

Send("{ENTER}")

and MouseClick ( "Left", 683, 453, 1, 0 )

but that code aint working.....

Link to comment
Share on other sites

If $friend = "NotFound" then msgbox(0,"Friend", " The ini Friend info was not found " )

If $friend =" Y" Then MouseClick ( "Left", 120, 463, 1, 0 )

Send("{/}f{SPACE}List")

Send("{ENTER}")

EndIf

MouseClick ( "Left", 683, 453, 1, 0 )

Exit

just remove the question asking about "N"

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...