Example Macros

Back to HELP

These macros are all included on the Example Macros notecard. Load that notecard if you wish to see these macros in action.

Emotes

[NAME]Wave|hello|/me waves hello

  • The name displayed will be “Wave”
  • Play the animation named “hello.” This is one of SL’s built in animations.
  • Say the emote “/me waves hello”

Timings, Random Timings and Repeating Macros

[NAME]Drunk|standup|/me stumbles|10|/me hiccups|drunkfall|5|standup|[RAND]30,20|[REPEAT]

  • The name displayed will be “Drunk”
  • Play the SL animation “standup”
  • Say the emote “/me stumbles”
  • Wait 10 seconds
  • Say the emote “/me hiccups”
  • Play the animation “drunkfall”
  • Wait 5 seconds
  • Play the SL animation “standup”
  • Wait a random amount of time between 20 and 50 seconds
  • Repeat the macro

Turning the AO On and Off and the Stop Command

[NAME]AO on/off Demo|[AO_OFF]|Club Dance 2 – ANOmations|20|[stop]|[AO_ON]

  • The name displayed will be “AO on/off Demo”
  • Turn AO off
  • Play the animation named “Club Dance 2 – ANOmations”
  • Wait 20 seconds
  • Stop playing last animation
  • Turn AO on

Whispers and Shouts

[NAME]whisper/shout|[SHOUT]I love everyone!|4.2|[WHISPER]Actually, I only love you

  • The name displayed will be “whisper/shout”
  • Shout “I love everyone!”
  • Wait 4.2 seconds
  • Whisper “Actually, I only love you”

Using HUDDLES Poofs and the Target command

[NAME]Send pie|Cherry Pie Poof hps|/me sends [TARGET] a few slices of warm cherry pie

  • The name displayed will be “Send pie”
  • Rez the object named “Cherry Pie Poof hps”
  • Display the emote “/me sends [TARGET] a few slices of warm cherry pie”, where [TARGET] is replaced with the latest target chosen by the user.

Please note that you would want to pick a target before playing this macro

Sounds

[NAME]Infinite Flips|backflip|Boing|3|[REPEAT]

  • The name displayed will be “Infinite Flips”
  • Play the SL animation “backflip”
  • Trigger the sound “Boing”
  • Wait 3 seconds
  • Repeat

The Go Command

[NAME]Annoucements|Welcome everyone to Klub Keiki! Be sure to tip your dancers, they work hard for you!|[GO]8

[NAME]2nd Announcement|[SHOUT]And let me hear some noise!

  • The name displayed will be “Announcements”
  • Say “Welcome everyone to Klub Keiki! Be sure to tip your dancers, they work hard for you!”
  • Play macro 8, which:
  • The name displayed will be “2nd Announcement”
  • Shout “And let me hear some noise!”

The Map Command

[NAME]Go to HUDDLES|[MAP]Animation Island,116,56,322|I’m heading to HUDDLES to get some more poofs like this one|Cherry Poof hps|Please come with me: http://slurl.com/secondlife/Animation%20Island/116/58/322/

Rezzing Objects

[NAME]Drop Anvil|oops|[REZ:3:0:8]Anvil|6|Sorry about that

  • The name displayed will be “Drop Anvil”
  • Say “oops”
  • Rez object “Anvil” 3 meters in front and 8 meters above you
  • Wait 6 seconds
  • Say “Sorry about that”

Dialog Menues

[NAME]Multi-Gadget Menu|[DIALOG]Pick a command for your Multi Gadget,/mg hide,/mg show,/mg pose,/flare,/light,/mg version,/mat,/flight on,/flight off,/flight fast,/flight slow,/help,23

  • The name displayed will be “Multi-Gadget”
  • Creates a dialog menu for the owner with the text: “Pick a command for your Multi-Gadget” and the following buttons:
    • /mg hide
    • /mg show
    • /mg pose
    • /flare
    • /light
    • /mg version
    • /mat
    • /flight on
    • /flight off
    • /flight fast
    • /flight slow
    • /help
  • The choice will be said on channel 23

Please note that the Multi-Gadget is not included with the EZ Animator. It’s a separate product sold by Timeless Prototype. But this is an example of how you can use your EZAD as a universal remote to run other items you might own and use.

Link Messages

[NAME]Who is nearby?|[LINK:3]NEARBY

  • The name displayed will be “Who is nearby?”
  • Sends message “NEARBY” to link 3.

This macro will cause a script in link 3 of the EZAD to run a sensor sweep of the area and report back if there are any nearby avatars. This duplicates a tool available through the tool menu.

Loading a URL to Your Web Browser

[NAME]HUDDLES Forum|[url]http://forums.secondlife.com/forumdisplay.php?f=275,Go to the HUDDLES Customer Service forum

  • The name displayed is “HUDDLES Forum”
  • The EZAD gives the user a blue drop down dialog that will jump them to the second life website on their web browser.
  • The dialog will say “Go to the HUDDLES Customer Service forum”

Hugs

[NAME]Hug|[HUG]Hug,Hug,9.0,TRUE,/me gives [TARGET] a big hug.,

  • The name displayed is “Hug”
  • Initiates a hug. The user will get to choose the target of the hug.
  • “Hug” is the animation for both the hugger and the huggee.
  • The hug will last for 15.0 seconds.
  • The emote “/me gives [TARGET] a big hug.” will display
  • No special question is sent to the huggee.

Note that the whoever is the target of the hug will also become the current target.

More Examples of Loading a URL in Your Web Browser

[NAME]EZAD@SLexchange.com|[URL]http://slexchange.com/modules.php?name=Marketplace&file=item&ItemID=66503,Go to SLexchange to buy an EZAD

[NAME]EZAD@Onrez.com|[URL]http://shop.onrez.com/item/346545,Go to onrez.com to buy an EZAD

[NAME]HUDDLES Blog|[url]http://imakehuddles.com/wordpress/,Go to the HUDDLES Blog for help and troubleshooting advice.

The Give Command

[GIVE]HUDDLES Headquarters|[OWNER_SAY]Giving landmark to HUDDLES Headquarters to current target which is: [TARGET]

Emails

[EMAIL]

Owner Say Command

[OWNER_SAY]This command is to show text to you only via the llOwnerSay function.

If you are reading this page using the Google translator, please note that macro commands like [NAME] and [WHISPER] only work if use the English word in the brackets and not the translated word. Be sure to view the page in English to make sure you are using the correct command in your macros.

14 Responses to “Example Macros”

  1. Dario de Judicibus Says:

    Well, I tried macros to build a sequence of animations, but I get a strange behaviour. Suppose I have two animations: A & B. By A the avatar raises its arms, by B it takes them to its chest. If I use “Play in world” for anim A, the avatar raises its arms. Then, if I use “Play in world” for anim B, the avatar moves its arms from above its head to its chest. If I use huddles, the behaviour is different. Avatar first raises its arms, then it moves back below, and then it moves them up to the chest. Adding time makes no difference. Any idea why?

  2. Keiki Lemieux Says:

    @Dario, interesting problem. I think I’d need to look at the animations, but I think in the first case, you are stacking the animations where the default behavior of the HUDDLE is to stop animation A before it plays animation B

  3. kareen Says:

    Is there a way to prolong/repeat the sound in a macro? I have macro’s like this
    [NAME](name)|(animation)|(sound)|(time)
    It works well, only the animation is longer as the sound, so I have long pauzes of sounds in the whole NC.
    the animations are longer in duration as the sounds. I tried to fill in the sound more times within a line, that doens’t work. So is there away to repeat the sound during an animation to make it as long as the animation??

  4. Keiki Lemieux Says:

    kareen try this:

    [NAME](name)|(animation)|(sound)|(time)|(sound)|(time)|(sound)|(time)

    This will make it repeat the sound over and over. You might want to experiment with different time amounts to get the effect you want.

  5. judy Kidd Says:

    hello :)
    I’d like to create a dance macro, well i got one but how do i proceed to create another one, since there is only one notecard named “examples of macro”? Do i need to create a new note? how do i name it so that my hud recognize it?
    Thank You

  6. Keiki Lemieux Says:

    @Judy, you can either add macros to any of the existing notecards or you can add new notecards. You can name the notecard anything you like as long as it doesn’t have “AO” in the name. If it has “AO” in the name, the HUD will attempt to use it to configure your AO.

  7. Astarte Artaud Says:

    Is there a limit to the length of the macro line. I am creating MicAnim/Dance macros to match songs, and find that using a larger combination of animations on a long song, the huddles completely loses it in the middle of the sequence.

  8. Astarte Artaud Says:

    It appears to lose remining part of sequence. Is there any way to continue a sequence over 2 lines to get round this.

  9. Astarte Artaud Says:

    Ok solved it !!

  10. Keiki Lemieux Says:

    Astarte, the limit for a script reading a notecard is 255 characters.

  11. Venya Salome Says:

    I’m trying to add in a couples animation like the Hug one, but it’s not wanting to work. I’ve tried different combinations, but all the only result is “object chat” repeating the macro command. Here is what I have so far.

    [NAME]Long Kiss[KISS]Combo:EndlessKissEqual, Combo:EndlessKissEqual,9.0,TRUE,/me gives [TARGET] a loving kiss.,

    Any help would be great, thanks.

  12. Sco Jimenez Says:

    1- Is there a limit on the wait time between commands in a macro?

    2- How do you stop a repeating macro?

  13. Keiki Lemieux Says:

    @SCO,
    1. No, I don’t think there is any kind of limit, you could have a time that is in the hours or even days.
    2. Hit the stop button. This can be tricky if the whole thing repeats very very quickly, but if it doesn’t work the first time, just try clicking it a few more times.

  14. Astarte Artaud Says:

    Is there any way to overide the default stop animation before the next so that two animations can be stacked to run together ??

Leave a Reply