Help - Search - Members - Calendar
Full Version: Serpent Archery Script
Achaea's Forums > Off-Topic > Tech Support > Curing Systems and Scripts
Soulfyriani
A script I created to aim and snipe at predesignated targets with two keystrokes.

QUOTE
ALIAS t
VALUE:
#set $1 tar

ALIAS a
VALUE:
#set dir $1
aim $tar $1

TRIGGER You feel confident that your aim is accurate.
VALUE:
snipe $tar $dir


It's simple in a fight where you've already set $tar to just a <direction>, and the aim/snipe will take care of itself at Mach Jesus.
Dontarion
I think it would be more beneficial to just use a single alias:

^sni(\d)$

Send("aim " .. %1)
Send("snipe " .. %1)

I don't know if Nexus can do anything like this and if not then make sniu, snid, snie, etc. Granted I can't aim or snipe anymore so sni\d is just shoot.
Trici
CODE
ALIAS sn
VALUE:
#set tar $1
#set dir $2
aim $1 $2
CODE
TRIGGER You feel confident that your aim is accurate.
VALUE:
snipe $tar $dir
Syntax: sn (person) (direction)
Soulfyriani
QUOTE (Trici @ Oct 9 2009, 04:14 PM) *
CODE
ALIAS sn
VALUE:
#set tar $1
#set dir $2
aim $1 $2
CODE
TRIGGER You feel confident that your aim is accurate.
VALUE:
snipe $tar $dir
Syntax: sn (person) (direction)


This just seems to complicate it. Instead of typing sn (person) (direction), the person I'm firing at (already targeted) is automatically aimed and sniped by using 'a (direction)'. So all I have to do is target my target (necessary no matter how much you code), and 'a n'. It'll aim at them to the north and automatically release the arrow as soon as aim is accomplished. Typing 'a n' again when I recover balance makes it easy, and since they're already targeted, no matter what direction they are from me, I simply adjust to say 'a e'.
Demfrax
CODE
ALIAS: sni
VALUE:
#set $dir %1
aim $tar $dir


CODE
TRIGGER:You feel confident that your aim is accurate.
VALUE:
snipe $tar $dir


you should already have a target alias, so that won't need to be added, this would be one command with sni <direction>
Soulfyriani
QUOTE (Demfrax @ Oct 11 2009, 04:37 AM) *
CODE
ALIAS: sni
VALUE:
#set $dir %1
aim $tar $dir


CODE
TRIGGER:You feel confident that your aim is accurate.
VALUE:
snipe $tar $dir


you should already have a target alias, so that won't need to be added, this would be one command with sni <direction>


But still longer than a <direction>. Pretty much the same thing, plus two keystrokes?


Also, I've figured a way to use the same camus bite command for both targeted and un-targeted attacks.

ALIAS: b
VALUE:
purge
secrete camus
bite $tar
#set tar $1
bite $1


I know it seems unnecessary, but using this, I can change targets on the fly -while- biting. Easier to switch between bashing and pvp by working just on 'b', but also being able to reset $tar while biting, eliminating the need to type in another whole command line to switch targets.
TheMrDecan
QUOTE (Soulfyriani @ Oct 7 2009, 09:31 PM) *
A script I created to aim and snipe at predesignated targets with two keystrokes.

QUOTE
ALIAS t
VALUE:
#set $1 tar

ALIAS a
VALUE:
#set dir $1
aim $tar $1

TRIGGER You feel confident that your aim is accurate.
VALUE:
snipe $tar $dir


It's simple in a fight where you've already set $tar to just a <direction>, and the aim/snipe will take care of itself at Mach Jesus.



Alias SN
value:
aim $tar $1
snipe $tar $1
#set dir $1


No need to wait for you feel accurate line, no need for a trigger except to echo dir to a party channel on the hit message.
Soulfyriani
QUOTE (TheMrDecan @ Oct 26 2009, 10:28 AM) *
QUOTE (Soulfyriani @ Oct 7 2009, 09:31 PM) *
A script I created to aim and snipe at predesignated targets with two keystrokes.

QUOTE
ALIAS t
VALUE:
#set $1 tar

ALIAS a
VALUE:
#set dir $1
aim $tar $1

TRIGGER You feel confident that your aim is accurate.
VALUE:
snipe $tar $dir


It's simple in a fight where you've already set $tar to just a <direction>, and the aim/snipe will take care of itself at Mach Jesus.



Alias SN
value:
aim $tar $1
snipe $tar $1
#set dir $1


No need to wait for you feel accurate line, no need for a trigger except to echo dir to a party channel on the hit message.


The trigger is the failsafe, in case something goes wrong. Granted, the person not being in that direction and flunking the attempt won't cost balance, but with my luck, I'll have a Nexus-wants-to-be-incredibly-fast moment and the snipe will execute before the aim confirmation, ruining it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.