Unknown2006-11-03 01:44:38
not sure if this is the right place to ask this but i need a simple free or gold paid script that heals health and mana, curing conditions would be nice but not needed and i am NOT a scripter so please be specific
Kharaen2006-11-03 02:12:56
Well, here's my sipper:
SIPHP/MP/EGO refers to when you want to start sipping those values...SIPHP at 500 would mean that you'd start sipping health when you've lost 500 or more Health.
My prompt has ALL stats in it (including willpower and endurance), so it would only work with that kind of prompt.
This is a ZMUD script.
#CLASS {Autosipping}
#ALIAS dm {drink mana;#var healbal 0.5;#alarm +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#ALIAS dh {drink health;#var healbal 0.5;#alarm +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#ALIAS db {drink bromide;#var healbal 0.5;#ALARM +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#TRIGGER {^(%d)h, (%d)m, (%d)e, (%d)p, (%d)en, (%d)w (*)~-$} {#var HP %1;#var MP %2;#var EGO %3;#var POW %4;#var END %5;#var WLL %6;#if (@MAXHP - @HP > @SIPHP and @HEALBAL=1) {dh} {#if (@MAXMP - @MP > @SIPMP and @HEALBAL=1) {dm} {#if (@maxego - @ego > @sipego and @healbal=1) {db}}};#if (%pos( p, %7) & %pos( r, %7) & %pos( e, %7) & @standing=1) {stand;#var standing 0;#alarm +1 {#var standing 1}}} "" {nocr|prompt}
#TRIGGER {^The potion heals and soothes you.$} {#var healbal 0}
#TRIGGER {^Â Â Health : (%d)/(%d)} {#var HP %1;#var MAXHP %2}
#TRIGGER {^  Mana  : (%d)/(%d)} {#var MP %1;#var MAXMP %2}
#TRIGGER {^  Ego    : (%d)/(%d)} {#var EGO %1;#var MAXEGO %2}
#TRIGGER {^  Level  : (%d) ~((%d)~%~)} {LEV=%1;perlev=%2}
#TRIGGER {Rank      : (%w)$} {levrank=%1}
#TRIGGER {^The potion flows down your throat without effect.$} {#var healbal 0}
#TRIGGER {^Your mind feels stronger and more alert.$} {#var healbal 0}
#TRIGGER {^Ah, the soothing bromides help strengthen your ego.$} {#var healbal 0}
#TRIGGER {^You may use another health, mana, or bromide potion, or medicine bag.$} {#var healbal 1}
#TRIGGER {^You may drink another health, mana, or bromide potion.$} {#var healbal 1}
#VAR END {}
#VAR SIPHP {}
#VAR SIPMP {}
#VAR SIPEGO {}
#VAR HP {}
#VAR MAXHP {}
#VAR MP {}
#VAR MAXMP {}
#VAR WLL {}
#VAR EGO {}
#VAR MAXEGO {}
#VAR POW {}
#VAR LEV {77}
#VAR LEVRANK {Paramortal}
#VAR perlev {58}
#VAR standing {1} {1}
#VAR healbal {1} {1}
#BUTTON 1 {HEALTH} {dh} {} {} {@hp} {} {} {Size} {120} {20} {Pos} {1} {0} {32800} {} {Gauge||12|@maxhp|@maxhp\\10|2} {} "" {Explore|Inset} {} {} {2}
#BUTTON 2 {MANA} {dm} {} {} {@mp} {} {} {Size} {120} {20} {Pos} {1} {121} {32799} {} {Gauge||12|@maxmp|@maxmp/10|1} {} "" {Explore|Inset} {} {} {2}
#BUTTON 3 {EGO} {db} {} {} {@ego} {} {} {Size} {120} {20} {Pos} {1} {242} {32863} {} {Gauge||12|@maxego|@maxego/10|5} {} "" {Explore|Inset} {} {} {2}
#BUTTON 4 {Level: @lev  ( @perlev% @levrank )} {score} {} {} {@perlev} {} {} {Size} {175} {20} {} {} {} {32864} {} {Gauge||12|100||6} {} "" {Explore|Inset} {} {} {2}
#CLASS 0
SIPHP/MP/EGO refers to when you want to start sipping those values...SIPHP at 500 would mean that you'd start sipping health when you've lost 500 or more Health.
My prompt has ALL stats in it (including willpower and endurance), so it would only work with that kind of prompt.
This is a ZMUD script.
CODE
#CLASS {Autosipping}
#ALIAS dm {drink mana;#var healbal 0.5;#alarm +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#ALIAS dh {drink health;#var healbal 0.5;#alarm +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#ALIAS db {drink bromide;#var healbal 0.5;#ALARM +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#TRIGGER {^(%d)h, (%d)m, (%d)e, (%d)p, (%d)en, (%d)w (*)~-$} {#var HP %1;#var MP %2;#var EGO %3;#var POW %4;#var END %5;#var WLL %6;#if (@MAXHP - @HP > @SIPHP and @HEALBAL=1) {dh} {#if (@MAXMP - @MP > @SIPMP and @HEALBAL=1) {dm} {#if (@maxego - @ego > @sipego and @healbal=1) {db}}};#if (%pos( p, %7) & %pos( r, %7) & %pos( e, %7) & @standing=1) {stand;#var standing 0;#alarm +1 {#var standing 1}}} "" {nocr|prompt}
#TRIGGER {^The potion heals and soothes you.$} {#var healbal 0}
#TRIGGER {^Â Â Health : (%d)/(%d)} {#var HP %1;#var MAXHP %2}
#TRIGGER {^  Mana  : (%d)/(%d)} {#var MP %1;#var MAXMP %2}
#TRIGGER {^  Ego    : (%d)/(%d)} {#var EGO %1;#var MAXEGO %2}
#TRIGGER {^  Level  : (%d) ~((%d)~%~)} {LEV=%1;perlev=%2}
#TRIGGER {Rank      : (%w)$} {levrank=%1}
#TRIGGER {^The potion flows down your throat without effect.$} {#var healbal 0}
#TRIGGER {^Your mind feels stronger and more alert.$} {#var healbal 0}
#TRIGGER {^Ah, the soothing bromides help strengthen your ego.$} {#var healbal 0}
#TRIGGER {^You may use another health, mana, or bromide potion, or medicine bag.$} {#var healbal 1}
#TRIGGER {^You may drink another health, mana, or bromide potion.$} {#var healbal 1}
#VAR END {}
#VAR SIPHP {}
#VAR SIPMP {}
#VAR SIPEGO {}
#VAR HP {}
#VAR MAXHP {}
#VAR MP {}
#VAR MAXMP {}
#VAR WLL {}
#VAR EGO {}
#VAR MAXEGO {}
#VAR POW {}
#VAR LEV {77}
#VAR LEVRANK {Paramortal}
#VAR perlev {58}
#VAR standing {1} {1}
#VAR healbal {1} {1}
#BUTTON 1 {HEALTH} {dh} {} {} {@hp} {} {} {Size} {120} {20} {Pos} {1} {0} {32800} {} {Gauge||12|@maxhp|@maxhp\\10|2} {} "" {Explore|Inset} {} {} {2}
#BUTTON 2 {MANA} {dm} {} {} {@mp} {} {} {Size} {120} {20} {Pos} {1} {121} {32799} {} {Gauge||12|@maxmp|@maxmp/10|1} {} "" {Explore|Inset} {} {} {2}
#BUTTON 3 {EGO} {db} {} {} {@ego} {} {} {Size} {120} {20} {Pos} {1} {242} {32863} {} {Gauge||12|@maxego|@maxego/10|5} {} "" {Explore|Inset} {} {} {2}
#BUTTON 4 {Level: @lev  ( @perlev% @levrank )} {score} {} {} {@perlev} {} {} {Size} {175} {20} {} {} {} {32864} {} {Gauge||12|100||6} {} "" {Explore|Inset} {} {} {2}
#CLASS 0
Unknown2006-11-03 02:29:32
ok thanks
Unknown2006-11-03 02:44:22
great now Zmud is freezing
Unknown2006-11-03 03:29:36
ok got it to unfreeze but can't figure out how to get it to work...
EDIT: and i REALLY need to learn to use edit lol
EDIT: and i REALLY need to learn to use edit lol
Kharaen2006-11-03 04:08:50
You need to do the following:
Copy/paste the script in your command prompt.
Type: CONFIG PROMPT ALL
Type: SCORE
This sets it up so the prompt trigger works, and max values are taken (Maxhp/mp/ego).
Manually set the SIPHP, SIPMP, and SIPEGO variables to what you want to start sipping at.
Say your maximum health is 3500, and you want to start sipping when you get to 3000 health or below, you would put 500 as SIPHP. Repeat for SIPMP and SIPEGO.
There's a search funtion in the Zmud command directory, simply do a search on SIP to find all three variables.
You may need to sip once to start the scipt.
I've got the buttons set up for the bottom of the screen. So find the buttons, then do the following:
* Click on POSITION/SIZE
* In LOCATION, click on BOTTOM. That should affect the other buttons as well.
It should work after that...
Copy/paste the script in your command prompt.
Type: CONFIG PROMPT ALL
Type: SCORE
This sets it up so the prompt trigger works, and max values are taken (Maxhp/mp/ego).
Manually set the SIPHP, SIPMP, and SIPEGO variables to what you want to start sipping at.
Say your maximum health is 3500, and you want to start sipping when you get to 3000 health or below, you would put 500 as SIPHP. Repeat for SIPMP and SIPEGO.
There's a search funtion in the Zmud command directory, simply do a search on SIP to find all three variables.
You may need to sip once to start the scipt.
I've got the buttons set up for the bottom of the screen. So find the buttons, then do the following:
* Click on POSITION/SIZE
* In LOCATION, click on BOTTOM. That should affect the other buttons as well.
It should work after that...
Unknown2006-11-03 04:23:20
thanks
EDIT: it's still not working
EDIT: it's still not working
Kharaen2006-11-03 06:23:48
QUOTE(askath @ Nov 2 2006, 11:23 PM) 349951
thanks
EDIT: it's still not working
That really doesn't tell me anything. I can't fix the problem if you aren't telling me what's not working.
Unknown2006-11-03 07:04:21
good point well i'm not sure whats wrong but there are some pieces of the script missing i think because when i put it in there are five messages that say i don't understand what your saying in lusternia and the health bar in missing
edit also this is what is put in when i try
#ALIAS dm {drink mana;#var healbal 0.5;#alarm +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#TRIGGER {^(%d)h, (%d)m, (%d)e, (%d)p, (%d)en, (%d)w (*)-$} {#var HP %1;#var MP %2;#var EGO %3;#var POW %4;#var END %5;#var WLL %6;#if (@MAXHP - @HP > @SIPHP and @HEALBAL=1) {dh} {#if (@MAXMP - @MP > @SIPMP and @HEALBAL=1) {dm} {#if (@maxego - @ego > @sipego and @healbal=1) {db}}};#if (%pos( p, %7) & %pos( r, %7) & %pos( e, %7) & @standing=1) {stand;#var standing 0;#alarm +1 {#var standing 1}}} "" {nocr|prompt}
#VAR END {}
#BUTTON 1 {HEALTH} {dh} {} {} {@hp} {} {} {Size} {120} {20} {Pos} {1} {0} {32800} {} {Gauge||12|@maxhp|@maxhp\\10|2} {} "" {Explore|Inset} {} {} {2}
#CLASS 0
EDIT2 nevermind I got it to work it was the spaces inbetween the paragraphs
edit also this is what is put in when i try
#ALIAS dm {drink mana;#var healbal 0.5;#alarm +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#TRIGGER {^(%d)h, (%d)m, (%d)e, (%d)p, (%d)en, (%d)w (*)-$} {#var HP %1;#var MP %2;#var EGO %3;#var POW %4;#var END %5;#var WLL %6;#if (@MAXHP - @HP > @SIPHP and @HEALBAL=1) {dh} {#if (@MAXMP - @MP > @SIPMP and @HEALBAL=1) {dm} {#if (@maxego - @ego > @sipego and @healbal=1) {db}}};#if (%pos( p, %7) & %pos( r, %7) & %pos( e, %7) & @standing=1) {stand;#var standing 0;#alarm +1 {#var standing 1}}} "" {nocr|prompt}
#VAR END {}
#BUTTON 1 {HEALTH} {dh} {} {} {@hp} {} {} {Size} {120} {20} {Pos} {1} {0} {32800} {} {Gauge||12|@maxhp|@maxhp\\10|2} {} "" {Explore|Inset} {} {} {2}
#CLASS 0
EDIT2 nevermind I got it to work it was the spaces inbetween the paragraphs
Kharaen2006-11-03 16:44:32
QUOTE(askath @ Nov 3 2006, 02:04 AM) 350000
good point well i'm not sure whats wrong but there are some pieces of the script missing i think because when i put it in there are five messages that say i don't understand what your saying in lusternia and the health bar in missing
edit also this is what is put in when i try
#ALIAS dm {drink mana;#var healbal 0.5;#alarm +1 {#IF (@healbal=0.5) {#var healbal 1}}}
#TRIGGER {^(%d)h, (%d)m, (%d)e, (%d)p, (%d)en, (%d)w (*)-$} {#var HP %1;#var MP %2;#var EGO %3;#var POW %4;#var END %5;#var WLL %6;#if (@MAXHP - @HP > @SIPHP and @HEALBAL=1) {dh} {#if (@MAXMP - @MP > @SIPMP and @HEALBAL=1) {dm} {#if (@maxego - @ego > @sipego and @healbal=1) {db}}};#if (%pos( p, %7) & %pos( r, %7) & %pos( e, %7) & @standing=1) {stand;#var standing 0;#alarm +1 {#var standing 1}}} "" {nocr|prompt}
#VAR END {}
#BUTTON 1 {HEALTH} {dh} {} {} {@hp} {} {} {Size} {120} {20} {Pos} {1} {0} {32800} {} {Gauge||12|@maxhp|@maxhp\\10|2} {} "" {Explore|Inset} {} {} {2}
#CLASS 0
EDIT2 nevermind I got it to work it was the spaces inbetween the paragraphs
It works now then?
Unknown2006-11-03 18:01:57
yep thanks agin
Kharaen2006-11-03 18:18:28
Great, enjoy the script