Edit script in python and add features.

11/23/2010 21:56 rob2499#1
Hello.
Is it to add to this script, python,
PHP Code:
import serverInfo
serverNum
=`
serverChannel=1
addr_new = serverInfo.REGION_DICT[0][serverNum]['channel'][serverChannel]['ip']
port_new = serverInfo.REGION_DICT[0][serverNum]['channel'][serverChannel]['tcp_port']
account_addr_new = serverInfo.REGION_AUTH_SERVER_DICT[0][serverNum]['ip']
account_port_new = serverInfo.REGION_AUTH_SERVER_DICT[0][serverNum]['port']
addr=addr_new
port=port_new
id='aaaa'
pwd='aaaa'
account_addr=account_addr_new
account_port=account_port_new
slot=0
autoSelect=1
autoLogin=1 
functions, and it looks up in some way or appeared in the picture,
[Only registered and activated users can see links. Click Here To Register...] if so, it clicked twice to enter?
Sorry for my bad english.

PS: will show a script on a script autoit:
PHP Code:
#include <ImageSearch.au3>

Global $x, $y
Global $begin = 0
HotKeySet
("{END}", "koniec")

While 
1
        $kontuacja 
= _ImageSearch("1.png", 1, $x, $y, 20)
        
$test = _ImageSearch("3.png", 1, $x, $y, 20)
        If 
$kontuacja = 1 Then
                Send
("{ENTER}")
                
Sleep(100)
                
Send("{ENTER}")
        EndIf

        If 
$test = 1 Then
                
If $begin <> 0 Then
                        $diff 
= TimerDiff($begin)
                        If 
$diff > 10 * 1000 Then
                                Send
("{ENTER}")
                                
Sleep(100)
                                
Send("{ENTER}")
                                
$begin = 0 
                        
EndIf
                Else
                        
$begin = TimerInit()
                EndIf
        EndIf
        
Sleep(100)
WEnd

Func koniec
()
        Exit
EndFunc 
And they just want the same script to put in the script python