Difference between revisions of "User talk:Rhodry"

From AvatarWiki
Jump to navigation Jump to search
m (my lord stab trigger set to wikify later)
(→‎resc trigger: new section)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#CLASS {Stabbing}
+
Adding the following to the base group also makes it work:
#ALIAS stab {#var number %1;#for @StabTargets {#var actstabtarg %i;assas @number@actstabtarg}}
 
#ALIAS stabbing {;check for stabnumber;#if (@stabnumber==%null) {stab %null} {#if (%numitems( @stabnumber)==1) {stab @stabnumber.} {#for @stabnumber {stab %i.}}};;  #for @StabNumber {;;    #var number %i;;    #for @StabTargets {assas @number.%i;;#if (%numitems( @stabnumber)==1) {#for @StabTargets {assas @stabnumber.%i}} {}}
 
#VAR StabTargets {chim}
 
#VAR StabNumber {1|2}
 
#VAR number {2.}
 
#VAR actstabtarg {cynic} {cynic}
 
#KEY F12 {#bu stabbut}
 
#KEY F10 {stabbing}
 
#BUTTON 4 {stab-off} {#t+ stabtrig} {Stab-on} {#t- stabtrig} {} {1} {} {Size} {70} {20} {} {} {} {31} {30} {} {} "" {} {} {stabtrigbut}
 
#MENU {Stab Targets} {} "" {StabMenu}
 
#MENU {Stab Number} {} "" {StabNumberMenu}
 
#CLASS 0
 
#CLASS {Stabbing|StabMenu} {menu}
 
#MENU {Clear Targets} {#var StabTargets %null} ""
 
#MENU {gi} {#var StabTargets %additem( gith, @StabTargets);#var StabTargets %additem( gish, @StabTargets);#var StabTargets %additem( female, @StabTargets)} ""
 
#MENU {water} {#var StabTargets %additem( water, @StabTargets);#var StabTargets %additem( wyrm, @StabTargets)} ""
 
#MENU {Chim} {#var StabTargets %additem( chim, @StabTargets)} ""
 
#MENU {bale} {#var StabTargets %additem( bale, @StabTargets)} ""
 
#MENU {fae} {#var StabTargets %additem( fae, @StabTargets)} ""
 
#MENU {stat} {#var StabTargets %additem( stat, @StabTargets)} ""
 
#MENU {dem} {#var StabTargets %additem( dem, @StabTargets)} ""
 
#MENU {jungle} {#var StabTargets %additem( pan, @StabTargets);#var StabTargets %additem( ana, @StabTargets);#var StabTargets %additem( sus, @StabTargets);#var StabTargets %additem( yor, @StabTargets);#var StabTargets %additem( kzi, @StabTargets)} ""
 
#MENU {volcano} {#var StabTargets %additem( pyro, @StabTargets);#var StabTargets %additem( darken, @StabTargets);#var StabTargets %additem( mephit, @StabTargets);#var StabTargets %additem( salam, @StabTargets);#var StabTargets %additem( lava, @StabTargets);#var StabTargets %additem( fire, @StabTargets)} ""
 
#MENU {karn proper} {#var StabTargets %additem( akuma, @StabTargets);#var StabTargets %additem( man, @StabTargets);#var StabTargets %additem( cutthroat, @StabTargets);#var StabTargets %additem( crazed, @StabTargets);#var StabTargets %additem( humanoid, @StabTargets);#var StabTargets %additem( scourge, @StabTargets);;#var StabTargets %additem( merm, @StabTargets);#var StabTargets %additem( reaper, @StabTargets)} ""
 
#MENU {memlane astral} {#var StabTargets %additem( gith, @StabTargets);#var StabTargets %additem( soul, @StabTargets);#var StabTargets %additem( memory, @StabTargets);#var StabTargets %additem( pain, @StabTargets);#var StabTargets %additem( death, @StabTargets);#var StabTargets %additem( tiam, @StabTargets);#var StabTargets %additem( fae, @StabTargets);#var StabTargets %additem( shadow, @StabTargets);#var StabTargets %additem( queen, @StabTargets);#var StabTargets %additem( giant, @StabTargets)} ""
 
#MENU {rohp} {#var StabTargets %additem( delus, @StabTargets);#var StabTargets %additem( phant, @StabTargets);#var StabTargets %additem( pred, @StabTargets);#var StabTargets %additem( obli, @StabTargets);#var StabTargets %additem( denog, @StabTargets);#var StabTargets %additem( dog, @StabTargets)} ""
 
#MENU {earth} {#var StabTargets %additem( elem, @StabTargets);#var StabTargets %additem( wyrm, @StabTargets);#var StabTargets %additem( merc, @StabTargets);#var StabTargets %additem( slave, @StabTargets);#var StabTargets %additem( serv, @StabTargets)} ""
 
#MENU {fire} {#var StabTargets %additem( elem, @StabTargets);#var StabTargets %additem( fire, @StabTargets);#var StabTargets %additem( knight, @StabTargets);#var StabTargets %additem( ember, @StabTargets);#var StabTargets %additem( troll, @StabTargets);#var StabTargets %additem( lava, @StabTargets);#var StabTargets %additem( mephit, @StabTargets);#var StabTargets %additem( sala, @StabTargets)} ""
 
#MENU {cinderheim} {#var StabTargets %additem( sent, @StabTargets);#var StabTargets %additem( imp, @StabTargets);#var StabTargets %additem( flame, @StabTargets);#var StabTargets %additem( sala, @StabTargets);#var StabTargets %additem( smoke, @StabTargets);#var StabTargets %additem( tar, @StabTargets);#var StabTargets %additem( fire, @StabTargets);#var StabTargets %additem( lava, @StabTargets);#var StabTargets %additem( dweller, @StabTargets);#var StabTargets %additem( wind, @StabTargets);#var StabTargets %additem( spirit, @StabTargets);#var StabTargets %additem( giant, @StabTargets);#var StabTargets %additem( body, @StabTargets)} ""
 
#CLASS 0
 
#CLASS {Stabbing|StabNumberMenu} {menu}
 
#MENU {3.} {#var StabNumber %additem( 3 , @StabNumber)} ""
 
#MENU {2.} {#var StabNumber %additem( 2 , @StabNumber)} ""
 
#MENU {1.} {#var StabNumber %additem( 1 , @StabNumber)} ""
 
#MENU {Clear Numbers} {#var StabNumber %null} ""
 
#CLASS 0
 
#CLASS {Stabbing|stabtrig}
 
#TRIGGER {You follow} {#echo stab trig;stabbing}
 
#CLASS 0
 
  
basic lord stab trigger set will tidy up and wikify when i get a chance --[[User:Rhodry|Rhodry]] 14:49, 11 September 2010 (UTC)
+
#var groupmem {}
 +
#ali {setgroup} {#var groupmem {};group}
 +
#trig {%d|%d %w (%w)} {#additem groupmem %1}
 +
 
 +
== resc trigger ==
 +
 
 +
You're right, that's a more elegant solution than the current form of the rescue trigger. Thanks :) --[[User:MooNFisH|Llanor]] 11:32, 5 February 2011 (EST)

Latest revision as of 11:32, 5 February 2011

Adding the following to the base group also makes it work:

  1. var groupmem {}
  2. ali {setgroup} {#var groupmem {};group}
  3. trig {%d|%d %w (%w)} {#additem groupmem %1}

resc trigger

You're right, that's a more elegant solution than the current form of the rescue trigger. Thanks :) --Llanor 11:32, 5 February 2011 (EST)