nocturnix
07-22-2012, 06:48 AM
I have lich but so far id like to try this in stormfront first...
So I have 2 characters I would like to hunt together with. Currently its quite manual, alt tabbing. When I realized: hey you could quite easily write a script so you dont have to alt tab and suffer more carpal tunnel. So I'd like to issue 3 simple commands from my main hunting character as I hunt. These commands will be imbedded within my hunting macros.
The commands are simply:
Attack
Stop attacking
Buff
The script should also automatically stop attacking when the critter dies. Here is what I have so far:
command:
MATCH startattack MainCharacter raises his sonic lance in triumph!
MATCH stopattack MainCharacter whispers to the group, "At ease."
MATCH buff MainCharacter whispers to the group, "Prepare for attack!"
matchwait
startattack:
match stopattack The krolvin warfarer rolls over on the floor and goes still.
match stopattack The krolvin warfarer crashes to the floor in a plume of dust.
match stopattack MainCharacter whispers to the group, "At ease."
match buff MainCharacter whispers to the group, "Prepare for attack!"
put stance off
put attack warf
pause 2
goto startattack
stopattack:
put stance def
goto command
matchwait
buff:
put sign of striking
put sign of smiting
put sign of swords
put inc 506
goto command
matchwait
So far the script runs at least, and the attack command of raising my lance starts an attack. But when I issue an "At ease." command he does not stop. Any tips would be welcome. Thanks!
So I have 2 characters I would like to hunt together with. Currently its quite manual, alt tabbing. When I realized: hey you could quite easily write a script so you dont have to alt tab and suffer more carpal tunnel. So I'd like to issue 3 simple commands from my main hunting character as I hunt. These commands will be imbedded within my hunting macros.
The commands are simply:
Attack
Stop attacking
Buff
The script should also automatically stop attacking when the critter dies. Here is what I have so far:
command:
MATCH startattack MainCharacter raises his sonic lance in triumph!
MATCH stopattack MainCharacter whispers to the group, "At ease."
MATCH buff MainCharacter whispers to the group, "Prepare for attack!"
matchwait
startattack:
match stopattack The krolvin warfarer rolls over on the floor and goes still.
match stopattack The krolvin warfarer crashes to the floor in a plume of dust.
match stopattack MainCharacter whispers to the group, "At ease."
match buff MainCharacter whispers to the group, "Prepare for attack!"
put stance off
put attack warf
pause 2
goto startattack
stopattack:
put stance def
goto command
matchwait
buff:
put sign of striking
put sign of smiting
put sign of swords
put inc 506
goto command
matchwait
So far the script runs at least, and the attack command of raising my lance starts an attack. But when I issue an "At ease." command he does not stop. Any tips would be welcome. Thanks!