So, I came up with this. It is a very very simple bandage set. But I considered all the other things I could trigger on, and concluded it wasn't worth it.
The whole thing is based on a macro "\". On my keyboard it is placed above the tabkey. If it doesn't work you reset it with "bandageclear" else you just press the key when you feel like it.
Code: Select all
#CLASS {bandage}
#ALIAS bandageclear {#Var bandageList "";#echo cleared bandagelist}
#VAR currentBandage {1}
#VAR bandageList {}
#TRIGGER {(%w)'s wounds continue to bleed uncontrollably!} {#additem bandageList %1}
#TRIGGER {(%w) doesn't need any bandaging right now.} {#delitem bandageList %1}
#KEY \ {#if (%numitems( @bandageList) = 0) {#echo No bandage required} {bandage %item( @bandageList, @currentBandage);@currentBandage = %int( @currentBandage \ %numitems( @bandageList) + 1)}}
#CLASS 0