; variable definitions ; SHOULD BE LOADED LAST!!!! /def onoffvar = /eval /set %%1 %%{%{1}-%{2}} %; /def get_%1 = /echo $$[%{1}?"on":"off"] %; /alias %1 /set %1 $$[%{1}?"0":"1"]%%;/blueecho Variable (%1) is $$(/get_%1)%%; /if (list("-s ^%1$$")) /%1 %%*%%;/endif%;/eval /if (list("-s ^%1$$")) /%1%%;/endif /def truefalsevar = /eval /set %%1 %%{%{1}-%{2}} %; /def get_%1 = /echo $$[%{1}?"true":"false"] %; /alias %1 /set %1 $$[%{1}?"0":"1"]%%;/blueecho Variable (%1) is $$(/get_%1)%%; /if (list("-s ^%1$$")) /%1 %%*%%;/endif%;/eval /if (list("-s ^%1$$")) /%1%%;/endif /def get_alias_body = /echo /alias vars /blueecho *=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=*%; /blueecho * TinyFuge Variable Settings *%; /blueecho lasthps %{lasthps} hps %{hps} dmg %{dmg} maxhps %{maxhps} %; /blueecho lastsps %{lastsps} sps %{sps} spcost %{spcost} maxsps %{maxsps} %; /blueecho Mob in Room? (mobsinroom) %{mobsinroom} %; /blueecho Player in Room? (playersinroom) %{playersinroom} %; /blueecho Combat? (combat) %{combat} %; /blueecho Moving? (moving) %{moving}%; /blueecho Hopping on mob number: (mobNum) %{mobNum} %; /blueecho Auto Cast Spells (acast) $(/get_acast) %; /blueecho Auto absorb corpse on kill? (acorpse) $(/get_acorpse) %; /blueecho Auto divvy coins on kill? (adivvy) $(/get_adivvy) %; /blueecho Auto get items on kill? (aget) $(/get_aget) %; /blueecho Autoheal mode? ... (aheal) $(/get_aheal) %; /blueecho Auto scan (mirrorshades)? (ascan) $(/get_ascan) %; /blueecho Beep on kill? (killbeep) $(/get_killbeep) %;; /blueecho ======== PK ========= %;; /blueecho ...Auto lose everyone (alose) $(/get_alose) %; /blueecho *=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=*%; /def alight = /if (alight) /def -p1 -mregexp -F -t'^The torch goes dark' newlight_trig = /set dark2 1%; /def -p1 -mregexp -F -t'^There is darkness as a torch goes dark' newlight_trig2 = /set dark2 1%; /else /if /ISMACRO newlight_trig%; /then /undef newlight_trig%;/endif%; /if /ISMACRO newlight_trig2%; /then /undef newlight_trig2%;/endif%; /endif /def alose = /if (alose) /def -p1 -F -t'^([A-Za-z]+) starts to follow you.' beginfollow = /eval lose $$[tolower({P1})] %; /def -p1 -F -t'^([A-Za-z]+) begins to follow Zathras.' beginfollow2 = /eval lose $$[tolower({P1})] %; /else /if /ISMACRO beginfollow%; /then /undef beginfollow%;/endif%; /if /ISMACRO beginfollow2%; /then /undef beginfollow2%;/endif%; /endif /def killblank = /if (killblank) /def -ag -t'^$$' blanklinegag %; /else /if /ISMACRO blanklinegag%; /then /undef blanklinegag%; /endif%; /endif ; Auto-vars /onoffvar abag 1 /onoffvar abagbag 0 /onoffvar abrief 0 /onoffvar acast 0 /onoffvar acorpse 1 /onoffvar pcorpse 0 /onoffvar adivvy 1 /onoffvar aget 0 ;/onoffvar aheal 1 /onoffvar alight 1 /onoffvar await 1 /onoffvar killbeep 0 /onoffvar parse 1 /onoffvar morgue 0 /onoffvar eprompt 0 /onoffvar bouncer 0 /onoffvar stepper 0 /onoffvar alose 0 ; configure for solo killing /alias solovars /set apeace 0%;/set asp 1%;/set alshield 1%;/set amed 1%;/set acorpse 1%; /alias tankvars /set apeace 0%;/set asp 0%;/set alshield 1%;/set amed 1%;/set acorpse 0%; /alias strikevars /set apeace 1%;/set asp 0%;/set alshield 1%;/set amed 1%;/set acorpse 0%; ;/def -F -t"^A small beam of light is emitted from the assimilator and scans$" gencorpse = /gotcorpse ;/def -F -t"^[A-Z][a-z]+ begins? a soft incantation. [A-Za-z ]+'s minute remaining life$" bardcorpse2 = /gotcorpse ;/def -F -t"^[A-Z][a-z]+ plays? a death dirge for the fallen corpse\. The corpse slowly$" bardcorpse = /gotcorpse ;/def -F -t"^[A-Za-z ]+takes The [a-z, ]+freshly slain corpse of$" mobcorpse = /gotcorpse ;/def -F -t"^[A-Za-z]+ studies the damage done to the corpse in an effort to learn$" monkcorpse = /gotcorpse ;/def -F -t"^[A-Za-z]+ Main Armor comes to life as a side compartment opens and sprays$" cryocorpse = /gotcorpse ;/def -F -t"^essence of the corpse and infuses [a-z]+ form with the remaining energy$" mentalcorpse = /gotcorpse ;/def -F -t"^[A-Za-z]+ reclaims the DNA of the corpse for later study.$" gentechcorpse = /gotcorpse ;/def -F -t"^They perform a short ceremony, and the corpse is taken away.$" fremencorpse = /gotcorpse ;/def -F -t"^[A-Za-z]+ covers a corpse and it blows away on the wind.$" fremencorpse2 = /gotcorpse ;/def -F -t"^[A-Za-z]+ absorbs the remaining energy from the corpse.$" jedicorpse = /gotcorpse ;/def -F -t"^You absorb the remaining energy from the corpse.$" mycorpse = /gotcorpse ;/def -F -t"^[A-za-z]+ makes use of the remaining life energy in the corpse.$" magecorpse = /gotcorpse ;/def -F -t"^A cloud of steam escapes from the hissing pressure doors as they open$" thawedcorpse = ; /eval /set corpsesinroom $[corpsesinroom + 1] ;/def -F -t"^[A-Za-z\']+ eyes flash as [a-z]+ calls upon the forces of nature.$" witchcorpse = /gotcorpse ;/def -F -t"^[A-Za-z]+ prays to [A-Za-z]+. The corpse fades from view.$" priestcorpse = /gotcorpse ;/def -F -t"^[A-Za-z]+ devours the corpse!$" changelingcorpse = /gotcorpse ;/def -F -t"^[A-Za-z]+ buries a corpse and performs a small ritual.$" knightcorpse = /gotcorpse ;/def -F -t"^You don't have anymore room for another corpse in your CryoVault.$" cryofull = /alias corpse deener%;dr ;/def -F -t"^The corpse rots away.$" wardercorpse = /gotcorpse ;/def -F -t"^[A-Za-z]+ prepares the corpse with a mixture of ginseng and goldenrod silk.$" necrocorpse = /gotcorpse ;/def -F -t"^Powerful energy wells into the room, enveloping the corpse.$" necrocorpse2 = /gotcorpse ;/def -F -t"^[A-Za-z]+ chants softly while kneeling by the corpse.$" necrocorpse3 = /eval /set corpsesinroom $[corpsesinroom +1] ;/def -F -t"^The corpse freezes solid, then shatters, scattering crystals about.$" necrocorpse4 = /gotcorpse ;/def gotcorpse = /eval /set corpsesinroom $[corpsesinroom - 1]%;; /if (!corpsesinroom) ;; /if (abag & (acorpse | pcorpse)) bags%;/endif%;;; /if (abagbag) bags%;/endif%;; /endif%;