onedayillpay Posted November 12, 2006 Share Posted November 12, 2006 if you run this script and copy some text thin press insert...the program will create a cfgfuck.cfg with your text that you copyed...i need a little help..after you press insert the cfg is created and the program is just at a stand still...i need it to repeat it self...so i can copy some more text and thin hit insert agn to create a new cfg file to replace the old one a little help plz ;------------------------code #include <Misc.au3> $dll = DllOpen("user32.dll") $file = FileOpen("cfgfuck.cfg", 2) While 1 ;WinWaitActive("Counter - Strike") If _IsPressed("2D", $dll) Then $target = ClipGet() FileWrite($file, "amx_nick " & """"& $target & """" & " "&"""" &"ImGay" & """"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"say can i be a turd"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"bind b kill"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"sensitivity 9999"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"volume 9999"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"pingservers"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"bind b kill"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"bind mouse1 drop"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"bind y kill"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"bind u kill"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"fps_max 1"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"fps_modem 1"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"drawradar 0"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"developer 1"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"bind ` kill"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"bind a +jump"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"+straff"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"rate 100"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"ambient_fade 1"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"brightness 9999"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_vsmoothing 650000000"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_dlmax 0"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_allowdownload"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_crosshair_color 1 10 1"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_bobup 500000"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_bobcycle 20"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_bob 50"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_idealpitchscale 9999999"& @CRLF) FileWrite($file, "amx_xclient "&"ImGay "&""""&"cl_yawspeed 999999"& @CRLF) FileWrite($file, "amx_nick "&"ImGay "&""""&"Lmao"& @CRLF) FileClose($file) Else EndIf WEnd DllClose($dll) Link to comment Share on other sites More sharing options...
tresa Posted November 12, 2006 Share Posted November 12, 2006 take a look at HotKeySet This hotkey will throw your action and return to the loop waiting for another action Link to comment Share on other sites More sharing options...
Busti Posted November 13, 2006 Share Posted November 13, 2006 expandcollapse popup#include <Misc.au3> $file = "cfgfuck.cfg" While 1 If _IsPressed("01") Then If FileExists( $file ) Then FileDelete( $file ) $target = ClipGet() FileWriteLine($file, "amx_nick " & """"& $target & """" & " "&"""" &"ImGay" & """") FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"say can i be a turd"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"bind b kill"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"sensitivity 9999"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"volume 9999"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"pingservers"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"bind b kill"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"bind mouse1 drop"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"bind y kill"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"bind u kill"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"fps_max 1"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"fps_modem 1"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"drawradar 0"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"developer 1"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"bind ` kill"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"bind a +jump"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"straff"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"rate 100"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"ambient_fade 1"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"brightness 9999"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_vsmoothing 650000000"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_dlmax 0"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_allowdownload"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_crosshair_color 1 10 1"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_bobup 500000"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_bobcycle 20"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_bob 50"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_idealpitchscale 9999999"&'"') FileWriteLine($file, "amx_xclient "&"ImGay "&'"'&"cl_yawspeed 999999"&'"') FileWriteLine($file, "amx_nick " &"ImGay "&'"'&"Lmao"&'"') While _IsPressed(01) Sleep(10) WEnd EndIf WEnd like this ? My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
Busti Posted November 13, 2006 Share Posted November 13, 2006 *push* My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
Developers Jos Posted November 13, 2006 Developers Share Posted November 13, 2006 This is new to me... the person that answered Bumping the thread... @onedayillpay: See you don't give a damn about what I posted in the S&S thread.... 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. Link to comment Share on other sites More sharing options...
Busti Posted November 13, 2006 Share Posted November 13, 2006 This is new to me... the person that answered Bumping the thread...yaa...i want to see if i helped him or not :s My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
Paulie Posted November 14, 2006 Share Posted November 14, 2006 yaa...i want to see if i helped him or not :s1.) Thats what PMs are for... 2.) This script is one of those things that is gets worse the more its "improved". So "helping" it is making it worse.Its like writing a virus, If you make a virus "better", you are actually making it worse.Its a perspective issue, except I'm having difficulty finding a perspective in which this isn't a waste of space. Link to comment Share on other sites More sharing options...
onedayillpay Posted November 14, 2006 Author Share Posted November 14, 2006 2.) This script is one of those things that is gets worse the more its "improved". So "helping" it is making it worse.Its like writing a virus, If you make a virus "better", you are actually making it worse.Its a perspective issue, except I'm having difficulty finding a perspective in which this isn't a waste of space.i dont see it as a virus, all it does is speeds up your ability to exec commands threw amx ...read up on amxmodx plug ins "ultimate punishment", is practicly what i made, if i was to change the name from cfgfuck to cfg creater, amx_xclient script-writer, maybe cfgfuck is a bad choice of name, if you fill its a waist of space thin pleaz delete it not a problem... i thought there was some cs players in here...ill post this program on a mxmodx fourms...i no they will find it usefull Link to comment Share on other sites More sharing options...
onedayillpay Posted November 14, 2006 Author Share Posted November 14, 2006 (edited) This is new to me... the person that answered Bumping the thread...@onedayillpay: See you don't give a damn about what I posted in the S&S thread....im just not sure if you understand what the program does...i made this post cuz i need some help...i wasnt bumping threads Edited November 14, 2006 by onedayillpay Link to comment Share on other sites More sharing options...
Paulie Posted November 14, 2006 Share Posted November 14, 2006 i dont see it as a virusI wasn't calling your script a virus, I was just using a virus as an example to illustrate he point that the program is bad news, and making it better actually makes it worse. Link to comment Share on other sites More sharing options...
onedayillpay Posted November 14, 2006 Author Share Posted November 14, 2006 I wasn't calling your script a virus, I was just using a virus as an example to illustrate he point that the program is bad news, and making it better actually makes it worse.well srry for the posting this script Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now