Jump to content

Left Click Switch Weapon Script Help..


Recommended Posts

My goal here is to make a macro that will arm a weapon select it's power attack and then select another weapon and a different power attack.

I'm a noob so I'm running into numerous problems.

While the macro is running everytime I left click the mouse a new weapon should be selected with a number, equiped with the R key and the power attack selected with another number.

Here's what I got so far....

$x = 0

HotKeySet(MouseClick("LEFT"), "CountFunc")

While 1

Sleep(100)

WEnd

Func CountFunc()

$x += 1

if $x >= 5 then $x = 1

if $x = 1 then Send(1) and Send® and Send(7)

if $x = 2 then Send(2) and Send® and Send(8)

if $x = 3 then Send(3) and Send® and Send(9)

if $x = 4 then Send(4) and Send® and Send(0)

EndFunc

Any help would be appriciated..

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...