Bind multiple commands to a key?

A Forum Thread for Counter-Strike: Source

Yo, buddy. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Guest points.
  • Post: Give Guest your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Sound fun?

Sign up

Already a Bananite? Login

Here's what I want to do. I want to bind MOUSE4 to "fire, last weapon used, lastweapon used, alt-fire". I was wondering how I should write that down in the console?

Posts

  • 13y
    Guest avatar
    Guest Offline
    Member Joined 12y
    12 medals 3 legendary 3 rare
    • Submitted 100 Skins Medal icon
    • Submitted 50 Maps Medal icon
    • Submitted 200 Threads Medal icon
    • Submitted 50 Skins Medal icon
    • Submitted 20 Maps Medal icon
    • Submitted 100 Threads Medal icon
    Posted by Eraser>alias wait5 "wait ; wait ; wait ; wait ; wait"
    alias shootone "+attack; wait ; +attack; wait; -attack ; -attack"
    bind mouse4 "shootone ; lastinv; wait5 ; lastinv ; wait5 ; +attack2 ; wait ; wait ; wait ; -attack2"

    // enjoy

    Thanks for the help. Unfortunately, i don't rezoom at the end. Also i dont always shoot.
    Bot Account
  • 13y
    Eraser avatar
    Eraser Offline
    Member Joined 13y
    4,410 points Ranked 1035th
    Posted by Some1>Here's what I want to do. I want to bind MOUSE4 to "fire, last weapon used, lastweapon used, alt-fire". I was wondering how I should write that down in the console?


    alias wait5 "wait ; wait ; wait ; wait ; wait"
    alias shootone "+attack; wait ; +attack; wait; -attack ; -attack"
    bind mouse4 "shootone ; lastinv; wait5 ; lastinv ; wait5 ; +attack2 ; wait ; wait ; wait ; -attack2"

    // enjoy
    MY AVATAR IS IRRELEVANT AGAIN!
  • 13y
    BigDog avatar
    BigDog avatar Offline
    Admin Joined 13y
    9,773 points Ranked 448th
    16 medals 2 legendary 1 rare
    • Achieved Admin clearance Medal icon
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    BigDog avatar
    BigDog
    Guard Dog
    Posted by Some1>Here's what I want to do. I want to bind MOUSE4 to "fire, last weapon used, lastweapon used, alt-fire". I was wondering how I should write that down in the console?

    probebly not, cuz if fire and change weapon are the same.. u will shoot while changing or something!!!
    Once a Top Dog, Always a Top D avatar
    Mantra
    Once a Top Dog, Always a Top D

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

Guest avatar
Guest Offline
Member Joined 12y
12 medals 3 legendary 3 rare
  • Submitted 100 Skins Medal icon
  • Submitted 50 Maps Medal icon
  • Submitted 200 Threads Medal icon
  • Submitted 50 Skins Medal icon
  • Submitted 20 Maps Medal icon
  • Submitted 100 Threads Medal icon

Guest
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
3
Views
17,761
Date Added
13y
bcp.crwdcntrl.net tracking pixel