Difference between revisions of "User talk:Rhodry"

From AvatarWiki
Jump to navigation Jump to search
(→‎resc trigger: new section)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
Adding the following to the base group also makes it work:
#CLASS {Stabbing}
 
#ALIAS stab {#for @StabTargList {assas %1%i}}
 
#ALIAS stabbing {#if (@StabNumbList==%null) {stab} {#if (%numitems( @StabNumbList)==1) {stab @StabNumbList.} {#for @StabNumbList {stab %i.}}}}
 
#VAR StabTargList {}
 
#VAR StabNumbList {}
 
#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} {} "" {StabTargMenu}
 
#MENU {Stab Number} {} "" {StabNumberMenu}
 
#CLASS 0
 
#CLASS {Stabbing|StabTargMenu} {menu}
 
#MENU {Clear Targets} {#var StabTargList %null} ""
 
#MENU {gi} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "gish|gith|female")
 
  } ""
 
#MENU {water} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "water|wyrm")
 
  } ""
 
#MENU {Chim} {#var StabTargList %additem( chim, @StabTargList)} ""
 
#MENU {bale} {#var StabTargList %additem( bale, @StabTargList)} ""
 
#MENU {fae} {#var StabTargList %additem( fae, @StabTargList)} ""
 
#MENU {stat} {#var StabTargList %additem( stat, @StabTargList)} ""
 
#MENU {dem} {#var StabTargList %additem( dem, @StabTargList)} ""
 
#MENU {jungle} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "pan|ana|sus|yor|kzi")
 
  } ""
 
#MENU {volcano} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "pyro|darken|mephit|salam|lava|fire")
 
  } ""
 
#MENU {karn proper} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "akuma|man|cutthroat|crazed|humanoid|scourge|merm|reaper")
 
  } ""
 
#MENU {memlane astral} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "gith|soul|memory|pain|death|tiam|fae|shadow|queen|giant")
 
  } ""
 
#MENU {rohp} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "delus|phant|pred|obli|denog|dog")
 
  } ""
 
#MENU {earth} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "elem|wyrm|merc|slave|serv")
 
  } ""
 
#MENU {fire} {
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "elem|fire|knight|ember|troll|lava|mephit|sala")
 
  } ""
 
#MENU {cinderheim} {
 
  #var StabTargList %additem( sent, @StabTargList)
 
  #if (@StabTargList!=%null) {#var StabTargList %concat( @StabTargList, "|")}
 
  #var StabTargList %concat( @StabTargList, "imp|flame|sala|smoke|tar|fire|lava|dweller|wind|spirit|giant|body")
 
  } ""
 
#CLASS 0
 
#CLASS {Stabbing|StabNumberMenu} {menu}
 
#MENU {3.} {#var StabNumbList %additem( 3 , @StabNumbList)} ""
 
#MENU {2.} {#var StabNumbList %additem( 2 , @StabNumbList)} ""
 
#MENU {1.} {#var StabNumbList %additem( 1 , @StabNumbList)} ""
 
#MENU {Clear Numbers} {#var StabNumbList %null} ""
 
#CLASS 0
 
#CLASS {Stabbing|stabtrig}
 
#TRIGGER {You follow} {
 
  #echo stab trig
 
  stabbing
 
  }
 
#CLASS 0
 
</pre>
 
  
my lord stab trigger set all cleaned up and ready to 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)