Macro depository for macros written before the user variable changes that broke all of them.
Moderator: MacroQuest Developers
-
fwiggles
- a hill giant

- Posts: 161
- Joined: Mon Jun 17, 2002 8:29 pm
Post
by fwiggles » Sun Jan 26, 2003 10:52 pm
ok, since bind.mac didn't work with the MQ release, i decided to make my own, only problem is that it won't end if you have no bandages but i don't care... so here it is
Code: Select all
| Name: bindit.mac
| Author Fwiggles of course
#event NoBandages "You cannot bind wounds without bandages. Go buy some."
#event DoneBandaging "The bandaging is complete."
#event TargetFull "You cannot bandage your target past"
Sub Main
/if "$char(ability,"Bind Wound")"=="0" /call NotOnButton
/echo Starting bindit.mac from $char(hp,pct) percent HP
/target myself
/call Bind
Sub Bind
:loopsy
/delay 1
/if n "$char(ability,"Bind Wound")"=="-2" /goto :loopsy
/doability "Bind Wound"
/goto :wait
:wait
/doevents
/delay 1s
/goto :wait
Sub NotOnButton
/echo you do not have bind wound on a /doability button! do that then activate macro again dumbass
/end
Sub Event_DoneBandaging
/delay 1
/call Bind
Sub Event_NoBandages
/echo Your out of bandages, ending macro, at $char(hp,pct) percent HP
/end
Sub Event_TargetFull
/echo You are full up...ending macro
/end
[color=red]Latest survey shows that 3 out of 4 people make up 75% of the world's population.[/color]
-
YKW-28983
- a hill giant

- Posts: 252
- Joined: Sun Dec 01, 2002 11:37 pm
Post
by YKW-28983 » Wed Jan 29, 2003 10:46 pm
Sub Event_NoBandages
/echo Your out of bandages, ending macro, at $char(hp,pct) percent HP
/end
should be...
Code: Select all
Sub Event_NoBandages
/echo Your out of bandages, ending macro, at $char(hp,pct)% HPs.
/endmacro
or atleast that's what I use.. dunno if end and endmacro are same thing?
-
SingleServing
- a hill giant

- Posts: 195
- Joined: Tue Dec 17, 2002 11:00 pm
Post
by SingleServing » Thu Jan 30, 2003 7:38 am
YKW-28983 wrote:
or atleast that's what I use.. dunno if end and endmacro are same thing?
They are the same
[color=DarkBlue]Everything,[/color] [color=DarkBlue][b]is[/b][/color] [color=black]black[/color] [color=DarkBlue]and[/color] [color=white]white[/color][color=DarkBlue], when you zoom out it looks[/color] [color=gray]grey[/color][color=DarkBlue].[/color]
-
ap50
- a snow griffon

- Posts: 425
- Joined: Sun Aug 18, 2002 2:29 pm
Post
by ap50 » Thu Jan 30, 2003 8:05 am
/echo Your out of bandages /snip
Your: - Possesive pronoun - something belongs to you.
You're: - Apostrophied contraction of 'You are'.
Smartarse: - See Ap50
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]
-
Fippy
- a snow griffon

- Posts: 499
- Joined: Tue Jul 16, 2002 10:42 am
Post
by Fippy » Thu Jan 30, 2003 11:58 am
:)
Fippy
This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]
-
Lord Yei
- orc pawn

- Posts: 24
- Joined: Mon Jan 27, 2003 9:48 am
-
Contact:
Post
by Lord Yei » Mon Feb 03, 2003 10:05 am
#event NoBandages "You cannot bind wounds without bandages. Go buy some."
Maybe you should try this instead:
Code: Select all
#event NoBandages "You cannot bind wounds"
I have not tested, but the more text you use, the less chance you have for an exact match...
Just a thought
Lord Yei -- Mage and Scholor
I think there is a world market for maybe five computers.
- [i]Thomas Watson, chairman of IBM, 1943.[/i]