Author Topic: CMUD auto rescue script for tanks  (Read 6572 times)

0 Members and 1 Guest are viewing this topic.

Keith

  • Newbie
  • Posts: 22
Re: CMUD auto rescue script for tanks
« Reply #15 on: September 15, 2014, 05:11:25 PM »
I use JMC, similar to Wintin.  I don't like to manually add people, thus:

#nop Autorescuer
#nop
#nop Usage: aron which loads everyone in group into list, argrouptrigs which generates trigs for everyone, ardel anyone you dont want to rescue, aradd for anyone who comes later, arpause in case you want to keep scripts but rescue on your own, arresume to turn it back on
#nop
#alias {aron} {#variable autorescue 1;#action {/^\s\s(\w{2})\s(\w+)\s+(perfect|very good|v.good|good|fair|bad|V.BAD|AWFUL|DYING)/*} {rescuelist.check.a %1};group;resctrigs2;resctrigs3;#variable rescuelag 1;autostandon;watch me;#showme {green} {AUTORESCUE - ENABLED}}
#alias {autorescueon} {aron}
#alias {autorescueoff} {aroff}
#alias {aroff} {#variable autorescue 0;rescue.clear;autostandoff;resctrigsdel;resctrigsdel2;#showme {green} {AUTORESCUE - DISABLED}}
#alias {aradd} {rescuelist.check.a %0;resctrig %0}
#alias {rescuedel} {ardel %0}
#alias {arpause} {autorescuepause}
#alias {arresume} {autorescueresume}
#alias {autorescuepause} {#variable autorescue 0; #showme {green} {AUTORESCUE - PAUSED}}
#alias {autorescueresume} {#variable autorescue 1; #variable rescuelag 1;#showme {green} {AUTORESCUE - RESUMED}}
#alias {regroup} {rescue.clear;group}
#alias {rescueadd} {aradd %0}
#alias {ardel} {rescuelist.delete.%0; #unalias {rescuelist.delete.%%0};#unaction {/(.+)here, fighting %%0(.+)/};#unaction {*(barely hits|hits|slashes|stabs|pierces|cleaves|bludgeons|smashes|smites|claws|stings|misses|bruises|shoots|plunks|massacres|annihilates|obliterates|MASSACREs|ANNIHILATEs|OBLITERATEs)*(%%0)*};#unaction {* and turns to %%0}}
#alias {rescue.clear} {#unalias {rescuelist.delete*}; #unaction {* here, fighting *.};#var slota 0; #var slotb 0;#var slotc 0;#var slotd 0; #var slote 0;#var slotf 0;#var slotg 0;#var sloth 0;#var sloti 0;#var slotj 0;#unaction {*here, fighting*};#unaction {*(barely hits|hits|slashes|stabs|pierces|cleaves|bludgeons|smashes|smites|claws|stings|misses|bruises|shoots|plunks|massacres|annihilates|obliterates|MASSACREs|ANNIHILATEs|OBLITERATEs)*};#unaction {%1 stops fighting *}}
#alias {rescue.show} {#if {$slot%%0=1} {#showme --> $rt%%0}}
#alias {argrouptrigs} {rescgrouptrigs}
#alias {rescgrouptrigs} {#if {$slota=1} {resctrig $rta};#if {$slotb=1} {resctrig $rtb};#if {$slotc=1} {resctrig $rtc};#if {$slotd=1} {resctrig $rtd};#if {$slote=1} {resctrig $rte};#if {$slotf=1} {resctrig $rtf};#if {$slotg=1} {resctrig $rtg};#if {$sloth=1} {resctrig $rth};#if {$sloti=1} {resctrig $rti};#if {$slotj=1} {resctrig $rtj}}
#alias {resctrig} {#action {/.+(barely hits|hits|slashes|stabs|pierces|cleaves|bludgeons|smashes|smites|claws|stings|misses|bruises|shoots|plunks|massacres|annihilates|obliterates|MASSACREs|ANNIHILATEs|OBLITERATEs)\s(%%0)\s.+/} {#if {$autorescue=1 && $rescuelag=1} {rescue %%%0;#var rescuelag 0}};#action {%1 stops fighting you and turns to %%0} {#if {$autorescue=1 && $rescuelag=1} {rescue %%%0;#var rescuelag 0}};#action {/(.+)here, fighting %%0(.+)/} {#if {$autorescue=1 && $rescuelag=1} {rescue %%%0;#var rescuelag 0}};#action {%1 stops fighting you and turns to %%0} {#if {$autorescue=1 && $rescuelag=1} {rescue %%%0;#var rescuelag 0}};#action {^%1 stops fighting %2 opponent and turns to %%0} {#if {$autorescue=1 && $rescuelag=1} {rescue %%%0;#var rescuelag 0}}}
#alias {resctrigs2} {#action {What a self-sacrificing act! You're such a hero!} {#if {$autorescue=1} {#variable rescuelag 1;look}};#action {Your feeble rescue efforts end in failure.} {#if {$autorescue=1} {#variable rescuelag 1;look}};#action {But nobody is fighting %0.} {#if {$autorescue=1} {#variable rescuelag 1;look}};#action {/.+/You couldn't find what you were looking for.} {#if {$autorescue=1} {#variable rescuelag 1;look}};#action {^%0 comes to your rescue! *} {#if {$autorescue=1} {#variable autorescue 0}};#action {^Come on! I'm *} {#if {$autorescue=1} {stand;look}};#action {^--> STONE SKIN <-- WORE OFF} {gt --> STONE SKIN <-- WORE OFF};#action {^--> REGEN <-- WORE OFF} {gt --> REGEN <-- WORE OFF};#action {Ok, you watch yourself watching yourself.} {#unaction {*(perfect|very good|v.good|good|fair|bad|V.BAD|AWFUL|DYING)*}};watch me}
#alias {resctrigs3} {#action {^You are --> BLINDED <--} {gt I am --> BLINDED <--};#action {^You are --> HELD <--} {gt I am --> HELD <--};#action {^You are --> PARALYZED <--} {gt I am --> PARALYZED <--};#action {^You are --> STUNNED <--} {gt I am --> STUNNED <--}}
#alias {resctrigsdel} {#unaction {Ok, you watch yourself watching yourself.};#unaction {What a self-sacrificing act! You're such a hero!};#unaction {Your feeble rescue efforts end in failure.};#unaction {But nobody is fighting %0.};#unaction {/.+/You couldn't find what you were looking for.};#unaction {^%0 comes to your rescue! *};#unaction {^Come on! I'm *};#unaction {^--> STONE SKIN <-- WORE OFF};#unaction {^--> REGEN <-- WORE OFF};#unaction {*stops fighting*}}
#alias {resctrigsdel2} {#unaction {^You are --> BLINDED <--};#unaction {^You are --> HELD <--};#unaction {^You are --> PARALYZED <--};#unaction {^You are --> STUNNED <--}}
#alias {rescuelist.check.a} {#if {$slota=0} {#variable rta %%0;#variable slota 1;#alias {rescuelist.delete.%%0} {#var slota 0}} {rescuelist.check.b %%0}}
#alias {rescuelist.check.b} {#if {$slotb=0} {#variable rtb %%0;#variable slotb 1;#alias {rescuelist.delete.%%0} {#var slotb 0}} {rescuelist.check.c %%0}}
#alias {rescuelist.check.c} {#if {$slotc=0} {#variable rtc %%0;#variable slotc 1;#alias {rescuelist.delete.%%0} {#var slotc 0}} {rescuelist.check.d %%0}}
#alias {rescuelist.check.d} {#if {$slotd=0} {#variable rtd %%0;#variable slotd 1;#alias {rescuelist.delete.%%0} {#var slotd 0}} {rescuelist.check.e %%0}}
#alias {rescuelist.check.e} {#if {$slote=0} {#variable rte %%0;#variable slote 1;#alias {rescuelist.delete.%%0} {#var slote 0}} {rescuelist.check.f %%0}}
#alias {rescuelist.check.f} {#if {$slotf=0} {#variable rtf %%0;#variable slotf 1;#alias {rescuelist.delete.%%0} {#var slotf 0}} {rescuelist.check.g %%0}}
#alias {rescuelist.check.g} {#if {$slotg=0} {#variable rtg %%0;#variable slotg 1;#alias {rescuelist.delete.%%0} {#var slotg 0}} {rescuelist.check.h %%0}}
#alias {rescuelist.check.h} {#if {$sloth=0} {#variable rth %%0;#variable sloth 1;#alias {rescuelist.delete.%%0} {#var sloth 0}} {rescuelist.check.i %%0}}
#alias {rescuelist.check.i} {#if {$sloti=0} {#variable rti %%0;#variable sloti 1;#alias {rescuelist.delete.%%0} {#var sloti 0}} {rescuelist.check.j %%0}}
#alias {rescuelist.check.j} {#if {$slotj=0} {#variable rtj %%0;#variable slotj 1;#alias {rescuelist.delete.%%0} {#var slotj 0}}}                     
#variable autorescue 0
#variable rescuelag 1
#variable slota 0
#variable slotb 0
#variable slotc 0
#variable slotd 0
#variable slote 0
#variable slotf 0
#variable slotg 0
#variable sloth 0
#variable sloti 0
#variable slotj 0
#variable rta 0
#variable rtb 0
#variable rtc 0
#variable rtd 0
#variable rte 0
#variable rtf 0
#variable rtg 0
#variable rth 0
#variable rti 0
#variable rtj 0
#nop
« Last Edit: September 15, 2014, 05:56:53 PM by Keith »