Try a Macro

Slyph
Exile
Post #1

Try a Macro

by Slyph » Wed Jun 30, 2004 10:17 pm

Alchemy Kit Macro



This macro does all the equipping and re-equipping for you. If you have the right training and ingredients, a potion is made. All you have to do is type one command.



Usage:

List the potions you can make: /make

Make a potion: /make <potion name>



In the macro below change all the occurrences of Slyph to whatever your Alchemy Kit is named.



"/make"

{

set lefty @my.left_item

if @my.left_item != "alchemy kit <#1: Slyph>"

"/equip alchemy kit <#1: Slyph>\r"

end if

"/useitem alchemykit " @text "\r"

if lefty == "Nothing"

"/unequip alchemy kit <#1: Slyph> \r"

goto end

else if lefty == "alchemy kit <#1: Slyph>"

"/unequip alchemy kit <#1: Slyph>\r"

goto end

end if

"/equip " lefty "\r"

label end

}



Feel free to ask me for help if you need any.

Neko
Exile
Post #2

Try a Macro

by Neko » Thu Jul 08, 2004 7:00 am

Any chance I can still find your cad macro?

Slyph
Exile
Post #3

Try a Macro

by Slyph » Thu Jul 08, 2004 8:42 am

Neko wrote:Any chance I can still find your cad macro?


I'll be back online soon. Thanks for asking.

Shakyamuni
Exile
Post #4

Try a Macro

by Shakyamuni » Thu Jul 08, 2004 10:51 am

It's a great macro Slyph... I can't wait till we actually get some kind of blue box that shows us making potions... I have had to create my own, which are cute, but not that fantastic. If you want I can post the full thing here.

Mjollnir
Exile
Post #5

Try a Macro

by Mjollnir » Thu Jul 08, 2004 2:24 pm

Shakyamuni wrote:It's a great macro Slyph... I can't wait till we actually get some kind of blue box that shows us making potions... I have had to create my own, which are cute, but not that fantastic. If you want I can post the full thing here.


It all depends on your sense of style, some people may not want the fact that they are mixing up potions advertised, myself ive made an entire routine out of it incorperating phantasms which i hope to expand as new ones are discovered.

Having a blue box that says Mjollnir brews a Red Healing Potion would interfere with that, just like it would interfere with those people who /action spitting on the uli petals and grinding them with the spores in a morter and pestle.

Slyph
Exile
Post #6

Try a Macro

by Slyph » Thu Jul 08, 2004 3:11 pm

Mjollnir wrote:
It all depends on your sense of style, some people may not want the fact that they are mixing up potions advertised, myself ive made an entire routine out of it incorperating phantasms which i hope to expand as new ones are discovered.

Having a blue box that says Mjollnir brews a Red Healing Potion would interfere with that, just like it would interfere with those people who /action spitting on the uli petals and grinding them with the spores in a morter and pestle.
Player scripted effects are nice, but I'm all for a blue box and a cool sound. It fits with what's gone on before with Mystics and sunstone tuning. I've always found the lack of effects for Alchemy Kits to be disappointing. Maybe some /option can be created? :)



One negative aspect of player-scripted effects is that an alchemist lacking either the proper training or proper ingredients will fire off the special effects of a macro even when no potion is made. It's happened to me a few times, now.

Slyph
Exile
Post #7

Try a Macro

by Slyph » Thu Jul 08, 2004 3:12 pm

Shakyamuni wrote:It's a great macro Slyph... I can't wait till we actually get some kind of blue box that shows us making potions... I have had to create my own, which are cute, but not that fantastic. If you want I can post the full thing here.
Thanks. I'm glad you like it. Feel free to post any macro here that you like, Shaky.

Shakyamuni
Exile
Post #8

Try a Macro

by Shakyamuni » Thu Jul 08, 2004 3:16 pm

// Does a bit of a show for alchemy kit.. I haven't changed it for paints yet....



"curatives"

{

setglobal potionChoice "curative"

setglobal potionText "curative potion"

call potion

}

"energys"

{

setglobal potionChoice "energy"

setglobal potionText "potion of energy"

call potion

}

"rhp"

{

setglobal potionChoice "rhp"

setglobal potionText "red healing potion"

call potion

}

"tykans"

{

setglobal potionChoice "tykan"

setglobal potionText "tykan healing potion"

call potion

}



potion

{

set @pauseTime 12

"/eq alchemykit\r"



random

"/act takes out his alchemy kit and lights a small fire.\r"

set @fire 1

or

"/narr Shaky takes out his alchemy kit and lights a small fire.\r"

set @fire 1

or

"/act takes out his alchemy kit and bowl.\r"

or

"/act takes out his alchemy kit, opens it, and lights a small fire.\r"

set @fire 1

or

"/act takes out his alchemy kit, sets a bowl on the ground, and lights a small fire.\r"

set @fire 1

end random



pause @pauseTime



if potionChoice == "curative"

"/act cuts and stirs a Venom Gland and a Herpetid egg in his bottle.\r"

pause @pauseTime

"/usei alchemykit curative\r"

end if



if potionChoice == "energy"

"/act mixes a Myrm Egg's honey with a Scavenger Bird feather.\r"

pause @pauseTime

"/usei alchemykit energy\r"

end if



if potionChoice == "rhp"

"/act grinds an Uli flower and Spores together.\r"

pause @pauseTime

"/usei alchemykit red\r"

end if



if potionChoice == "tykan"

"/act grinds Togron Nuts and Kyten in his bowl.\r"

pause @pauseTime

"/usei alchemykit tykan\r"

end if



if @fire == "1"

random

"/act brews the concoction over his fire.\r"

or

"/act holds the bottle over the fire, watching it closely.\r"

end random

else

"/act adds them to a bottle of water and shakes it vigorously.\r"

end if



pause @pauseTime



random

"/act smiles at his creation as a puff of smoke escapes his hands.\r"

or

"/narr A puff of smoke rises into the air as Shaky smiles at his creation.\r"

end random



pause @pauseTime



if @fire == "1"

random

"/act carefully extinguishes the fire and puts the kit back in his pack.\r"

or

"/act stamps out the small fire and then hops around in pain.\r"

or

"/act uses a bottle of water to extinguish the fire.\r"

end random

else

random

"/act slides the drawers of his kit closed.\r"

or

"/act closes the kit's drawers from bottom to top.\r"

or

"/act places his clicks the latch on his kit closed.\r"

end random

end if



pause @pauseTime



random

"/act puts his " potionText " in his pack.\r"

or

"/act holds up his " potionText " for all to see and then places it in his pack.\r"

or

"/act shows his " potionText " to everyone.\r"

or

"/act admires his " potionText ", notices the onlookers, smiles, and raises his eyebrows.\r"

end random

}

Mjollnir
Exile
Post #9

Try a Macro

by Mjollnir » Thu Jul 08, 2004 8:34 pm

Slyph wrote:
Player scripted effects are nice, but I'm all for a blue box and a cool sound. It fits with what's gone on before with Mystics and sunstone tuning. I've always found the lack of effects for Alchemy Kits to be disappointing. Maybe some /option can be created? :)


The fact that there is a special effect when the Mystics tune a sunstone actually puts me off more, while the little ball of fire they juggle is a cool effect, the fact that it never changes means that i just about never notice it anymore while our own macro'd ones can be varied endlessly as we get bored of them or circumstances change



Id much rather see Shaky's action boxes than a generic "Shakyamuni brews a Red Healing Potion" just because it has a blue border rather than a red one.

Slyph
Exile
Post #10

Try a Macro

by Slyph » Thu Jul 08, 2004 10:19 pm

Mjollnir wrote:
Id much rather see Shaky's action boxes than a generic "Shakyamuni brews a Red Healing Potion" just because it has a blue border rather than a red one.
It's not just a blue border. That would be silly. Blue boxes have about them the whiff of legitimacy; they inform players in a visceral way a red or green box cannot; blue boxes cannot lie. When Shaky uses red boxes in his macro, as varied and cute as they are, they remain parts of a script, as predictable in time as a blue box. They're creepy in a way, those red boxes: they tell you a role-player is in your midst. Beware.



Red Boxes are for sissies. Everyone knows that.