[Contribution]Dragonica Help Script

01/15/2011 00:00 jonrie03#1
I added some code in Dragonica Help
can someone check the code i had added if it is right?
and if it is wrong tell me what to do
Im just trying to contribute in adding more functions to these script..
heres the line of codes :

Quote:
;Toggle to check and not to check so as to reduce in game lag
If ($i = 1) Then
$i = 2
$ToggleTimer = TimerInit()
EndIf

If (WinExists($WinTitle) And TimerDiff($SpamTimer) > $SpamInterval And $SpamEnable = $GUI_CHECKED) Then
$SpamTimer = TimerInit()
ControlSend($WinTitle,'','',$SpamKey)
While 1 = 1 ; the code i added starts here
$i = 0
While $i <= 6
ControlSend($WinTitle,'','','{Right}')
ControlSend($WinTitle,'','','{space}')
$i = $i + 1
WEnd
while $i <= 12
ControlSend($WinTitle,'','','{Left}')
ControlSend($WinTitle,'','','{space}')
$i = $i + 1
WEnd ; the code i added ends here
EndIf
Is this correct?
Im trying to add the movement
Right move>loot>Right move>loot>Right move>loot until $i <= 6
and
Left move>loot>Left move>loot>Left move>loot until $i <= 12
Thankyou..
By the way, heres the link of dragonica helper by DragonicaIt
[Only registered and activated users can see links. Click Here To Register...]
01/15/2011 03:00 Mark-#2
afaik this cant work because dragonica blocks all autoit input
01/15/2011 03:59 jonrie03#3
but sir i tried it here in PHdragonica, and I was amazed, so I try to edit the script to make it more functionable
01/15/2011 09:35 Mark-#4
ok then its nice
01/15/2011 09:46 jonrie03#5
oh im sorry, my dragonica crashed eventually..im trying to make a new one,
can anyone suggest a programming language to use?