PHP Code:
#include <ie.au3>
$howmanyaccs=InputBox("wieviele Accs","wieviele accs sollen erstellt werden:")
$name=InputBox("Frage", "Accountname(Zahlen werden angehängt):")
$pw=InputBox("da sima dabei das is prima","Passwort (mind 4 zeichen):")
$mail=InputBox("emailadresse","emailadresse:")
#include <Inet.au3>
$i=1
do
$PublicIP = _GetIP()
$oIE = _IECreate ("http://www.seafight.de")
If IsObj($oIE) Then
AutoItSetOption("WinTitleMatchMode", 4)
$title = WinGetTitle("[ACTIVE]", "")
$text = WinGetText("[ACTIVE]", "")
_IELoadWait($oIE)
$oForm = _IEFormGetObjByName($oIE, "loginForm_default")
$oUsername = _IEFormElementGetObjByName($oForm, "loginForm_default_signup_submit")
_IEAction ($oUsername, "click")
Else
MsgBox(48,"Erstellen des neuen Accs fehlgeschlagen","Es konnte keine Instanz erzeugt werden!")
EndIf
_IELoadWait($oUsername)
$oURL = _IEPropertyGet ($oIE, "locationurl")
$oForm = _IEFormGetObjByName($oIE, "signup_signup")
$oUsername = _IEFormElementGetObjByName($oForm, "signup_username")
sleep(33)
$namenumber=($name & $i )
_IEFormElementSetValue($oUsername, $namenumber)
$i=($i+1)
$oPass = _IEFormElementGetObjByName($oForm, "signup_password")
_IEFormElementSetValue($oPass, $pw)
sleep(33)
$oPassZwei = _IEFormElementGetObjByName($oForm, "signup_passwordRepeat")
_IEFormElementSetValue($oPassZwei, $pw)
sleep(33)
$oMail =_IEFormElementGetObjByName($oForm, "signup_email")
_IEFormElementSetValue($oMail, $mail)
sleep(33)
; server auswählen
$oSelect = _IEFormElementGetObjByName($oForm, "signup_instance")
_IEFormElementOptionSelect($oSelect, "Deutschland 4", 1, "byText")
_IEFormElementCheckboxSelect ($oForm, 1)
$oregistrieren = _IEFormElementGetObjByName($oForm, "signup_submit")
_IEAction ($oregistrieren, "click")
_IELoadWait($oIE)
_IEQuit ($oIE)
until $i=$howmanyaccs