User talk:Rhodry

From AvatarWiki
Revision as of 14:02, 11 September 2010 by Rhodry (talk | contribs)
Jump to navigation Jump to search

This is a script for stabbing at lord.

Usage: Using the right click menu add what mobs you are stabbing and which number(s).

Then click on the button or press F12 to activate the Auto stab trigger. When the Auto stab trigger is on you will try to stab whatever mobs you have added to the target list, for whatever number you have added, whenever you follow someone into a room.

F10 will stab manually, useful when your full and group is resting in a non safe area to catch aggies.

Code

Copy this section and paste it into a *.txt file. Then, in zMUD, go to "Settings -> File -> Import Text" and select the file you saved to:

#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

Designer comments

[[Category:Zmud Scripting]]


my lord stab trigger set all cleaned up and ready to wikify when i get a chance --Rhodry 14:49, 11 September 2010 (UTC)

Gah will have to finish 2moro --Rhodry 19:02, 11 September 2010 (UTC)