Deladan
Jun 24 2009, 02:41 AM
All I want is something that eats moss when I get to a certain % of health and stops eatting when I get back into the good range health wise
Trevize
Jun 24 2009, 02:44 AM
QUOTE (Deladan @ Jun 23 2009, 10:41 PM)

All I want is something that eats moss when I get to a certain % of health and stops eatting when I get back into the good range health wise
Client?
Bannin
Jun 24 2009, 10:16 AM
CODE
#help var
#help trigger
That should do it
Mymyc
Jun 24 2009, 01:33 PM
QUOTE (Deladan @ Jun 24 2009, 04:41 AM)

All I want is something that eats moss when I get to a certain % of health and stops eatting when I get back into the good range health wise
Mechanics for mosseatin'.
CODE
If your current health is < your max health then
If you may eat another irid moss then
outr moss, eat moss
endif
endif
Use variables eg MOSSBALANCE (yes or no), MAXHEALTH, CURRENTHEALTH.
Modify the variables inside triggers, one trigger to catch the prompt line (for health), on trigger to catch the "You may eat another bit of irid moss".
Rangor Corten
Jun 24 2009, 03:50 PM
CODE
#if (@sleep=0 and @stunned=0 and @aeon=0 and @anorexia=0 and @mossbalance=1) {
#if @moss=1 {
#if ((@currenthealth<@HPwimpy and @currentmana<@MPwimpy) or @currenthealth<3000) {
compose
eatmossalias
}
}
}
Deladan
Jun 24 2009, 04:58 PM
rangor's has been the most helpful, currently I'm running on zmud. On a heavly modified dumah curing system by heavly modified i mean, it's been completely rescripted. Infact that coding rangor gave is almost exactly what I have for the moss except for the health and mana values
#CLASS {Healing}
#ALIAS healingqueue {
#if (@sleep=0 and @stunned=0 and @aeon=0 and @anorexia=0 and @elixirbalance=1) {
#if @health=1 {
compose
dh
} {
#if @mana=1 {
compose
dm
}
}
}
}
#ALIAS mossqueue {
#if (@sleep=0 and @stunned=0 and @aeon=0 and @anorexia=0 and @mossbalance=1) {
#if @moss=1 {
compose
em }
}
}
#VAR mossbalance {1} {1}
#VAR elixirbalance {1} {1}
#VAR health {0} {0}
#VAR mana {0} {0}
#VAR moss {0} {0}
#VAR breathing {0} {0}
#REGEX {^You may drink another health or mana elixir\.$} {
elixirbalance=1
healingqueue
}
#REGEX {^The elixir heals and soothes you\.$} {
elixirbalance=0
#untrigger drinkalarm
#untrigger lagalarm
}
#REGEX {^Your mind feels stronger and more alert\.$} {
elixirbalance=0
#untrigger drinkalarm
#untrigger lagalarm
}
#REGEX {^You feel your health and mana replenished\.$} {
mossbalance=0
#untrigger mossalarm
#untrigger lagalarm
}
#REGEX {^You may eat another bit of irid moss\.$} {
mossbalance=1
mossqueue
#sub {%ansi( 15)~ +[%ansi( 5210)YOU CAN EAT MOSS AGAIN%ansi( 15)~]+}
}
#REGEX {^You cease holding your breath and exhale loudly\.$} {#if @breathing=1 {hold breath}}
#KEY F3 {
#if @health=0 {
#sayp Health ON
health=1
#if @mana=1 {mana=0}
healingqueue
} {
#sayp Health OFF
health=0
}
}
#KEY F4 {
#if @mana=0 {
#sayp Mana ON
mana=1
#if @health=1 {health=0}
healingqueue
} {
#sayp Mana OFF
mana=0
}
}
#KEY F5 {
#if @moss=0 {
#sayp Moss ON
moss=1
mossqueue
} {
#sayp Moss OFF
moss=0
}
}
#KEY F12 {
#if @breathing=0 {
#sayp Breathing ON
breathing=1
compose
hold breath
} {
#sayp Breathing OFF
breathing=0
compose
}
}
#CLASS 0
So this is what I'm working with currently. I fail at coding heh
Deladan
Jun 25 2009, 03:45 AM
#CLASS {Deladan Stuff|Shadow|Prompt}
#VAR sipat {health%int( @pval.maxhealth*17/20)mana%int( @pval.maxmana*3/4)}
#VAR promptversion {1.3}
#CLASS 0
#CLASS {Deladan Stuff|Shadow|Prompt|sipscript}
#ALIAS checkhm {#if (@hmbal=1) {#if (@pval.health<@sipat.health) {healhm health} {#if (@pval.mana<@sipat.mana) {healhm mana}}}}
#ALIAS healhm {
sip %1
hmbal=2
#alarm sipfs +6 {
hmbal=1
checkhm
}
}
#VAR hmhealing {1} {0}
#VAR hmbal {1} {1}
#REGEX {^Trigger \{sipfs\} removed\.$} {#gag}
#REGEX {^(?:The elixir heals and soothes you\.|Your mind feels stronger and more alert\.)$} {hmbal=0}
#REGEX {^You may drink another health or mana elixir\.$} {
hmbal=1
#unt sipfs
}
#CLASS 0
#CLASS {Deladan Stuff|Shadow|Prompt|promptscript}
#ALIAS sipping {
#if (%1=%null) {
#if (@hmhealing=1) {
hmhealing=0
#say %ansi( 7)Auto-sipping off.
#unt sipfs
} {
hmhealing=1
#say %ansi( 7)Auto-sipping on.
}
} {
#if ("%1"="on") {
#if (@hmhealing=1) {#say %ansi( 7)Auto-sipping is already on.} {
hmhealing=1
#say %ansi( 7)Auto-sipping on.
}
} {
#if ("%1"="off") {
#if (@hmhealing=0) {#say %ansi( 7)Auto-sipping is already off.} {
hmhealing=0
#say %ansi( 7)Auto-sipping off.
#unt sipfs
}
}
}
}
}
#ALIAS track {#if (%1=%null) {
#if (@hmtrack) {
hmtrack=0
#say %ansi( 7)Tracking off.
} {
hmtrack=1
#say %ansi( 7)Tracking on.
}
} {#if ("%1"="on") {
#if (@hmtrack=1) {#say %ansi( 7)Tracking is already on.} {
hmtrack=1
#say %ansi( 7)Tracking on.
}
} {#if ("%1"="off") {
#if (@hmtrack=0) {#say %ansi( 7)Tracking is already off.} {
hmtrack=0
#say %ansi( 7)Tracking off.
}
} {~track %1}}}}
#VAR hmtrack {0} {0}
#VAR pval {health5010mana3165endurance22760willpower15020maxhealth4739maxmana33
85maxendurance21470maxwillpower15020healthcheck5010manacheck3165}
#REGEX "sctrack" {^Health\: (?pval.health:\d+)\/(?pval.maxhealth:\d+)\s+Mana\: (?pval.mana:\d+)\/(?pval.maxmana:\d+)\nEndurance\: (?pval.endurance:\d+)\/(?pval.maxendurance:\d+)\s+Willpower\: (?pval.willpower:\d+)\/(?pval.maxwillpower:\d+)} {}
#REGEX "qsctrack" {^Health\:\s+(?pval.health:\d+) \/\s*(?pval.maxhealth:\d+)\s+Mana\:\s+(?pval.mana:\d+) \/\s*(?pval.maxmana:\d+)\nEndurance\:\s+(?pval.endurance:\d+) \/\s*(?pval.maxendurance:\d+)\s+Willpower\:\s+(?pval.willpower:\d+) \/\s*(?pval.maxwillpower:\d+)} {}
#REGEX "hmewtrack" {^(?pval.health:\d+)h, (?pval.mana:\d+)m, (?pval.endurance:\d+)e, (?pval.willpower:\d+)w [exbkdc@]*\-$} {
#if (@hmtrack=1) {
#if (@pval.healthcheck!=%1 OR @pval.manacheck!=%2) {
#sayp %ansi( 7)~[
#if (@pval.healthcheck!=%1) {#sayp %ansi( %if( %1<@pval.healthcheck, 12, 10))%if( @pval.healthcheck<%1, +)%eval( %1-@pval.healthcheck)h}
#if (@pval.healthcheck!=%1 AND @pval.manacheck!=%2) {#sayp " "}
#if (@pval.manacheck!=%2) {#sayp %ansi( %if( %2<@pval.manacheck, 12, 10))%if( @pval.manacheck<%2, +)%eval( %2-@pval.manacheck)m}
#sayp %ansi( 7)~]
}
}
pval.healthcheck=%1
pval.manacheck=%2
#if (@hmhealing=1) {checkhm}
} "" {nocr|prompt}
#BUTTON 1 {H: @pval.health / @pval.maxhealth} {} {} {} {@pval.health} {} {HEART} {Size} {225} {21} {} {} {} {42} {} {Gauge||12|@pval.maxhealth|@pval.maxhealth/4|7} {} "" {Explore|Inset} {} {healthbar} {3}
#CLASS 0
Deladan
Jun 25 2009, 03:58 AM
and that's what I have to do health and Mana with. I kinda want something like that for my moss too so I don't eat it off time, like during a rampage or what ever I just use auto moss that I rigged which just repeated eats over and over again. yeah I know
#CLASS {Healing}
#ALIAS healingqueue {
#if (@sleep=0 and @stunned=0 and @aeon=0 and @anorexia=0 and @elixirbalance=1) {
#if @health=1 {
compose
dh
} {
#if @mana=1 {
compose
dm
}
}
}
}
#ALIAS mossqueue {
#if (@sleep=0 and @stunned=0 and @aeon=0 and @anorexia=0 and @mossbalance=1) {
#if @moss=1 {
compose
em
}
}
}
#VAR mossbalance {1} {1}
#VAR elixirbalance {1} {1}
#VAR health {0} {0}
#VAR mana {0} {0}
#VAR moss {0} {0}
#VAR breathing {0} {0}
#REGEX {^You may drink another health or mana elixir\.$} {
elixirbalance=1
healingqueue
}
#REGEX {^The elixir heals and soothes you\.$} {
elixirbalance=0
#untrigger drinkalarm
#untrigger lagalarm
}
#REGEX {^Your mind feels stronger and more alert\.$} {
elixirbalance=0
#untrigger drinkalarm
#untrigger lagalarm
}
#REGEX {^You feel your health and mana replenished\.$} {
mossbalance=0
#untrigger mossalarm
#untrigger lagalarm
}
#REGEX {^You may eat another bit of irid moss\.$} {
mossbalance=1
mossqueue
#sub {%ansi( 15)~ +[%ansi( 5210)YOU CAN EAT MOSS AGAIN%ansi( 15)~]+}
}
#REGEX {^You cease holding your breath and exhale loudly\.$} {#if @breathing=1 {hold breath}}
#KEY F3 {
#if @health=0 {
#sayp Health ON
health=1
#if @mana=1 {mana=0}
healingqueue
} {
#sayp Health OFF
health=0
}
}
#KEY F4 {
#if @mana=0 {
#sayp Mana ON
mana=1
#if @health=1 {health=0}
healingqueue
} {
#sayp Mana OFF
mana=0
}
}
#KEY F5 {
#if @moss=0 {
#sayp Moss ON
moss=1
mossqueue
} {
#sayp Moss OFF
moss=0
}
}
#KEY F12 {
#if @breathing=0 {
#sayp Breathing ON
breathing=1
compose
hold breath
} {
#sayp Breathing OFF
breathing=0
compose
}
}
#CLASS 0
Dyzanru
Jun 25 2009, 04:16 PM
O.o why do you code like that?
Deladan
Jun 25 2009, 05:20 PM
Anyways I just want a way to eat moss at a % value of my health and then when I don't need to eat it I don't.
Cooper
Jun 25 2009, 05:53 PM
That's not his code, Dyz. He can't do anything for himself. Can't make a dsl macro, can't make a simple venom combo, can't code at all, etc.
Deladan
Jun 25 2009, 05:58 PM
Yeah I only ever learned to code on one client, and I stopped using it when I came back the second time. *Shrug*
Deladan
Jun 28 2009, 08:00 PM
I still don't have an auto moss system

I fail hard
Snareman_kindfire
Jun 29 2009, 04:22 AM
QUOTE (Cooper @ Jun 25 2009, 12:53 PM)

That's not his code, Dyz. He can't do anything for himself. Can't make a dsl macro, can't make a simple venom combo, can't code at all, etc.
Ouch, just ouch.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.