nyghteyes
What is a macro??
- Joined
- Mar 21, 2006
- RedCents
- 1,347¢
Just wanted to share my simple invis mac. I use alot with newbies and many chars without permainvis.
Thanks those whos snippets of code ive ninjad like all the "end" events.
Thanks those whos snippets of code ive ninjad like all the "end" events.
Rich (BB code):
|Just have a potion in the 2nd potion belt slot or change the slot number on the 2 lines.
#turbo
#event checkinvis "You feel yourself starting to appear"
#event end "Auto attack is on."
#event end "#*#hits YOU for#*#"
#event end "#*#slashes YOU for#*#"
#event end "#*#crushes YOU for#*#"
#event end "#*#bashes YOU for#*#"
#event end "#*#kicks YOU for#*#"
#event end "#*#smashes YOU for#*#"
#event end "#*#mauls YOU for#*#"
#event end "#*#gores YOU for#*#"
#event end "#*#pierces YOU for#*#"
#event end "#*#kicks YOU for#*#"
#event end "#*#bashes YOU for#*#"
Sub Main
/echo Staying invis with Potions
:mainloop
/doevents
/call invis
/call noinvis
/goto :mainloop
/return
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Checking invis
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub invis
/if (!${Me.Buff["Invisibility"].ID}) {
/potionbelt Activate 2
/delay 1s
/echo Using a Potion
}
/return
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Checking invis
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub event_checkinvis
/if (!${Me.Buff["Invisibility"].ID}) /potionbelt Activate 2
/return
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Checking Status
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub noinvis
/if (${Me.Casting.ID}>1) /call end
/return
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Ending Macro
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub End
/echo No longer Staying Invisible
/endmacro
/return

