In need of help Macro-ing!

macros macros macros

Moderators: Phineas, noivad

Post Reply
User avatar
The Wanderer
Exile
Posts: 85
Joined: Mon Apr 18, 2011 8:00 am
Profession: Historian/Healer
Race: Concealed
Player Status: Spambot

In need of help Macro-ing!

Post by The Wanderer » Tue Apr 26, 2011 8:32 am

This is my first macro, and none of it works. There are probably so many mistakes that it will cause headaches, but I figure the best way to learn is to do it.

I was hoping someone could run through the mistakes, and rather than simply fix it, explain why it doesn't work so I can attempt to make corrections. Thanks!

Code: Select all

"/zombie"
{
/action begins to shamble about.
pause 12.
/ponder braaaaiiinsss….
pause 12.
/ponder brrrraaSINNS!
pause 8.
/narrate and then the most curious of undine behaviour was displayed.
pause 12.
/action pours out some Zombie brain tea from his eye sockets and passes the tea 'round to everyone.
pause 8.
/action then spreads some Zombie-Congealed-Jam over some scones and sets them down for all to share.
pause 8.
/speak common
pleaaaseeee, eeeaaat, braaaaiiinssss…
pause 12.
Enjoyyyyy
/speak thoom
/pause 4
/pose sit
/action sips his Zombie brain tea delicately.
pause 24
/action nibbles on his Zombie-Congealed-Jam scone.
pause 24
/ponder yuuummmmyy braaainns
pause 8
/action sips, nibbles and does not notice the food and drink falling from his open stomach.
pause 24
}
Gorvin=Equation Warrior.

Dyaus
Exile
Posts: 637
Joined: Wed Mar 18, 2009 2:32 pm
Profession: Ranger
Race: Ghorak Zo
Player Status: Inactive
Location: GMT-8
Contact:

Re: In need of help Macro-ing!

Post by Dyaus » Tue Apr 26, 2011 8:38 am

You're most of the way there. The bits where you have...

Code: Select all

pause 8.
Should not have a trailing period. And...

Code: Select all

/action begins to shamble about.
Should look like this:

Code: Select all

"/action begins to shamble about.\r"
The quotes tell the client that line should be treated like you're typing in that text (not as a special macro command). And the \r is how you tell the client that you hit return at the end of the text.

User avatar
The Wanderer
Exile
Posts: 85
Joined: Mon Apr 18, 2011 8:00 am
Profession: Historian/Healer
Race: Concealed
Player Status: Spambot

Re: In need of help Macro-ing!

Post by The Wanderer » Tue Apr 26, 2011 8:43 am

now, will this macro be interrupted by shambling? should I include some walk north, walk east etc to avoid that?
Gorvin=Equation Warrior.

User avatar
The Wanderer
Exile
Posts: 85
Joined: Mon Apr 18, 2011 8:00 am
Profession: Historian/Healer
Race: Concealed
Player Status: Spambot

Re: In need of help Macro-ing!

Post by The Wanderer » Tue Apr 26, 2011 8:48 am

Fixed, but with no built in random shambling, and with better timing I think.

Code: Select all

"/zombie"
{
"/action begins to shamble about.\r"
pause 24
"/ponder braaaaiiinsss….\r"
pause 24
"/ponder brrrraaSINNS!\r"
pause 24
"/narrate and then the most curious of undine behaviour was displayed.\r"
pause 24
"/action pours out some Zombie brain tea from his eye sockets and passes the tea 'round to everyone.\r"
pause 24
"/action then spreads some Zombie-Congealed-Jam over some scones and sets them down for all to share.\r"
pause 24
"/speak common\r"
"pleaaaseeee, eeeaaat, braaaaiiinssss…\r"
pause 24
"Enjoyyyyy\r"
"/speak thoom\r"
pause 4
"/pose sit\r"
"/action sips his Zombie brain tea delicately.\r"
pause 42
"/action nibbles on his Zombie-Congealed-Jam scone.\r"
pause 42
"/ponder yuuummmmyy braaainns\r"
pause 42
"/action sips, nibbles and does not notice the food and drink falling from his open stomach.\r"
pause 42
}
Gorvin=Equation Warrior.

User avatar
noivad
Order of the White Elephant
Order of the White Elephant
Posts: 3332
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active
Location: SF Bay Area
Contact:

Re: In need of help Macro-ing!

Post by noivad » Tue Apr 26, 2011 8:53 am

read this page first:
http://clump2.noivad.net/index.php?title=Macros
I'm busy right now else I'd answer your q's and fix your macro.
http://www.clanlord.net/
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates http://pirates.clanlord.net/ & Ranger Studies: http://studies.clanlord.net/
?security warning:View cert•CL players assess valid by refs

Dyaus
Exile
Posts: 637
Joined: Wed Mar 18, 2009 2:32 pm
Profession: Ranger
Race: Ghorak Zo
Player Status: Inactive
Location: GMT-8
Contact:

Re: In need of help Macro-ing!

Post by Dyaus » Tue Apr 26, 2011 8:57 am

The Wanderer wrote:now, will this macro be interrupted by shambling? should I include some walk north, walk east etc to avoid that?
I'm not entirely sure what you're asking here.

User avatar
The Wanderer
Exile
Posts: 85
Joined: Mon Apr 18, 2011 8:00 am
Profession: Historian/Healer
Race: Concealed
Player Status: Spambot

Re: In need of help Macro-ing!

Post by The Wanderer » Tue Apr 26, 2011 9:07 am

I wanted to include some walking in this macro, but it's better if I don't. I was worried that if I controlled the movement, it would stop the macro, but it doesn't.
Gorvin=Equation Warrior.

User avatar
Talas
Exile
Posts: 599
Joined: Sun Aug 22, 2010 10:57 am
Profession: Fighter
Race: Concealed
Player Status: Active
Location: Munich, Germany
Contact:

Re: In need of help Macro-ing!

Post by Talas » Wed Apr 27, 2011 11:58 pm

The Wanderer wrote:I wanted to include some walking in this macro, but it's better if I don't. I was worried that if I controlled the movement, it would stop the macro, but it doesn't.
@env.click_interrupts true
at the beginning of the macro would solve this...
Depending on how often you want to use the macro you might want to interrupt it either this way or by pressing a key...
http://www.deltatao.com/clanlord/macros/manual.html

User avatar
The Wanderer
Exile
Posts: 85
Joined: Mon Apr 18, 2011 8:00 am
Profession: Historian/Healer
Race: Concealed
Player Status: Spambot

Re: In need of help Macro-ing!

Post by The Wanderer » Thu Apr 28, 2011 2:17 am

Awesome! I'm taking a break from actually writing more for this macro, but i know how I want it to change.
It's too static, obnoxious, and impersonal. It doesn't feel like one exile interacting with another.

*Changes that are to come!* Deadline I've set for myself is June 1st.

interrupts, segmented responses and narrative rather that continuous string
Some more poses.
Built in healing.
History of the Undine.
offers zombie brain tea to @selectplayername in the language of that select person. (undisclosed recieve a letter written in common, or if I've met you, and you have a preffered language, I'll build in an exception for you.)
Differing responses depending on player answers ("yes", "Yes, please," "no", "no, thank you" "tea please" "a scone please"

I know it seems like a lot of work for something so silly, but this is how I intend to learn more about macros. It's kind of fun, and it keeps a skit ready for new exiles. I also figure that this is the kind of thing the wanderer would do! So I want to make it as close to as how I would roleplay it as possible. No sense in making a macro if it breaks the roleplaying when it can be set up not to do so.

-Tw.
(get it, deadline? teeeeheee)
Gorvin=Equation Warrior.

Post Reply