Scripting help wanted...

AO is the main topic, but you can also talk about things like the latest console game you've played, web comics, movies, music, etc. as they pertain to your AO experience.

Moderators: AOU Team, Site Managers, Forum Moderators

Post Reply
User avatar
Snakebite
AOU Forum Moderator
Posts: 3307
Joined: Mon Sep 26, 2005 8:32 am
Location: North-East England

Scripting help wanted...

Post by Snakebite » Thu Feb 09, 2006 12:58 am

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:

User avatar
Snakebite
AOU Forum Moderator
Posts: 3307
Joined: Mon Sep 26, 2005 8:32 am
Location: North-East England

Post by Snakebite » Sat Feb 11, 2006 8:32 pm

Come on, there must be some scripting wizzard out there to help out a poor programing n00b!!! :lol:

User avatar
Windguaerd
AOU Community Legend
Posts: 2426
Joined: Mon Sep 26, 2005 4:23 am
Location: Florida
Contact:

Post by Windguaerd » Sun Feb 12, 2006 1:39 am

Ask Jujuwalker
Twitch Channel - Youtube Channel - Twitter - Facebook - Pinterest
AO Universe - Site Founder (Retired) | AOSpeak - Founder (Retired) | AO RecipeBook - Founder (Retired)

Keep in mind: My posts/views are not representative of AO-Universe in any way, shape or form. They are my own personal views and thoughts.

User avatar
Snakebite
AOU Forum Moderator
Posts: 3307
Joined: Mon Sep 26, 2005 8:32 am
Location: North-East England

Post by Snakebite » Sun Feb 12, 2006 2:36 am

JUJU...!

Where are you??!!! :P

User avatar
Chebri
Posts: 6
Joined: Sun Feb 12, 2006 5:53 pm
Location: Rimor (Omni)

Post by Chebri » Mon Feb 13, 2006 1:59 am

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
"Out beyond ideas of right-doing and wrong-doing, there is a field. I'll meet you there."
~Rumi

User avatar
Snakebite
AOU Forum Moderator
Posts: 3307
Joined: Mon Sep 26, 2005 8:32 am
Location: North-East England

Post by Snakebite » Mon Feb 13, 2006 6:28 am

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 :(

User avatar
Chebri
Posts: 6
Joined: Sun Feb 12, 2006 5:53 pm
Location: Rimor (Omni)

Post by Chebri » Mon Feb 13, 2006 10:16 am

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
"Out beyond ideas of right-doing and wrong-doing, there is a field. I'll meet you there."
~Rumi

Post Reply