BREATHING CLASS
Not perfect but it used to work for me before I rebuilt my whole setup:
#CLASS {breathing} {disable}
#TRIGGER {^You cease holding your breath and exhale loudly.$} {hb}
#TRIGGER {^You
cease holding your breath and exhale loudly.$} {hb}
#TRIGGER {^You cease holding your breath and exhale loudly.$} {hb}
#TRIGGER
{^You have recovered equilibrium.$} {hb}
#TRIGGER {^You have recovered balance on all limbs.$} {hb}
#CLASS 0
LOG TIMESTAMPER
This is a log timestamper I made. I put it in a class just to be able to toggle it off and on when I needed it
since it's only real use is testing. Displays time as [hour:minute:second:millisec]
#CLASS {timestamp}
#TRIGGER {%dh, %dm} {#SAYP "["%time( hh:nn:ss:zz)"]"}
#CLASS 0
HEALTH LOSS/GAIN SCRIPT:
This is a script I didn't make but it tells you how much health you've lost/gained. It's nice to test dmg
attacks and the like. I class things like this simply because I prefer to have as little running on the prompt (therefore
slowing me down) as possible.
I also made it so it works on my prompt by getting rid of endurance/willpower stat. Simple enough.
When it works, it looks kinda like:
3865h, 2560m excb -
3855h, 2560m excb - [-10]
#CLASS {Prompt_Change}
#VAR hpold {}
#VAR hp {}
#TRIGGER {&{hpold}h, %dm (%w)~-} {}
#COND {&{hp}h,
%dm (%w)~-} {#IF (%eval( @hpold-@hp)>0) {#sayp %ANSI( blue, black)%eval( @hpold-@hp)%ANSI( black, black).} {#sayp %ANSI(
green, black, high)%eval( @hp-@hpold)%ANSI( black, black).}} {nocr|prompt}
#CLASS 0
MONK COMBOs TO LIMB TRACKER:
This is the very first thing I ever wrote I think...counts how many times a monk hits you per limb and when it
gets close to the magic number (usually 8) it changes color. It's spammy, but I used it for testing so with some minor adjustments,
could easily be improved upon. This uses the fact that a kick counts as 2 pts and a punch is 1.
HINT: Though I don't do it, one thing it could easily be used for is pre-applying restoration against monks
to help speed healing.
#CLASS {limbbreakcounter}
#TRIGGER {^* lets fly at you with a snap kick.$} {combohitkick=1}
#TRIGGER {^* pumps
out at you with a powerful side kick.$} {combohitkick=1}
#TRIGGER {^* twists {her|his} torso and sends a roundhouse towards
you.$} {combohitkick=1}
#TRIGGER {^* hurls {herself|himself} towards you with a lightning-fast moon kick.$} {combohitkick=1}
#TRIGGER
{^* kicks {her|his} leg high and scythes downwards at you.$} {combohitkick=1}
#TRIGGER {^* balls up one fist and hammerfists
you.$} {combohitpunch=1}
#TRIGGER {^* forms a spear hand and stabs out at you.$} {combohitpunch=1}
#TRIGGER {^* launches
a powerful uppercut at you.$} {combohitpunch=1}
#TRIGGER {^* unleashes a powerful hook towards you.$} {combohitpunch=1}
#TRIGGER
{^{He|She} connects to the right arm!$} {comboconnect=1;#IF
{@combohitkick=1 AND @comboconnect=1} {#ADD combosumrightarm 2;combohitkick=0;comboconnect=0};#IF
{@combohitpunch=1 AND @comboconnect=1} {#ADD combosumrightarm 1;combohitpunch=0;comboconnect=0};#IF
{@combosumrightarm>=5} {#SHOW %ansi(bold,red)RIGHT ARM IS GOING TO BREAK!!!};#IF @combosumrightarm<=5 {#SHOW %ansi(bold, magenta)RIGHT ARM IS
A COMBO AWAY!!!};#SHOW @combosumrightarm "HITS ON RIGHT ARM"}
#TRIGGER {^{He|She} connects to the left arm!$} {comboconnect=1;#IF
{@combohitkick=1 AND @comboconnect=1} {#ADD combosumleftarm 2;combohitkick=0;comboconnect=0};#IF
{@combohitpunch=1 AND @comboconnect=1} {#ADD combosumleftarm 1;combohitpunch=0;comboconnect=0};#IF
{@combosumleftarm>=5} {#SHOW %ansi(bold,red)LEFT ARM IS GOING TO BREAK!!!};#IF @combosumleftarm<=5 {#SHOW %ansi(bold,magenta)LEFT ARM IS A
COMBO AWAY!!!};#SHOW @combosumleftarm "HITS ON LEFT ARM"}
#TRIGGER {^{He|She} connects to the right leg!$} {comboconnect=1;#IF
{@combohitkick=1 AND @comboconnect=1} {#ADD combosumrightleg 2;combohitkick=0;comboconnect=0};#IF
{@combohitpunch=1 AND @comboconnect=1} {#ADD combosumrightleg 1;combohitpunch=0;comboconnect=0};#IF
{@combosumrightleg>=5} {#SHOW %ansi(bold,magenta)RIGHT LEG IS A COMBO AWAY!!!};#SHOW @combosumrightleg "HITS ON RIGHT LEG"}
#TRIGGER {^{He|She}
connects to the left leg!$} {comboconnect=1;#IF
{@combohitkick=1 AND @comboconnect=1} {#ADD combosumleftleg 2;combohitkick=0;comboconnect=0};#IF
{@combohitpunch=1 AND @comboconnect=1} {#ADD combosumleftleg 1;combohitpunch=0;comboconnect=0};#IF
{@combosumleftleg>=5} {#SHOW %ansi(bold,magenta)LEFT LEG IS A COMBO AWAY!!!};#SHOW @combosumleftleg "HITS ON LEFT LEG"}
#TRIGGER {^{He|She}
misses *$} {comboconnect=0}
#TRIGGER {^The bones in your right arm mend.$} {combosumrightarm=""}
#TRIGGER {^The bones
in your left arm mend.$} {combosumleftarm=""}
#TRIGGER {^The bones in your right leg mend.$} {combosumrightleg=""}
#TRIGGER
{^The bones in your left leg mend.$} {combosumleftleg=""}
#CLASS 0
WRITHING SCRIPT:
Ok, this one is not written by me, and I don't use it, but it was helpful for a very long time.
#CLASS {Entanglement}
#VAR writhing {0} {0}
#VAR writhe {1} {0}
#VAR bound {0} {0}
#VAR webbed {0} {0}
#VAR
ropes {0} {0}
#VAR transfixed {0} {0}
#VAR impaled {0} {0}
#TRIGGER {^You have been bound by invisible ropes!$} {#cw
white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^entangled in ropes.$} {#var ropes 1;#var
writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^You begin to struggle free of your entanglement.$} {#var writhing 1}
#TRIGGER
{^You twist and turn as you attempt to escape from your entanglement.$} {#var writhing 1}
#TRIGGER {^You have writhed free
of your entanglement by ropes.$} {#cw blue,bold;#var ropes 0;#var writhing 0;#if (@bound = 1 OR @impaled = 1 OR @ropes = 1
OR @transfixed = 1 OR @webbed = 1) {writhe}}
#TRIGGER {^entangled in strands of webbing.$} {#var webbed 1;#var writhe 1;#if
(@writhing = 0) {writhe}}
#TRIGGER {^Sticky strands of webbing cling to you, making that impossible.$} {#cw white,bold;#var
webbed 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^You have writhed free of your entanglement by webs.$} {#cw
blue,bold;#var webbed 0;#var writhing 0;#if (@bound = 1 OR @impaled = 1 OR @ropes = 1 OR @transfixed = 1 OR @webbed = 1) {writhe}}
#TRIGGER
{^bound and tied.$} {#var bound 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^You have writhed free of your
entanglement by tied ropes.$} {#cw blue,bold;#var bound 0;#var writhing 0;#if (@bound = 1 OR @impaled = 1 OR @ropes = 1 OR
@transfixed = 1 OR @webbed = 1) {writhe}}
#TRIGGER {^(*) quickly binds up your hands and feet, leaving you helpless.$}
{#cw white,bold;#var bound 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^You are too tangled up to do that.$}
{#cw white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^A choke creeper lashes out at you with
a vine and wraps it tightly around you.$} {#cw white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER
{^Sticky strands of webbing spray out from (*) to cover you.$} {#cw white,bold;#var webbed 1;#var writhe 1;#if (@writhing
= 0) {writhe}}
#TRIGGER {^Lachesis the Spider Queen shoots out a mass of sticky webbing at you.$} {#cw white,bold;#var
webbed 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^With blinding speed, (*) transfixes you with a swirling
pattern of fire } {#cw white,bold;#var transfixed 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^The guardian
spider quickly points its backside at you and shoots an incredibly$} {#cw white,bold;#var webbed 1;#var writhe 1;#if (@writhing
= 0) {writhe}}
#TRIGGER {^You begin to writhe helplessly, throwing your body off balance.$} {#var bound 0;#var impaled
0;#var ropes 0;#var transfixed 0;#var webbed 0;#var writhe 0}
#TRIGGER {^You have writhed free of your state of transfixation.$}
{#cw blue,bold;#var transfixed 0;#var writhing 0;#if (@bound = 1 OR @impaled = 1 OR @ropes = 1 OR @transfixed = 1 OR @webbed
= 1) {writhe}}
#TRIGGER {^You are transfixed and cannot do that. You must writhe to escape.$} {#cw white,bold;#var transfixed
1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^It throws strands of sticky webbing over you.$} {#cw white,bold;#var
webbed 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^Your attention is grabbed and held by a fascinating butterfly-like
rune.$} {#cw white,bold;#var transfixed 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^You begin to trying to
wrest your mind free of that which has transfixed it.$} {#var writhing 1;#var transfixed 1}
#TRIGGER {^You continue trying
to wrest your mind free.$} {#var writhing 1;#var transfixed 1}
#TRIGGER {^(*) draws his blade back and plunges it deep
into your helpless body $} {#cw white,bold;#var impaled 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^Your health
continues to drain away as your impaled body shudders on the end of$} {#var impaled 1;#var writhing 1}
#TRIGGER {^With
an heroic effort you manage to writhe yourself free from the weapon that $} {#cw blue,bold;#var impaled 0;#var writhing 0;#if
(@bound = 1 OR @impaled = 1 OR @ropes = 1 OR @transfixed = 1 OR @webbed = 1) {writhe}}
#TRIGGER {^You are bedazzled by
the sight of a huge gossamer butterfly fluttering wildly.$} {#cw white,bold;#var transfixed 1;#var writhe 1;#if (@writhing
= 0) {writhe};blind} "" {disable}
#TRIGGER {^transfixed.$} {#cw white,bold;#var transfixed 1;#var writhe 1;#if (@writhing
= 0) {writhe}}
#TRIGGER {^A pair of vines suddenly lashes out from the undergrowth to entangle you!$} {#cw white,bold;#var
ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^Your legs are tangled in a mass of rope and you cannot move.$}
{#cw white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^The daegger has looped around and dives
toward your shadow} {#cw white,bold;#var impaled 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^A {huge|large|medium}
pulsating spider sprays you with a sticky webbing, } {#color white,bold;#var webbed 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER
{^(*) hurls a tarot card with the image of the Hanged Man } {#cw white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0)
{writhe}}
#TRIGGER {^You spring a trap!! A loop of rope entwines around you, pulling you off your $} {#cw white,bold;#var
ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^You slam into his braced a hunter's spear with a scream
of pain.$} {#cw white,bold;#var impaled 1;#var writhe 1;#if (@writhing = 0) {writhe}}
#TRIGGER {^Your body is too unbalanced
to be able to writhe free of the weapon.$} {#cw white,bold;#var impaled 1;#var writhe 1;#if (@writhing = 0) {#temp {^You have
recovered balance on all limbs.$} {writhe}}}
#TRIGGER {^You begin to writhe furiously to escape the blade that has impaled
you.$} {#var writhing 1;#var impaled 1}
#CLASS 0
#VAR bound {0} {0} "Entanglement"
#VAR impaled {0} {0} "Entanglement"
#VAR ropes {0} {0} "Entanglement"
#VAR
transfixed {0} {0} "Entanglement"
#VAR webbed {0} {0} "Entanglement"
#VAR writhe {1} {0} "Entanglement"
#VAR writhing
{0} {0} "Entanglement"
#TRIGGER {^(*) draws his blade back and plunges it deep into your helpless body $} {#cw white,bold;#var
impaled 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^(*) hurls a tarot card with the image of
the Hanged Man } {#cw white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^(*)
quickly binds up your hands and feet, leaving you helpless.$} {#cw white,bold;#var bound 1;#var writhe 1;#if (@writhing =
0) {writhe}} "Entanglement"
#TRIGGER {^A choke creeper lashes out at you with a vine and wraps it tightly around you.$}
{#cw white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^A pair of vines suddenly
lashes out from the undergrowth to entangle you!$} {#cw white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}}
"Entanglement"
#TRIGGER {^A {huge|large|medium} pulsating spider sprays you with a sticky webbing, } {#color white,bold;#var
webbed 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^bound and tied.$} {#var bound 1;#var writhe
1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^entangled in ropes.$} {#var ropes 1;#var writhe 1;#if (@writhing
= 0) {writhe}} "Entanglement"
#TRIGGER {^entangled in strands of webbing.$} {#var webbed 1;#var writhe 1;#if (@writhing
= 0) {writhe}} "Entanglement"
#TRIGGER {^It throws strands of sticky webbing over you.$} {#cw white,bold;#var webbed 1;#var
writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^Lachesis the Spider Queen shoots out a mass of sticky
webbing at you.$} {#cw white,bold;#var webbed 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^Sticky
strands of webbing cling to you, making that impossible.$} {#cw white,bold;#var webbed 1;#var writhe 1;#if (@writhing = 0)
{writhe}} "Entanglement"
#TRIGGER {^Sticky strands of webbing spray out from (*) to cover you.$} {#cw white,bold;#var webbed
1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^The daegger has looped around and dives toward
your shadow} {#cw white,bold;#var impaled 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^The guardian
spider quickly points its backside at you and shoots an incredibly$} {#cw white,bold;#var webbed 1;#var writhe 1;#if (@writhing
= 0) {writhe}} "Entanglement"
#TRIGGER {^transfixed.$} {#cw white,bold;#var transfixed 1;#var writhe 1;#if (@writhing =
0) {writhe}} "Entanglement"
#TRIGGER {^With an heroic effort you manage to writhe yourself free from the weapon that $}
{#cw blue,bold;#var impaled 0;#var writhing 0;#if (@bound = 1 OR @impaled = 1 OR @ropes = 1 OR @transfixed = 1 OR @webbed
= 1) {writhe}} "Entanglement"
#TRIGGER {^With blinding speed, (*) transfixes you with a swirling pattern of fire } {#cw
white,bold;#var transfixed 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^You are bedazzled by
the sight of a huge gossamer butterfly fluttering wildly.$} {#cw white,bold;#var transfixed 1;#var writhe 1;#if (@writhing
= 0) {writhe};blind} "Entanglement" {disable}
#TRIGGER {^You are too tangled up to do that.$} {#cw white,bold;#var ropes
1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^You are transfixed and cannot do that. You must
writhe to escape.$} {#cw white,bold;#var transfixed 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER
{^You begin to struggle free of your entanglement.$} {#var writhing 1} "Entanglement"
#TRIGGER {^You begin to trying to
wrest your mind free of that which has transfixed it.$} {#var writhing 1;#var transfixed 1} "Entanglement"
#TRIGGER {^You
begin to writhe helplessly, throwing your body off balance.$} {#var bound 0;#var impaled 0;#var ropes 0;#var transfixed 0;#var
webbed 0;#var writhe 0} "Entanglement"
#TRIGGER {^You begin to writhe furiously to escape the blade that has impaled you.$}
{#var writhing 1;#var impaled 1} "Entanglement"
#TRIGGER {^You continue trying to wrest your mind free.$} {#var writhing
1;#var transfixed 1} "Entanglement"
#TRIGGER {^You have been bound by invisible ropes!$} {#cw white,bold;#var ropes 1;#var
writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^You have writhed free of your entanglement by ropes.$}
{#cw blue,bold;#var ropes 0;#var writhing 0;#if (@bound = 1 OR @impaled = 1 OR @ropes = 1 OR @transfixed = 1 OR @webbed =
1) {writhe}} "Entanglement"
#TRIGGER {^You have writhed free of your entanglement by webs.$} {#cw blue,bold;#var webbed
0;#var writhing 0;#if (@bound = 1 OR @impaled = 1 OR @ropes = 1 OR @transfixed = 1 OR @webbed = 1) {writhe}} "Entanglement"
#TRIGGER
{^You have writhed free of your entanglement by tied ropes.$} {#cw blue,bold;#var bound 0;#var writhing 0;#if (@bound = 1
OR @impaled = 1 OR @ropes = 1 OR @transfixed = 1 OR @webbed = 1) {writhe}} "Entanglement"
#TRIGGER {^You have writhed free
of your state of transfixation.$} {#cw blue,bold;#var transfixed 0;#var writhing 0;#if (@bound = 1 OR @impaled = 1 OR @ropes
= 1 OR @transfixed = 1 OR @webbed = 1) {writhe}} "Entanglement"
#TRIGGER {^You slam into his braced a hunter's spear with
a scream of pain.$} {#cw white,bold;#var impaled 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER
{^You spring a trap!! A loop of rope entwines around you, pulling you off your $} {#cw white,bold;#var ropes 1;#var writhe
1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^You twist and turn as you attempt to escape from your entanglement.$}
{#var writhing 1} "Entanglement"
#TRIGGER {^Your attention is grabbed and held by a fascinating butterfly-like rune.$}
{#cw white,bold;#var transfixed 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"
#TRIGGER {^Your body is too
unbalanced to be able to writhe free of the weapon.$} {#cw white,bold;#var impaled 1;#var writhe 1;#if (@writhing = 0) {#temp
{^You have recovered balance on all limbs.$} {writhe}}} "Entanglement"
#TRIGGER {^Your health continues to drain away as
your impaled body shudders on the end of$} {#var impaled 1;#var writhing 1} "Entanglement"
#TRIGGER {^Your legs are tangled
in a mass of rope and you cannot move.$} {#cw white,bold;#var ropes 1;#var writhe 1;#if (@writhing = 0) {writhe}} "Entanglement"