AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Counter Strike Source, buy,,+Ideas?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Nov 08, 2005 6:58 pm    Post subject: Counter Strike Source, buy,,+Ideas? Reply with quote

I got annoyed pressing b82,b43b83b83b84b86 all the time when im ct..but at the same time i need variation in buying stuff, so i made A simple yet handy script:

Code:
~Numpad0::send, b82      ;armour
~NumpadDot::Send, b86      ;defuse kit
~Numpad1::Send, b42,      ;ak /or scout on ct
~Numpad2::Send, b43,      ;m4 or>mmm scouut on t
~Numpad3::Send, b83b83b84b85   ;all nades
~Numpad4::Send, b83b83      ;flash
~Numpad5::Send, b84      ;nade
~Numpad6::send, b85      ;smoke
~Numpad7::Send, b14.      ;degal
~Numpad8::Send, b34,      ; p90
~NumPad9::Send, b41,      ;clarington./defender



If any one got more or better suggestions I would love to hear them. Smile

Back to top
Nirvash
Guest





PostPosted: Tue Jun 24, 2008 10:10 am    Post subject: Reply with quote

i have a question. what would be the window name?

ie.
#ifWinActive ahk_class Warcraft III
thus for warcraft 3
what's it for Counterstrike? I tried
#ifWinActive ahk_class Counter-Strike
and it didn't work =/ Could you help? Thanks.

oh one more thing, is it illegal to use it on VAC servers?
Many thanks.

-nirvash
Back to top
Alekoz



Joined: 17 Jun 2007
Posts: 157

PostPosted: Tue Jun 24, 2008 3:17 pm    Post subject: Reply with quote

css has its own way for using scripts and stuff...why use an external program and risking a vac ban
check this website out : http://www.counter-script.net/
there are plenty of buy scripts
_________________
My BF2 Scripts
Back to top
View user's profile Send private message
Cactus Fantastico
Guest





PostPosted: Tue Jun 24, 2008 7:05 pm    Post subject: Re: Counter Strike Source, buy,,+Ideas? Reply with quote

You can just use cl_autobuy

cl_autobuy hegrenade
cl_autobuy m249
cl_autobuy awp deagle smokegrenade
cl_autobuy flashbang flashbang

like that..

Or if you don't want to write it up..

bind "f1" "cl_autobuy hegrenade;cl_autobuy"
bind "f1" "cl_autobuy m249;cl_autobuy"
bind "f1" "cl_autobuy awp deagle smokegrenade;cl_autobuy"
bind "f1" "cl_autobuy flashbang flashbang"

It will set the autobuy to the weapons you want and then buy them automatically (providing you're in the buy zone.. )
Back to top
Cactus Fantastico
Guest





PostPosted: Fri Jun 27, 2008 9:32 am    Post subject: Re: Counter Strike Source, buy,,+Ideas? Reply with quote

Sorry, wrong code. It's:

bind "f1" "cl_autobuy hegrenade;autobuy"
bind "f1" "cl_autobuy m249;autobuy"
bind "f1" "cl_autobuy awp deagle smokegrenade;autobuy"
bind "f1" "cl_autobuy flashbang flashbang;autobuy"
Back to top
TheLeO



Joined: 11 Jun 2005
Posts: 161
Location: England ish

PostPosted: Mon Jun 30, 2008 6:51 pm    Post subject: Reply with quote

Lol.. I remember beihng fussed about this too..

the send opion had the problem that the css and the terrorist had differnt lists..

so i made this script.

You make a shopping list, and then you send buy bla bla bla bla into the console.:

Code:
#SingleInstance force

;----------------------VAriables
CSSshopingList =

Return


;-------------------------Buy aider.

~Numpad0::CSSshopingList = %CSSshopingList%buy vest{Enter}buy vesthelm{Enter}buy defuser{Enter}
~NumpadDot::CSSshopingList = %CSSshopingList%buy scout{Enter}buy primammo{Enter}

~Numpad1::CSSshopingList = %CSSshopingList%buy m4a1{Enter}buy ak47{Enter}buy primammo{Enter}buy primammo{Enter}
~Numpad2::CSSshopingList = %CSSshopingList%buy awp{Enter}buy primammo{Enter}
~Numpad3::CSSshopingList = %CSSshopingList%buy hegrenade{Enter}buy flashbang{Enter}buy flashbang{Enter}buy smokegrenade{Enter}

~Numpad4::CSSshopingList = %CSSshopingList%buy p90{Enter}buy primammo{Enter}
~Numpad5::CSSshopingList = %CSSshopingList%buy tmp{Enter}buy mac10{Enter}buy primammo{Enter}
~Numpad6::CSSshopingList = %CSSshopingList%buy aug{Enter}buy sg552{Enter}buy primammo{Enter}

~Numpad7::CSSshopingList = %CSSshopingList%buy deagle{Enter}buy secammo{Enter}
~Numpad8::CSSshopingList = %CSSshopingList%buy m3{Enter}buy primammo{Enter}
~NumPad9::CSSshopingList = %CSSshopingList%buy ump45{Enter}

~NumpadSub::CSSshopingList = %CSSshopingList%buy mp5navy{Enter}buy primammo{Enter}

NumpadEnter::
;CSSBuyItemsFunc(CSSshopingList) ;Execute, so buy the stuff,
CSSconsoleInput(CSSshopingList, "{Enter}``")
CSSshopingList =
Return

NumpadAdd::CSSshopingList = ;clear the list.
 
;CSSBuyItemsFunc(Stuff2Buy)
;{
;Send, ``
;SendInput,%Stuff2Buy%{Enter}``
;}

;-------------------Setting adjustment

F3::CSSconsoleInput("sensitivity{Space}0.25{Enter}","")
F4::CSSconsoleInput("sensitivity{Space}0.7{Enter}","")

F5::CSSconsoleInput("cl_crosshairscale 10000","{Enter}``") ;Small crosshair
F6::CSSconsoleInput("cl_crosshairscale 1","{Enter}``") ;No crosshair
F7::CSSconsoleInput("cl_crosshairalpha 500","{Enter}``") ;no transparency
F8::CSSconsoleInput("cl_crosshairalpha 90","{Enter}``") ;high transparency.

F9::CSSconsoleInput("sensitivity{Space}","")


F10::
SendInput connect 84.16.224:28600 Tactics
Sleep 1000
SendInput {Bs 8}
Return

F11::
SendInput connect 195.149.21.156:27015 TheBeerWarriors
Sleep 1000
SendInput {Bs 16}
Return

CSSconsoleInput(CmdAndParm,EndParm)
{
Send, ``
SendInput,%CmdAndParm%%EndParm%
}


~RCtrl & a::
ExitApp

_________________
And i say: where there is a problem , there is a solution.(well some where that is.)
::
I Have Spoken
::
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group