AutoHotkey Community

It is currently May 27th, 2012, 11:54 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: November 8th, 2005, 6:58 pm 
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. :)

Image


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 24th, 2008, 10:10 am 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 24th, 2008, 3:17 pm 
Offline

Joined: June 17th, 2007, 7:45 pm
Posts: 161
Location: C:\
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

_________________
Signature oO


Report this post
Top
 Profile  
Reply with quote  
PostPosted: June 24th, 2008, 7:05 pm 
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.. )


Report this post
Top
  
Reply with quote  
PostPosted: June 27th, 2008, 9:32 am 
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"


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2008, 6:51 pm 
Offline

Joined: June 11th, 2005, 9:34 am
Posts: 264
Location: England ish
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

_________________
::
I Have Spoken
::


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher, rrhuffy, Yahoo [Bot] and 30 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group