Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #singleinstance force
- setkeydelay 45 ;
- steampath = c:\program files (x86)\steam\ ; path to the steam folder, don't remove the "/" from the end
- launchtf2 = yes ; check the check box "launch tf2" by default (yes or no)
- launchoptions = -console -noborder -novid ; launch options for tf2, optional
- lmaobox = yes ; check the check box "lmaobox" by default (yes or no)
- lmaopath = %homepath%\documents\iexplore.exe ; path to lmaobox executable
- lmaoversion = free ; paid or free
- lmaouser = ; username for paid lmaobox
- lmaopass = ; password for paid lmaobox
- show_ip_box = yes ; check the check box "connect to ip address" by default (yes or no)
- gui:
- gui, destroy
- gui, add, edit, x90 y25 w290 h21 vahkname,
- gui, add, edit, x90 y56 w330 h21 vahkpass,
- gui, add, edit, x90 y141 w330 h84 vahkipstring,
- gui, add, checkbox, x90 y87 w70 h13 glmaocheck checked vahktf2, launch tf2
- if lmaobox = yes
- gui, add, checkbox, x170 y87 w70 h13 checked glmaocheck vahklmao, lmaobox
- else
- gui, add, checkbox, x170 y87 w70 h13 glmaocheck vahklmao, lmaobox
- gui, add, checkbox, x260 y87 w160 h13 gshowbox vshowbox, connect to ip address
- gui, add, button, x389 y24 w32 , new
- gui, add, button, x89 y109 w162 , create
- gui, add, button, x259 y109 w162 , cancel
- gui, add, text, x1 y28 w80 right, username
- gui, add, text, x1 y59 w80 right, password
- ifnotexist, %steampath%steam.exe
- {
- msgbox, steam not found! check the settings and try again
- exitapp
- }
- if show_ip_box = yes
- {
- guicontrol, show, ahkipstring
- guicontrol,, showbox, 1
- gui, show, w445 h250 x5 y5,account maker
- }
- if launchtf2 = no
- {
- guicontrol,, lmaobox, 0
- guicontrol, disable, lmaobox
- guicontrol,, ahktf2, 0
- }
- if show_ip_box = no
- {
- guicontrol, hide, ahkipstring
- gui, show, w445 h156 x5 y5,account maker
- }
- buttonnew:
- generatename: ;username
- ncharlist = a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,1,2,3,4,5,6,7,8,9,0
- stringsplit, chararray, ncharlist, `,
- nstr =
- random, nrand, 8, 16
- loop, %nrand%
- { random, pick, 1, %chararray0%
- item := chararray%pick%
- nstr = %nstr%%item%
- }
- generatemail: ;email address
- mcharlist = a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
- stringsplit, chararray, mcharlist, `,
- mstr =
- random, mrand, 8, 16
- loop, %mrand%
- { random, pick, 1, %chararray0%
- item := chararray%pick%
- mstr = %mstr%%item%
- }
- generatemailhost: ;email host or whatever
- mhcharlist = a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
- stringsplit, chararray, mhcharlist, `,
- mhstr =
- random, mhrand, 6, 10
- loop, %mhrand%
- { random, pick, 1, %chararray0%
- item := chararray%pick%
- mhstr = %mhstr%%item%
- }
- generatequestion: ;secret question
- qcharlist = a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z, , , , , , , , ,
- stringsplit, chararray, qcharlist, `,
- qstr =
- random, qrand, 8, 16
- loop, %qrand%
- { random, pick, 1, %chararray0%
- item := chararray%pick%
- qstr = %qstr%%item%
- }
- generatepass: ;password
- pcharlist = a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,1,2,3,4,5,6,7,8,9,0
- stringsplit, chararray, pcharlist, `,
- pstr =
- random, prand, 10, 20
- loop, %prand%
- { random, pick, 1, %chararray0%
- item := chararray%pick%
- pstr = %pstr%%item%
- }
- ahkname = %nstr%
- ahkmail = %mstr%@%mhstr%.com
- ahksecret = %qstr%
- ahkpass = %pstr%
- guicontrol,, ahkname, %mstr%
- guicontrol,, ahkpass, %pstr%
- lmaocheck:
- gui, submit, nohide
- if ahktf2 = 0
- {
- guicontrol,, lmaobox, 0
- guicontrol, disable, lmaobox
- }
- if ahktf2 = 1
- {
- guicontrol, enable, lmaobox
- }
- if lmaobox = yes
- if ahktf2 = 0
- guicontrol,, lmaobox, 0
- return
- showbox:
- gui, submit, nohide
- if showbox = 1
- {
- show_ip_box = yes
- goto gui
- all = bad
- return
- }
- if showbox = 0
- {
- show_ip_box = no
- goto gui
- all = bad
- return
- }
- return
- buttoncancel:
- exitapp
- return ; you won't return from that
- buttoncreate:
- filedelete, %steampath%config\steamappdata.vdf
- process, close, hl2.exe
- process, close, gameoverlayui.exe
- process, close, steam.exe
- gui, submit, nohide
- ifwinexist, Windows Security
- winclose, Windows Security
- if ahklmao = 1
- if (lmaoversion == "free")
- {
- run, %lmaopath%
- winwaitactive, LMAOBOX PUBLIC
- winminimize, LMAOBOX PUBLIC
- }
- if ahklmao = 1
- if (lmaoversion == "paid")
- {
- run, %lmaopath%
- winwaitactive, Windows Security
- winminimize, Windows Security
- }
- if ahklmao = 1
- {
- ifnotexist, %lmaopath%
- {
- msgbox, lmaobox not found! check the settings and try again
- exitapp
- }
- }
- if ahktf2 = 1
- ahktf2 = -applaunch 440
- if ahktf2 = 0
- ahktf2 =
- regexmatch(ahkipstring, "(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(\d{1,5})", ahkip)
- if (ahkip == "")
- {
- guicontrol,, ahkipstring, no ip found!
- connect =
- }
- if not (ahkip == "")
- {
- guicontrol,, ahkipstring, will connect to %ahkip%...
- connect = +connect %ahkip%
- }
- run, %steampath%steam.exe
- sleep, 1000
- winwaitactive, Steam
- sleep, 300
- send, {enter}
- sleep, 50
- send, {enter}
- send, {enter}
- sleep, 50
- send, %ahkname%{tab}
- sleep, 30
- send, %ahkpass%{tab}
- sleep, 30
- send, %ahkpass%
- sleep, 3010
- send, {enter}
- winwaitactive, Steam - working
- winwaitclose, Steam - working
- sleep, 30
- send, %ahkmail%{tab}
- sleep, 30
- send, %ahkmail%
- sleep, 30
- send, {enter}
- winwaitactive, Steam - working
- winwaitclose, Steam - working
- sleep, 30
- send, {downarrow}
- sleep, 30
- send, {tab}
- sleep, 30
- send, %ahksecret%
- sleep, 30
- send, {enter}
- winwaitactive, Steam - Working
- winwaitclose, Steam - Working
- sleep, 30
- send, {enter}
- sleep, 30
- send, {enter}
- if ahklmao = 1
- if (lmaoversion == "free")
- {
- winactivate, LMAOBOX PUBLIC
- winwaitactive, LMAOBOX PUBLIC
- send, {return}
- winactivate, Team Fortress 2
- }
- if ahklmao = 1
- if (lmaoversion == "paid")
- {
- winactivate, Windows Security
- winwaitactive, Windows Security
- sleep, 30
- send, %lmaouser%{tab}%lmaopass%{return}
- }
- run, %steampath%steam.exe %ahktf2% %launchoptions% %connect%
- winclose, Steam
- goto gui
Add Comment
Please, Sign In to add comment