Banana008 Posted March 2, 2018 Posted March 2, 2018 When I run a compiled script with command line options I am getting this error: Line13 $choice = Random(1, 3, 1) $choice = Random(1, 3, 1^ERRO Error: Error parsing function call So I don't know how to figure out where my first error is This is my code: #Region ;**** Directives created by AutoIt3Wrapper **** #AutoIt3Wrapper_Compression=4 #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Run_Au3Stripper=y #EndRegion ;**** Directives created by AutoIt3Wrapper **** $real = 'wah6UUncRT0brf3Da3QkmX8nTKRtU6Zk0iQIUixV' Global $Input, $Buttonl ConsoleWrite(RandomPrivilege() & @CRLF) Func RandomPrivilege() Local $_key For $CharacterNumber = 1 To 40 $choice = Random(1, 3, 1,) Switch $choice Case 1 $_key &= Chr(Random(97, 122, 1)) Case 2 $_key &= Chr(Random(65, 90, 1)) Case 3 $_key &= Chr(Random(48, 57, 1)) EndSwitch Next GUICtrlSetData($Input, $_key) EndFunc ;==>RandomPrivilege #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### Start Koda GUI section ### Form= $Forml = GUICreate("TeamSpeak Hijacker" , 354, 75, 192, 124) Global $Input = GUICtrlCreateInput("", 8, 8, 337, 21) Global $Buttonl = GUICtrlCreateButton("Generate + Select Admin Privalege Key" , 8, 40, 339, 25) AdlibRegister('RandomPrivilege' , 333) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Buttonl AdlibRegister('RandomPrivilege') GUICtrlSetData($Input, $real) EndSwitch WEnd
Banana008 Posted March 2, 2018 Author Posted March 2, 2018 I already found the error $choice = Random(1, 3, 1,) it's the , after the 1 but thanks
Developers Jos Posted March 2, 2018 Developers Posted March 2, 2018 21 minutes ago, Banana008 said: GUICreate("TeamSpeak Hijacker" Means what exactly? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Banana008 Posted March 2, 2018 Author Posted March 2, 2018 It's a fake Hijacker if u see the code it allways display one key it's to joke with a friend xD
Developers Jos Posted March 2, 2018 Developers Posted March 2, 2018 Lets not ... please read our forum rules how we feel about these type of script topics! Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts