Sign in to follow this  
Followers 0
bagohan

[Help]Sending Commands

7 posts in this topic

anyone can check this script..

Func Price()
    #region iniread
    $P1_1 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item1", ""))
    $P1_2 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item2", ""))
    $P1_3 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item3", ""))
    $P1_4 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item4", ""))
    $P1_5 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item5", ""))
    $P1_6 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item6", ""))
    $P2_1 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item1", ""))
    $P2_2 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item2", ""))
    $P2_3 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item3", ""))
    $P2_4 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item4", ""))
    $P2_5 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item5", ""))
    $P2_6 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item6", ""))
    $P3_1 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item1", ""))
    $P3_2 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item2", ""))
    $P3_3 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item3", ""))
    $P3_4 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item4", ""))
    $P3_5 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item5", ""))
    $P3_6 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item6", ""))
    $P4_1 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item1", ""))
    $P4_2 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item2", ""))
    $P4_3 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item3", ""))
    $P4_4 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item4", ""))
    $P4_5 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item5", ""))
    $P4_6 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item6", ""))
    $P5_1 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item1", ""))
    $P5_2 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item2", ""))
    $P5_3 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item3", ""))
    $P5_4 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item4", ""))
    $P5_5 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item5", ""))
    $P5_6 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item6", ""))
    $P6_1 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item1", ""))
    $P6_2 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item2", ""))
    $P6_3 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item3", ""))
    $P6_4 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item4", ""))
    $P6_5 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item5", ""))
    $P6_6 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item6", ""))
    $PNUM_1 = 90000
    $PNUM_2 = 100000
    $PNUM_3 = 150000
    $PNUM_4 = 200000
    $PNUM_5 = 250000
    $PNUM_6 = 300000
    $PNUM_7 = 350000
    $PNUM_8 = 400000
    $PNUM_9 = 450000
    $PNUM_10 = 500000
    $PNUM_11 = 550000
    $PNUM_12 = 600000
    $PNUM_13 = 650000
    $PNUM_14 = 700000
    $PNUM_15 = 750000
    $PNUM_16 = 800000
    $PNUM_17 = 850000
    $PNUM_18 = 900000
    $PNUM_19 = 950000
    $PNUM_20 = 1000000
    $PNUM_21 = 1100000
    $PNUM_22 = 1200000
    $PNUM_23 = 1300000
    $PNUM_24 = 1400000
    $PNUM_25 = 1500000
    $PNUM_26 = 1600000
    $PNUM_27 = 1700000
    $PNUM_28 = 1800000
    $PNUM_29 = 1900000
    $PNUM_30 = 2000000
    #EndRegion iniread
    If ($P1_1 == $PNUM_1) Then
        ControlSend("Dekaron", "", "", "90000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_2) Then
        ControlSend("Dekaron", "", "", "100000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_3) Then
        ControlSend("Dekaron", "", "", "150000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_4) Then
        ControlSend("Dekaron", "", "", "200000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_5) Then
        ControlSend("Dekaron", "", "", "250000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_6) Then
        ControlSend("Dekaron", "", "", "300000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_7) Then
        ControlSend("Dekaron", "", "", "350000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_8) Then
        ControlSend("Dekaron", "", "", "400000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_9) Then
        ControlSend("Dekaron", "", "", "450000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_10) Then
        ControlSend("Dekaron", "", "", "500000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_11) Then
        ControlSend("Dekaron", "", "", "550000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_12) Then
        ControlSend("Dekaron", "", "", "600000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_13) Then
        ControlSend("Dekaron", "", "", "650000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_14) Then
        ControlSend("Dekaron", "", "", "700000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_15) Then
        ControlSend("Dekaron", "", "", "750000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_16) Then
        ControlSend("Dekaron", "", "", "800000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_17) Then
        ControlSend("Dekaron", "", "", "850000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_18) Then
        ControlSend("Dekaron", "", "", "900000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_19) Then
        ControlSend("Dekaron", "", "", "950000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_20) Then
        ControlSend("Dekaron", "", "", "1000000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_21) Then
        ControlSend("Dekaron", "", "", "1100000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_22) Then
        ControlSend("Dekaron", "", "", "1200000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_23) Then
        ControlSend("Dekaron", "", "", "1300000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_24) Then
        ControlSend("Dekaron", "", "", "1400000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_25) Then
        ControlSend("Dekaron", "", "", "1500000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_26) Then
        ControlSend("Dekaron", "", "", "1600000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_27) Then
        ControlSend("Dekaron", "", "", "1700000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_28) Then
        ControlSend("Dekaron", "", "", "1800000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_29) Then
        ControlSend("Dekaron", "", "", "1900000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_30) Then
        ControlSend("Dekaron", "", "", "2000000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
EndFunc

evertime i starting to start that func i get this error...

Posted Image

anyone can help me....

Share this post


Link to post
Share on other sites



Open the script in scite press f5 lemme know what line the error is on.


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites

Open the script in scite press f5 lemme know what line the error is on.

then this is the original script...(still not complete...)

#include <file.au3>
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GUIListbox.au3>
#include <EditConstants.au3>
#include <ListBoxConstants.au3>
#include <GUIComboBox.au3>
#include <GUIConstants.au3>

Global $ListView1, $Combo1, $Combo2, $Combo3, $Combo4, $Combo5, $Combo6, $sItems, $Profile, $YourIni
$Loaded = 0
$ProfileDirectory = @ScriptDir & "\PriceSettings\"
$extension = ".ini"
DirCreate($ProfileDirectory)

Opt("GUIOnEventMode", 1)
GUICreate("AutoSell", 195, 564, 193, 115)
GUISetIcon("C:\Program Files\GameHI\Dekaron\ATTOBOT\dekaron.ico")
GUISetCursor (2)
GUISetBkColor(0xA6CAF0)
GUICtrlCreatePic("C:\Program Files\GameHI\Dekaron\ATTOBOT\dekaron.jpg", 0, 0, 193, 113, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlCreateGroup("PriceSettings", 0, 280, 193, 169)
$Combo1 = GUICtrlCreateCombo("", 48, 296, 137, 25)
GUICtrlSetData(-1, "90000|100000|150000|200000|250000|300000|350000|400000|450000|500000|550000|600000|650000|700000

|750000|800000|850000|900000|950000|1000000|1100000|1200000|1300000|1400000|1500000|1600000|1700000|

1800000|1900000|2000000||")
GUICtrlCreateLabel("Item1", 8, 304, 30, 17)
$Combo2 = GUICtrlCreateCombo("", 48, 320, 137, 25)
GUICtrlSetData(-1, "90000|100000|150000|200000|250000|300000|350000|400000|450000|500000|550000|600000|650000|700000

|750000|800000|850000|900000|950000|1000000|1100000|1200000|1300000|1400000|1500000|1600000|1700000|

1800000|1900000|2000000")
GUICtrlCreateLabel("Item2", 8, 328, 30, 17)
$Combo3 = GUICtrlCreateCombo("", 48, 344, 137, 25)
GUICtrlSetData(-1, "90000|100000|150000|200000|250000|300000|350000|400000|450000|500000|550000|600000|650000|700000

|750000|800000|850000|900000|950000|1000000|1100000|1200000|1300000|1400000|1500000|1600000|1700000|

1800000|1900000|2000000")
GUICtrlCreateLabel("Item3", 8, 352, 30, 17)
$Combo4 = GUICtrlCreateCombo("", 48, 368, 137, 25)
GUICtrlSetData(-1, "90000|100000|150000|200000|250000|300000|350000|400000|450000|500000|550000|600000|650000|700000

|750000|800000|850000|900000|950000|1000000|1100000|1200000|1300000|1400000|1500000|1600000|1700000|

1800000|1900000|2000000")
GUICtrlCreateLabel("Item4", 8, 376, 30, 17)
$Combo5 = GUICtrlCreateCombo("", 48, 392, 137, 25)
GUICtrlSetData(-1, "90000|100000|150000|200000|250000|300000|350000|400000|450000|500000|550000|600000|650000|700000

|750000|800000|850000|900000|950000|1000000|1100000|1200000|1300000|1400000|1500000|1600000|1700000|

1800000|1900000|2000000")
GUICtrlCreateLabel("Item5", 8, 400, 30, 17)
$Combo6 = GUICtrlCreateCombo("", 48, 416, 137, 25)
GUICtrlSetData(-1, "90000|100000|150000|200000|250000|300000|350000|400000|450000|500000|550000|600000|650000|700000

|750000|800000|850000|900000|950000|1000000|1100000|1200000|1300000|1400000|1500000|1600000|1700000|

1800000|1900000|2000000")
GUICtrlCreateLabel("Item6", 8, 424, 30, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUICtrlCreateButton("StartSell", 8, 456, 83, 25, 0)
GUICtrlSetOnEvent(-1 ,"_StartSell")
GUICtrlCreateButton("RemoveItems", 104, 456, 83, 25, 0)
GUICtrlSetOnEvent(-1, "_Remove")
GUICtrlCreateButton("SAVE", 0, 488, 193, 33, 0)
GUICtrlSetOnEvent(-1, "_Profile")
GUICtrlSetFont(-1, 12, 800, 0, "Courier New")
GUICtrlCreateButton("EXIT", 0, 528, 193, 33, 0)
GUICtrlSetOnEvent(-1, "_EXIT")
$ListView1 = GUICtrlCreateList("", 0, 120, 193, 161)
GUICtrlSetOnEvent(-1, "_LoadProfile")
GUICtrlSetFont($ListView1, 14, 400,0, "Courier New")
_GenerateList($ListView1, $ProfileDirectory)
GUISetState(@SW_SHOW)

While 1
    Sleep(100)
WEnd

Func _GenerateList($hListToUse, $vDirectoryToSearch)
    $aFileList = _FileListToArray($vDirectoryToSearch, "*" & $extension)
    For $i = 1 To UBound($aFileList) - 1
        $removeini = String($aFileList[$i])
        $removed = StringTrimRight($removeini, 4)
        GUICtrlSetData($hListToUse, $removed)
    Next
EndFunc

Func _LoadProfile()
    $Loaded = 1
    $File = _GUICtrlListBox_GetText($ListView1, _GUICtrlListBox_GetCurSel($ListView1))
    $YourIni = @ScriptDir & "\PriceSettings\" & $File & $extension
    GUICtrlSetData($Combo1, IniRead($YourIni, "Prices", "Item1", ""))
    GUICtrlSetData($Combo2, IniRead($YourIni, "Prices", "Item2", ""))
    GUICtrlSetData($Combo3, IniRead($YourIni, "Prices", "Item3", ""))
    GUICtrlSetData($Combo4, IniRead($YourIni, "Prices", "Item4", ""))
    GUICtrlSetData($Combo5, IniRead($YourIni, "Prices", "Item5", ""))
    GUICtrlSetData($Combo6, IniRead($YourIni, "Prices", "Item6", ""))
    If Not IniRead($YourIni, "Prices", "Item1", "") = "" Then
        _GUICtrlComboBox_SetCurSel($Combo1, IniRead($YourIni, "Prices", "Item1", ""))
    EndIf
    If Not IniRead($YourIni, "Prices", "Item2", "") = "" Then
        _GUICtrlComboBox_SetCurSel($Combo2, IniRead($YourIni, "Prices", "Item2", ""))
    EndIf
    If Not IniRead($YourIni, "Prices", "Item3", "") = "" Then
        _GUICtrlComboBox_SetCurSel($Combo3, IniRead($YourIni, "Prices", "Item3", ""))
    EndIf
    If Not IniRead($YourIni, "Prices", "Item4", "") = "" Then
        _GUICtrlComboBox_SetCurSel($Combo4, IniRead($YourIni, "Prices", "Item4", ""))
    EndIf
    If Not IniRead($YourIni, "Prices", "Item5", "") = "" Then
        _GUICtrlComboBox_SetCurSel($Combo5, IniRead($YourIni, "Prices", "Item5", ""))
    EndIf
    If Not IniRead($YourIni, "Prices", "Item6", "") = "" Then
        _GUICtrlComboBox_SetCurSel($Combo6, IniRead($YourIni, "Prices", "Item6", ""))
    EndIf
EndFunc

Func _StartSell()
    PutItem()
EndFunc

Func Price()
    #region iniread
    $P1_1 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item1", ""))
    $P1_2 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item2", ""))
    $P1_3 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item3", ""))
    $P1_4 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item4", ""))
    $P1_5 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item5", ""))
    $P1_6 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item6", ""))
    $P2_1 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item1", ""))
    $P2_2 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item2", ""))
    $P2_3 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item3", ""))
    $P2_4 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item4", ""))
    $P2_5 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item5", ""))
    $P2_6 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item6", ""))
    $P3_1 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item1", ""))
    $P3_2 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item2", ""))
    $P3_3 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item3", ""))
    $P3_4 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item4", ""))
    $P3_5 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item5", ""))
    $P3_6 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item6", ""))
    $P4_1 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item1", ""))
    $P4_2 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item2", ""))
    $P4_3 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item3", ""))
    $P4_4 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item4", ""))
    $P4_5 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item5", ""))
    $P4_6 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item6", ""))
    $P5_1 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item1", ""))
    $P5_2 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item2", ""))
    $P5_3 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item3", ""))
    $P5_4 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item4", ""))
    $P5_5 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item5", ""))
    $P5_6 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item6", ""))
    $P6_1 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item1", ""))
    $P6_2 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item2", ""))
    $P6_3 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item3", ""))
    $P6_4 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item4", ""))
    $P6_5 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item5", ""))
    $P6_6 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item6", ""))
    $PNUM_1 = 90000
    $PNUM_2 = 100000
    $PNUM_3 = 150000
    $PNUM_4 = 200000
    $PNUM_5 = 250000
    $PNUM_6 = 300000
    $PNUM_7 = 350000
    $PNUM_8 = 400000
    $PNUM_9 = 450000
    $PNUM_10 = 500000
    $PNUM_11 = 550000
    $PNUM_12 = 600000
    $PNUM_13 = 650000
    $PNUM_14 = 700000
    $PNUM_15 = 750000
    $PNUM_16 = 800000
    $PNUM_17 = 850000
    $PNUM_18 = 900000
    $PNUM_19 = 950000
    $PNUM_20 = 1000000
    $PNUM_21 = 1100000
    $PNUM_22 = 1200000
    $PNUM_23 = 1300000
    $PNUM_24 = 1400000
    $PNUM_25 = 1500000
    $PNUM_26 = 1600000
    $PNUM_27 = 1700000
    $PNUM_28 = 1800000
    $PNUM_29 = 1900000
    $PNUM_30 = 2000000
    #EndRegion iniread
    If ($P1_1 == $PNUM_1) Then
        ControlSend("Dekaron", "", "", "90000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_2) Then
        ControlSend("Dekaron", "", "", "100000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_3) Then
        ControlSend("Dekaron", "", "", "150000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_4) Then
        ControlSend("Dekaron", "", "", "200000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_5) Then
        ControlSend("Dekaron", "", "", "250000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_6) Then
        ControlSend("Dekaron", "", "", "300000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_7) Then
        ControlSend("Dekaron", "", "", "350000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_8) Then
        ControlSend("Dekaron", "", "", "400000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_9) Then
        ControlSend("Dekaron", "", "", "450000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_10) Then
        ControlSend("Dekaron", "", "", "500000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_11) Then
        ControlSend("Dekaron", "", "", "550000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_12) Then
        ControlSend("Dekaron", "", "", "600000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_13) Then
        ControlSend("Dekaron", "", "", "650000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_14) Then
        ControlSend("Dekaron", "", "", "700000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_15) Then
        ControlSend("Dekaron", "", "", "750000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_16) Then
        ControlSend("Dekaron", "", "", "800000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_17) Then
        ControlSend("Dekaron", "", "", "850000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_18) Then
        ControlSend("Dekaron", "", "", "900000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_19) Then
        ControlSend("Dekaron", "", "", "950000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_20) Then
        ControlSend("Dekaron", "", "", "1000000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_21) Then
        ControlSend("Dekaron", "", "", "1100000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_22) Then
        ControlSend("Dekaron", "", "", "1200000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_23) Then
        ControlSend("Dekaron", "", "", "1300000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_24) Then
        ControlSend("Dekaron", "", "", "1400000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_25) Then
        ControlSend("Dekaron", "", "", "1500000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_26) Then
        ControlSend("Dekaron", "", "", "1600000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_27) Then
        ControlSend("Dekaron", "", "", "1700000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_28) Then
        ControlSend("Dekaron", "", "", "1800000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_29) Then
        ControlSend("Dekaron", "", "", "1900000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
    If ($P1_1 == $PNUM_30) Then
        ControlSend("Dekaron", "", "", "2000000")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
EndFunc

Func PutItem()
    Opt("WinWaitDelay",100)
    Opt("WinTitleMatchMode",4)
    Opt("WinDetectHiddenText",1)
    Opt("MouseCoordMode",0)
    WinWait("Dekaron","")
    If Not WinActive("Dekaron","") Then WinActivate("Dekaron","")
    WinWaitActive("Dekaron","")
    Send("/")
    Sleep(1000)
    MouseMove(720,533)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(29,249)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(747,535)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(52,249)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(775,528)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(90,253)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(801,533)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(124,250)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(841,535)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(149,247)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(710,572)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(25,286)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(747,567)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(51,284)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(775,554)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(84,278)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(801,560)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(119,287)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(839,564)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(150,284)
    MouseDown("left")
    MouseUp("left")
    Price()
    Sleep(1000)
    MouseMove(132,502)
    MouseDown("left")
    MouseUp("left")
    Send("vend{SPACE}mode")
    Sleep(1000)
    MouseMove(270,498)
    MouseDown("left")
    MouseUp("left")
EndFunc

Func _Remove()
    Opt("WinWaitDelay",100)
    Opt("WinTitleMatchMode",4)
    Opt("WinDetectHiddenText",1)
    Opt("MouseCoordMode",0)
    WinWait("Dekaron","")
    If Not WinActive("Dekaron","") Then WinActivate("Dekaron","")
    WinWaitActive("Dekaron","")
    Sleep(1000)
    MouseMove(326,195)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(18,246)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(712,535)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(42,246)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(741,533)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(93,247)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(782,540)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(121,250)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(815,533)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(158,252)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(847,544)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(20,289)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(714,563)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(57,288)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(744,568)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(88,278)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(781,568)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(120,290)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(806,564)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(146,291)
    MouseDown("left")
    Sleep(1000)
    MouseMove(162,294)
    MouseUp("left")
    Sleep(1000)
    MouseMove(844,575)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(291,521)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseDown("left")
    MouseUp("left")
    Sleep(1000)
    MouseMove(325,197)
    MouseDown("left")
    MouseUp("left")
EndFunc

Func _Profile()
    If $Loaded = 0 Then
        GUICreate("PriceSettings", 195, 140, 193, 125)
        GUISetBkColor(0x00E0FFFF)
        GUICtrlCreateLabel("SettingsName:", 40, 24, 114, 20)
        GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
        $Profile = GUICtrlCreateInput("", 24, 56, 145, 21)
        GUICtrlCreateButton("Save", 96, 96, 75, 25, 0)
        GUICtrlSetOnEvent(-1, "_Save")
        GUISetState(@SW_SHOW)
    Else
        _Save()
    EndIf
EndFunc

Func _Save()
    If $Loaded = 0 Then
        $temp = GUICtrlRead($Profile)
        GUIDelete("")
        $name = @ScriptDir & "\PriceSettings\" & $temp & $extension
        _FileCreate($name)
    Else
        $name = $YourIni
    EndIf
    IniWrite($name, "Prices", "Item1", GUICtrlRead($Combo1))
    IniWrite($name, "Prices", "Item2", GUICtrlRead($Combo2))
    IniWrite($name, "Prices", "Item3", GUICtrlRead($Combo3))
    IniWrite($name, "Prices", "Item4", GUICtrlRead($Combo4))
    IniWrite($name, "Prices", "Item5", GUICtrlRead($Combo5))
    IniWrite($name, "Prices", "Item6", GUICtrlRead($Combo6))
    _GenerateList($ListView1, $ProfileDirectory)
EndFunc

Func _Exit()
    Exit
EndFunc

OMG wat a error.... can you help me fix this...

this is the error...

>"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /AU3Check /in "C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3"
+>16:10:21 Starting AutoIt3Wrapper v.1.10.1.8   Environment(Language:0412  Keyboard:E0010412  OS:WIN_XP/Service Pack 2  CPU:X86)
>Running AU3Check (1.54.13.0)  from:C:\Program Files\AutoIt3
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(110,78) : ERROR: syntax error
    $P1_1 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item1", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(111,78) : ERROR: syntax error
    $P1_2 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item2", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(112,78) : ERROR: syntax error
    $P1_3 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item3", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(113,78) : ERROR: syntax error
    $P1_4 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item4", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(114,78) : ERROR: syntax error
    $P1_5 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item5", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(115,78) : ERROR: syntax error
    $P1_6 = IniRead(@ScriptDir & "\PriceSettings\P1.ini", "Prices", "Item6", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(116,78) : ERROR: syntax error
    $P2_1 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item1", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(117,78) : ERROR: syntax error
    $P2_2 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item2", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(118,78) : ERROR: syntax error
    $P2_3 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item3", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(119,78) : ERROR: syntax error
    $P2_4 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item4", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(120,78) : ERROR: syntax error
    $P2_5 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item5", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(121,78) : ERROR: syntax error
    $P2_6 = IniRead(@ScriptDir & "\PriceSettings\P2.ini", "Prices", "Item6", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(122,78) : ERROR: syntax error
    $P3_1 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item1", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(123,78) : ERROR: syntax error
    $P3_2 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item2", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(124,78) : ERROR: syntax error
    $P3_3 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item3", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(125,78) : ERROR: syntax error
    $P3_4 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item4", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(126,78) : ERROR: syntax error
    $P3_5 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item5", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(127,78) : ERROR: syntax error
    $P3_6 = IniRead(@ScriptDir & "\PriceSettings\P3.ini", "Prices", "Item6", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(128,78) : ERROR: syntax error
    $P4_1 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item1", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(129,78) : ERROR: syntax error
    $P4_2 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item2", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(130,78) : ERROR: syntax error
    $P4_3 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item3", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(131,78) : ERROR: syntax error
    $P4_4 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item4", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(132,78) : ERROR: syntax error
    $P4_5 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item5", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(133,78) : ERROR: syntax error
    $P4_6 = IniRead(@ScriptDir & "\PriceSettings\P4.ini", "Prices", "Item6", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(134,78) : ERROR: syntax error
    $P5_1 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item1", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(135,78) : ERROR: syntax error
    $P5_2 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item2", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(136,78) : ERROR: syntax error
    $P5_3 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item3", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(137,78) : ERROR: syntax error
    $P5_4 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item4", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(138,78) : ERROR: syntax error
    $P5_5 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item5", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(139,78) : ERROR: syntax error
    $P5_6 = IniRead(@ScriptDir & "\PriceSettings\P5.ini", "Prices", "Item6", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(140,78) : ERROR: syntax error
    $P6_1 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item1", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(141,78) : ERROR: syntax error
    $P6_2 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item2", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(142,78) : ERROR: syntax error
    $P6_3 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item3", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(143,78) : ERROR: syntax error
    $P6_4 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item4", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(144,78) : ERROR: syntax error
    $P6_5 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item5", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3(145,78) : ERROR: syntax error
    $P6_6 = IniRead(@ScriptDir & "\PriceSettings\P6.ini", "Prices", "Item6", ""))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\GameHI\Dekaron\ATTOBOT\MarketTest1.au3 - 36 error(s), 0 warning(s)
!>16:10:22 AU3Check ended.rc:2
>Exit code: 0   Time: 0.670

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Okay your problem is on the end of several lines there is two "))" where there should be ")" change all those lines and it should be ok.

EDIT: An error is defined as:

1. An act, assertion, or belief that unintentionally deviates from what is correct, right, or true.

2. The condition of having incorrect or false knowledge.

3. The act or an instance of deviating from an accepted code of behavior.

4. A mistake.

5. Mathematics. The difference between a computed or measured value and a true or theoretically correct value.

6. (Abbr. E) Baseball. A defensive fielding or throwing misplay by a player when a play normally should have resulted in an out or prevented an advance by a base runner.

Edited by MerkurAlex

[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites

Okay your problem is on the end of several lines there is two "))" where there should be ")" change all those lines and it should be ok.

EDIT: An error is defined as:

thanx its now working muttley

Share this post


Link to post
Share on other sites

No problem.


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

No problem.

ahmm one more thing sir can i ask a favor can you review my script coz only the Price for Item1 only executing the rest for Item2 - 6 not working... instead its executing with same price number what i mean is if item1 got 50000 it will execute on the same item2 and 3 up to 6... can you review it please....

EDITED:opppss sorry i know now why coz its not yet complete only ITEM1 is exist sorry muttley

Edited by bagohan

Share this post


Link to post
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
Sign in to follow this  
Followers 0