Duris Wiki : CategoryHealBot

HomePage :: Categories :: PageIndex :: RecentChanges :: Login/Register
Most recent edit on 2011-05-25 08:40:44 by PranavWright

Additions:
Resume



Edited on 2009-03-27 03:09:58 by FoteNak

Additions:
#ALIAS gr {group;#clr {Group Stats}}
#TRIGGER {Health~[*~]} {#capture {Group Stats}}
#TRIGGER {*%s(&%d{current_hp})/(&%d{max_hp})%shit,%s(&%d{current_mv})/(&%d{max_mv})%smove%s(&group_member)$} {#math hp_difference (@current_hp - @max_hp);#math hp_percentage (@current_hp*100/@max_hp);#if @hp_difference<@temp_hp {temp_hp=@hp_difference;#var healfirst @group_member};#if @hp_percentage<@temp_percentage {temp_percentage=@hp_percentage;#var healmefirst @group_member};#if @hp_percentage<21 {#math hp_difference (@max_hp-@current_hp);#unbutton {@group_member};#BUTTON {@group_member} {@group_member} {fh @group_member} {} {} {} {} {} {} {} {} {} {} {} {13} {} {} {} {} {} {@group_member};#SAY {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, blink, red)dying %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, blink, red)dying %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1};#if @hp_percentage<41 {#math hp_difference (@max_hp-@current_hp);#unbutton {@group_member};#BUTTON {@group_member} {@group_member} {fh @group_member} {} {} {} {} {} {} {} {} {} {} {} {12} {} {} {} {} {} {@group_member};#SAY {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, red)hurting %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, red)hurting %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1};#if @hp_percentage<61 {#math hp_difference (@max_hp-@current_hp);#unbutton {@group_member};#BUTTON {@group_member} {@group_member} {fh @group_member} {} {} {} {} {} {} {} {} {} {} {} {14} {} {} {} {} {} {@group_member};#SAY {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, blue)wounded %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, blue)wounded %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1};#if @hp_percentage<81 {#math hp_difference (@max_hp-@current_hp);#unbutton {@group_member};#BUTTON {@group_member} {@group_member} {fh @group_member} {} {} {} {} {} {} {} {} {} {} {} {10} {} {} {} {} {} {@group_member};#SAY {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member has %ansi( bold, yellow)small wounds %ansi( bold, white)~| @hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member has %ansi( bold, yellow)small wounds %ansi( bold, white)~| @hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1};#if @hp_percentage<96 {#math hp_difference (@max_hp-@current_hp);#unbutton {@group_member};#BUTTON {@group_member} {@group_member} {fh @group_member} {} {} {} {} {} {} {} {} {} {} {} {2} {} {} {} "" {} {} {@group_member};#say {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is scratched %ansi( bold, white)~| @hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is scratched %ansi( bold, white)~| @hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1}}
*Note: Can delete all #BUTTON and #unbutton's.
*cMUD version?
(updated Mar-26-09)


Deletions:
#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
}
}
F-Key Based Health Checker
#CLASS {AutoGroup}
#TRIGGER {* %d/%d%shit,%s%d/%d%smove%s(%w)} {#if %ismember( %1, @Group) {#noop} {#var Group %additem( %1, @Group)}}
#CLASS 0
#CLASS {Prep_Healthchecker}
#TRIGGER {^Your group consists of} {#clr {Group Stats};#var Gnum 0; #window {Group Stats} {Group Consists of:};
#T+ Healthchecker}
#CLASS 0
#CLASS {Healthchecker}
#TRIGGER {*%s(%d)/(%d)%shit,*move (%*)} {#ADD Gnum 1;#math GStatus (%1 - %2); #if (@Gstatus <= 0) {#window {Group Stats} {F@Gnum~. %3 %repeat( ., 15-%len( %3)) %ansi( Yellow)@Gstatus}}}
#TRIGGER {$} {#T- Healthchecker}
#CLASS 0
#KEY F1 {fh %item( @group, 1)}
#KEY F2 {fh %item( @group, 2)}
#KEY F3 {fh %item( @group, 3)}
#KEY F4 {fh %item( @group, 4)}
#KEY F5 {fh %item( @group, 5)}
#KEY F6 {fh %item( @group, 6)}
#KEY F7 {fh %item( @group, 7)}
#KEY F8 {fh %item( @group, 8)}
#KEY F9 {fh %item( @group, 9)}
#KEY F10 {fh %item( @group, 10)}




Edited on 2008-06-27 04:21:09 by KhaRne

Additions:
The following 2 pages belong to CategoryHealBot:

CategoryClericNotes
CategoryNewbieGuides

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

Standard Health-Checker

#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
}
}

F-Key Based Health Checker

#CLASS {AutoGroup}
#TRIGGER {* %d/%d%shit,%s%d/%d%smove%s(%w)} {#if %ismember( %1, @Group) {#noop} {#var Group %additem( %1, @Group)}}
#CLASS 0
#CLASS {Prep_Healthchecker}
#TRIGGER {^Your group consists of} {#clr {Group Stats};#var Gnum 0; #window {Group Stats} {Group Consists of:};
#T+ Healthchecker}
#CLASS 0
#CLASS {Healthchecker}
#TRIGGER {*%s(%d)/(%d)%shit,*move (%*)} {#ADD Gnum 1;#math GStatus (%1 - %2); #if (@Gstatus <= 0) {#window {Group Stats} {F@Gnum~. %3 %repeat( ., 15-%len( %3)) %ansi( Yellow)@Gstatus}}}
#TRIGGER {$} {#T- Healthchecker}
#CLASS 0
#KEY F1 {fh %item( @group, 1)}
#KEY F2 {fh %item( @group, 2)}
#KEY F3 {fh %item( @group, 3)}
#KEY F4 {fh %item( @group, 4)}
#KEY F5 {fh %item( @group, 5)}
#KEY F6 {fh %item( @group, 6)}
#KEY F7 {fh %item( @group, 7)}
#KEY F8 {fh %item( @group, 8)}
#KEY F9 {fh %item( @group, 9)}
#KEY F10 {fh %item( @group, 10)}

CategoryCategory




Edited on 2008-06-16 22:52:43 by KwirlKarphys

Deletions:
The following 2 pages belong to CategoryHealBot:

CategoryClericNotes
CategoryNewbieGuides

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

Standard Health-Checker

#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
}
}

F-Key Based Health Checker

#CLASS {AutoGroup}
#TRIGGER {* %d/%d%shit,%s%d/%d%smove%s(%w)} {#if %ismember( %1, @Group) {#noop} {#var Group %additem( %1, @Group)}}
#CLASS 0
#CLASS {Prep_Healthchecker}
#TRIGGER {^Your group consists of} {#clr {Group Stats};#var Gnum 0; #window {Group Stats} {Group Consists of:};
#T+ Healthchecker}
#CLASS 0
#CLASS {Healthchecker}
#TRIGGER {*%s(%d)/(%d)%shit,*move (%*)} {#ADD Gnum 1;#math GStatus (%1 - %2); #if (@Gstatus <= 0) {#window {Group Stats} {F@Gnum~. %3 %repeat( ., 15-%len( %3)) %ansi( Yellow)@Gstatus}}}
#TRIGGER {$} {#T- Healthchecker}
#CLASS 0
#KEY F1 {fh %item( @group, 1)}
#KEY F2 {fh %item( @group, 2)}
#KEY F3 {fh %item( @group, 3)}
#KEY F4 {fh %item( @group, 4)}
#KEY F5 {fh %item( @group, 5)}
#KEY F6 {fh %item( @group, 6)}
#KEY F7 {fh %item( @group, 7)}
#KEY F8 {fh %item( @group, 8)}
#KEY F9 {fh %item( @group, 9)}
#KEY F10 {fh %item( @group, 10)}

CategoryCategory




Edited on 2008-05-27 09:04:51 by FoteNak

Additions:
'Copy and paste this into a notepad file. Then import the setting with ASCII
Standard Health-Checker
F-Key Based Health Checker


Deletions:
Copy and paste this into a notepad file. Then import the setting with ASCII
F-Key Based Health Checker




Edited on 2008-05-27 08:02:06 by FoteNak

Additions:

F-Key Based Health Checker

#CLASS {AutoGroup}
#TRIGGER {* %d/%d%shit,%s%d/%d%smove%s(%w)} {#if %ismember( %1, @Group) {#noop} {#var Group %additem( %1, @Group)}}
#CLASS 0
#CLASS {Prep_Healthchecker}
#TRIGGER {^Your group consists of} {#clr {Group Stats};#var Gnum 0; #window {Group Stats} {Group Consists of:};
#T+ Healthchecker}
#CLASS 0
#CLASS {Healthchecker}
#TRIGGER {*%s(%d)/(%d)%shit,*move (%*)} {#ADD Gnum 1;#math GStatus (%1 - %2); #if (@Gstatus <= 0) {#window {Group Stats} {F@Gnum~. %3 %repeat( ., 15-%len( %3)) %ansi( Yellow)@Gstatus}}}
#TRIGGER {$} {#T- Healthchecker}
#CLASS 0
#KEY F1 {fh %item( @group, 1)}
#KEY F2 {fh %item( @group, 2)}
#KEY F3 {fh %item( @group, 3)}
#KEY F4 {fh %item( @group, 4)}
#KEY F5 {fh %item( @group, 5)}
#KEY F6 {fh %item( @group, 6)}
#KEY F7 {fh %item( @group, 7)}
#KEY F8 {fh %item( @group, 8)}
#KEY F9 {fh %item( @group, 9)}
#KEY F10 {fh %item( @group, 10)}





Edited on 2008-05-25 13:13:23 by FoteNak

Additions:
Copy and paste this into a notepad file. Then import the setting with ASCII bold) %CR"
#VAR StatStr %concat( @StatStr, @Str1, @Str2)
}


Deletions:
Copy and paste this into a notepad file. Then import the setting with ASCII
#VAR StatStr %concat( @StatStr, @Str1, @Str2)




Oldest known version of this page was edited on 2008-05-25 13:12:30 by FoteNak []
Page view:
The following 2 pages belong to CategoryHealBot:

CategoryClericNotes
CategoryNewbieGuides


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
}
}

CategoryCategory