Page 1 of 1

Scripting help wanted...

Posted: Thu Feb 09, 2006 12:58 am
by Snakebite
I have this Engi... She has a Bot & a Doggy... The Doggy is squishy... So...

I wrote an attack script that sends the Bot in first then the Doggy in 3 seconds later, easy...

But...

Obviously the Script has to include the names I rename them to normaly, I have a pair of scripts that rename them already, but I have to fire them off one at a time after targeting each of them.

What I realy want is a script that I can just hit the macro for & it selects them & renames them, however I can't figure out a way to make the script use the Shift+F1 & Shift+F2...

Example:

Shift+F1
/pet rename "Mr Wibble"
Shift+F2
/pet rename "Mr Dribble"


Is there any way to do this?



Also, is there any way to actualy make a script fire off a nano? (hopefuly then I could just get the script to cast & rename them...)

Example:

Cast Bot Nano
Shift+F1
/pet rename "Mr Wibble"
Cast Doggy Nano
Shift+F2
/pet rename "Mr Dribble"


Lazy ain't I??? :lol:

Posted: Sat Feb 11, 2006 8:32 pm
by Snakebite
Come on, there must be some scripting wizzard out there to help out a poor programing n00b!!! :lol:

Posted: Sun Feb 12, 2006 1:39 am
by Windguaerd
Ask Jujuwalker

Posted: Sun Feb 12, 2006 2:36 am
by Snakebite
JUJU...!

Where are you??!!! :P

Posted: Mon Feb 13, 2006 1:59 am
by Chebri
Hello there!

I play an MP and I'll share my macros and scripts with you. :D

Here's how I lay it out.

Naming the pets, I use macros.
/macro Wibble /pet rename "Mr Wibble"
/macro Dribble /pet rename "Mr Dribble"

Controlling the pets
/macro ATKw /pet "Mr Wibble" attack
/macro ATKd /pet "Mr Dribble" attack

I tested these names for you and they do work - with MP pets.

An MP has three pets. Here's how I lay out my hotbar.

/macro Buddy /pet rename Buddy
/macro Medic /pet rename Medic
/macro Mezz /pet rename Mezz

/macro ATK /pet Buddy attack
/macro Heal /pet Medic heal

I don't have a macro for the mezz pet. He just follows the attack pet around. Although if you are lower level and want to control adds a command button for the mezz pet is not a bad idea.

Also, if the pets name is more than one word, you will need to use the quote marks around the pets name or the macros won't work correctly.

Hope that helps.

Have fun!

~Chebri

Posted: Mon Feb 13, 2006 6:28 am
by Snakebite
Yeah, thanks, that's pretty much what I have now, I just want to expand on it some...

My attack script combines both pets attack, like so...

/pet "Mr Wibble" attack
/delay 3000
/pet "Mr Dribble" attack


With the file being named petattack.txt the macro reads: /macro ATT /petattack.txt

The doggy is rather squishy, but has a high agg, so to stop it getting agg as often & dieing, this script sends in the bot 3 seconds before the dog, & if I'm attacking lower lvl mobs, it has the bonus of alowing me to attack one then target the next & the dog goes to a different mob...

This would obviously not work for MPs on account of not having 2 proper attack pets :(

Posted: Mon Feb 13, 2006 10:16 am
by Chebri
Excellent! I'm glad you found a combination that works for you. =)

I used to have scripts that let the team channel know who my heal pet was following. I haven't done anything that fancy since I've been back to the game.

Have fun!

~Chebri