Converted bindwound.mac

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Converted bindwound.mac

Post by Teh_ish » Sun Nov 09, 2003 8:39 pm

Code: Select all

| bindwound.mac by ddh 
| Syntax: /macro bindwound.mac 
| Binds the targets wounds to your limit and then ends. 
| If no target is present, it assumes you want to bind yourself. 
| bindwound contains the number required for /doability 
| limit is how much you can bind 

#event NoBandages "You can't bandage without bandages, go buy some." 
#define limit 50 

Sub Main 
   /stand 
   /if $target()==FALSE /press f1
   /delay 1s 
   /if n $target(hp,pct)>limit {
      /sit
      /return
   }
   :BindLoop
       /doability "Bind Wound"
       :BindUnfinished
          /doevents 
       /if n $char(ability,"Bind Wound")<0 /goto :BindUnfinished
   /if n $target(hp,pct)<limit /goto :BindLoop 
/return 

Sub Event_NoBandages 
   /endmacro 
/return 
OMGWTFBBQ