Dase's Heal Bot ===========================================================================

Helpful Hints
Main Page
Duris Slang
Fighters' Code
Cleric Clues
Conjurer Notes
Sorcerer Info
Bard Fun
Necromancer
Mercenary
Duris Links
DURIS
Darkward
Kethra's Site
Krecik's Site
Iatyh's Site
Seldon's maps

 

Copy and paste this into a notepad file.  Then import the setting with ASCII

#VAR StatStr ""
#VAR healhp 0
#VAR healtar ""
#VAR PreAutoHeal 0
#VAR AutoHeal 1

#VAR HP %1
#VAR MAXHP %2
#VAR MP %3
#VAR MAXMP %4
#VAR Whom %replace( @Whom, "a ", "")
#VAR Whom %replace( @Whom, "the ", "")
#VAR Whom %replace( @Whom, "of ", "")
#math HPDown (@MAXHP-@HP)
#math MPDown (@MAXMP-@MP)
#math HPPercent ((@HP*100 / @MAXHP))
#IF (@HPDown > @Healhp) {
  #VAR Healhp @HPDown
  #VAR HealTar @Whom
  }
#IF (@MP <= 30) {#sa %ansi( cyan, bold) --- %ansi( yellow, high)@Whom %ansi( 
cyan, bold)is low on moves!}
#IF (@HPDown >= 100) {
  #VAR Str1 "%ansi( yellow, bold) @Whom @HPDown @HPPercent% %ansi( white, 
bold) %CR"
  #VAR Str2 "%ansi( yellow, bold) @Whom @HPDown @HPPercent% %ansi( white, 
bold) %CR"
  #VAR StatStr %concat( @StatStr, @Str1, @Str2)
  }
Trigger
Pos:
Command
#STW @StatStr
#IF (@AutoHeals = 1) {
  #VAR AutoHeal 0
  #IF (@HPDown > 100) {
fh @HealTar
    }
  }
1
Hosted by www.Geocities.ws