Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- debuglevel 5
- base script
- goto end.of.script
- var hum jig
- COMBAT.ACTIONS:
- action goto HIDING when eval $stamina < 50
- action goto ESCAPE when ESCAPE.PLZ|123456
- action goto ESCAPE when eval $health < 75
- action goto ESCAPE when eval $bleeding = 1
- action goto ESCAPE when ^\[You're.*beat up
- action goto ESCAPE when ^\[You're.*very beat up
- action goto ESCAPE when ^You are carrying between 400
- action goto ESCAPE when ^Feeling depressed\?
- action goto STUNNED when ^\[You're.*badly hurt
- action goto STUNNED when ^\[You're.*very badly hurt
- action goto STUNNED when ^\[You're.*smashed up
- action goto STUNNED when ^\[You're.*terribly wounded
- action goto STUNNED when ^\[You're.*near death
- action goto STUNNED when \[You're.*in death's grasp
- action goto DEPART when eval $dead = 1
- action goto DEPART when ^Your death cry echoes in your brain
- action goto DEPART when ^You feel yourself falling...
- action goto DEPART when ^You feel like you're dying!
- action goto DEPART when ^You are dead
- action goto DEPART when ^The dead can't dance!
- action goto DEPART when ^You are a ghost\! You must wait until someone resurrects you, or you decay\.
- RETURN
- HIDING:
- pause .3
- put .hiding
- retreat:
- matchre retreat ^You retreat from combat\.
- matchre retreat ^You retreat back to pole range\.
- matchre retreat ^You stop advancing
- matchre retreat ^You sneak back out
- matchre retreat ^You must stand first\.
- matchre return ^You are already as far away as you can get\!
- matchre return ^You try to
- matchre return revealing your hiding place\!
- put retreat
- return
- ARMOR.SETUP.1:
- var CHEST.ARMOR leathers
- var HEAD.ARMOR cowl
- var HAND.ARMOR Gloves
- var SHIELD buckler
- return
- REMOVE.ARMOR:
- pause .1
- pause .1
- put rem my %HAND.ARMOR
- gosub STOW.HAND.ARMOR
- pause .5
- put rem my %SHIELD
- gosub STOW.SHIELD
- pause 0.5
- put rem my %CHEST.ARMOR
- gosub STOW.CHEST.ARMOR
- pause 0.2
- put rem my %HEAD.ARMOR
- gosub STOW.HEAD.ARMOR
- wait .3
- put put my %HEAD.ARMOR in my bag
- pause 0.2
- put put my %CHEST.ARMOR in my bag
- wait .2
- put put my %HAND.ARMOR in my bag
- pause .3
- put put my %SHIELD in my bag
- pause .2
- RETURN
- WEAR.ARMOR:
- put get my %SHIELD
- wait .3
- put wear my %SHIELD
- wait
- pause 0.5
- put get my %CHEST.ARMOR
- put wear my %CHEST.ARMOR
- wait
- pause 0.1
- put get my %HEAD.ARMOR
- put wear my %HEAD.ARMOR
- wait
- pause 0.2
- put get my %HAND.ARMOR
- put wear my %HAND.ARMOR
- RETURN
- STOW.HAND.ARMOR:
- PUT Stow %HAND.ARMOR in my backpack
- return
- STOW.SHIELD:
- put put my shield in my back
- return
- STOW.CHEST.ARMOR:
- Put stow %CHEST.ARMOR in my backpack
- return
- STOW.HEAD.ARMOR:
- put stow %HEAD.ARMOR in my backpack
- return
- return:
- pause 0.1
- RETURN
- FAVOR:
- put wear my %SHIELD
- wait .4
- put put my sabre in my harn
- wait .3
- put put my stiletto in my harn
- wait .3
- put .crossfav
- RETURN
- EXIT:
- Wait 150000
- goto Start
- DEPART:
- put depart full
- wait 150
- put stand
- wait 150
- put stand
- pause .5
- put look
- if contains("$roomname", "Dirge, Temple Altar") then goto DIRGE.TEMPLE
- if contains("$roomname", "Resurrection Creche, Li Stil rae Kwego ia Kweld") then goto CROSS.TEMPLE
- STUNNED:
- put #echo >Log Red STUNNED!! Logging out for 5 minutes..
- var escape.loop 0
- put exit
- put exit
- put #beep
- pause .5
- put exit
- put #beep
- pause .5
- put exit
- put #beep
- action remove connection lost|Socket Error|connection dropped|connection closed|ReceiveCallback Exception|Unable to contact Genie Key server
- action goto CONNECTED when You look around, taking a moment to get your bearings.
- pause 0.2
- put exit
- put exit
- pause 0.5
- pause 0.2
- math LOGOUT add 1
- echo
- echo *** 5 MINUTES LEFT ***
- echo
- pause 300
- echo
- echo *** 1 MINUTE LEFT ***
- echo
- pause 30
- echo
- echo *** LOGGING BACK IN! BE CAREFUL! ***
- echo
- goto STUN.CONNECT
- STUN.CONNECT:
- echo *** You have been stunned out. Attempting to reconnect ***
- put #echo >Log Red *** Attempting to reconnect after stun ***
- action goto STUN.CONNECTED when You look around, taking a moment to get your bearings.
- goto stun.connecting
- STUN.CONNECTING:
- put #connect
- pause 40
- put #echo >Log Red *** FAIL!
- goto STUN.CONNECTING
- STUN.CONNECTED:
- Echo *** You have been Reconnected, NOW GO GET HEALED! ***
- put #echo >Log Lime *** Reconnected after stun... getting healed.. ***
- action goto CONNECT when connection lost|Socket Error|connection dropped|connection closed|ReceiveCallback Exception|Unable to contact Genie Key server|Connect faileded
- action remove You look around, taking a moment to get your bearings.
- gosub STAND
- goto ESCAPE
- CONNECT:
- pause
- echo
- echo *** YOU HAVE BEEN DISCONNECTED! Attempting to reconnect in 60 seconds.. ***
- echo
- put #echo >Log Red *** Disconnected... Attempting to reconnect ***
- action goto CONNECTED when You look around, taking a moment to get your bearings.
- pause 60
- goto CONNECTING
- CONNECTING:
- put #connect
- pause 30
- put #echo >Log Red *** FAIL!
- goto CONNECTING2
- CONNECTING2:
- put #connect
- pause 60
- goto CONNECTING
- CONNECTED:
- Echo *** You have been Reconnected ***
- put #echo >Log Lime *** Reconnected! - Restarting script. ***
- action PAUSE You look around, taking a moment to get your bearings.
- goto TOP
- remove:
- var location remove1
- var todo $0
- remove1:
- matchre return ^You take
- matchre return ^You slide
- matchre return ^You sling
- matchre return ^Roundtime
- matchre return ^You remove
- matchre return ^You pull off
- matchre return ^You pull your
- matchre return ^Remove what\?
- matchre return ^You count out
- matchre return ^You work your way out of
- matchre return ^You aren't wearing that\.
- matchre return ^What were you referring to\?
- matchre return ^You loosen the straps securing
- put remove %todo
- goto retry
- get:
- var location get1
- var todo $0
- get1:
- matchre return ^You get
- matchre return ^You pull
- matchre return ^You pick up
- matchre return ^What were you referring to\?
- matchre return ^You are already holding that\.
- matchre return ^You need a free hand to pick that up\.
- matchre return ^But that is already in your inventory\.
- matchre return ^You fade in for a moment as you pick up
- matchre return ^You are not strong enough to pick that up\!
- put get %todo
- matchwait
- retry:
- matchre location ^\.\.\.wait
- matchre location ^Sorry, you may
- matchre location ^Sorry, system is slow
- matchre location ^You don't seem to be able to move to do that
- matchre location.p ^It's all a blur
- matchre location.p ^You're unconscious\!
- matchre location.p ^You are still stunned
- matchre location.p There is no need for violence here\.
- matchre location.p ^You can't do that while entangled in a web
- matchre location.p ^You struggle against the shadowy webs to no avail\.
- matchre location.p ^You attempt that, but end up getting caught in an invisible box\.
- matchre location1 ^You should stop playing before you do that\.
- matchre location1 ^You are a bit too busy performing to do that\.
- matchre location1 ^You are concentrating too much upon your performance to do that\.
- matchwait
- location1:
- GOSUB stop.humming1
- goto %location
- location.p:
- pause
- location:
- pause .3
- goto %location
- stop.humming:
- var location stop.humming
- stop.humming1:
- matchre return ^You stop playing your song\.
- matchre return ^In the name of love\?
- put stop hum
- goto retry
- ESCAPE:
- put stow left
- pause .3
- put stow right
- pause .3
- Put Retreat
- matchre stand ^You must stand first
- matchre ESCAPE ^You retreat back to pole range
- matchre RUNNING ^You retreat from combat
- matchwait
- STAND:
- if standing then return
- var location STAND1
- stand1:
- pause 0.1
- if $standing = 0 then put dance
- if $standing = 0 then put stand
- pause 0.1
- matchre return ^You stand back up\.
- matchre return ^You swim back up
- matchre return ^You are already standing\.
- matchre return ^You're unconscious
- matchre stand1 ^You are so unbalanced you cannot manage to stand\.
- matchre stand1 ^You are overburdened and cannot manage to stand\.
- matchre stand1 ^The weight of all your possessions prevents you from standing\.
- matchre stand1 ^Roundtime
- matchre DEPART ^You are a ghost
- matchre STAND ^You are still stunned
- put stand
- goto RETRY
- BANK.DEPOSIT:
- put deposit all
- wait 2
- gosub move 42
- waitfor YOU HAVE ARRIVED
- return
- GEM.SWAPING:
- wait 1
- put .gemswap
- waitforre DONE SWAPPING GEMS
- return
- GEM.SELLING:
- put .sellgem
- waitfor ^DONE SELLING GEMS|DONE SELLING GEMS
- return
- ############################
- # GET HEALED SECTION #
- ############################
- HEALING:
- GET.HEALED:
- pause .5
- pause .5
- HEALTH.CHECK:
- matchre HEAL.DONE You have no significant injuries
- matchre HEAL1 minor abrasions|scratches|cuts|bruises|slashes|crushed|holes|shattered|destroyed|torn|difficulty breathing
- matchre HEAL1 scarring|gashes|malformed|twitch|twitching|numbness|battered|beat up|bad shape|poisoned|disease|bleeding
- put health
- matchwait 20
- goto HEAL1
- HEAL1:
- if "%HEALWAIT" = "YES" then
- {
- pause 15
- }
- matchre HEALWAIT I will now heal|I am preparing to heal|You are all healed|All clean|You are healed
- matchre HEAL2 try again|cleaning up|busy|still healing myself|try again|check back|I could not find|blacklisted|Please wait
- put lean sawbone
- matchwait 12
- goto HEAL2
- HEAL2:
- pause .5
- matchre HEALWAIT I will now heal|I am preparing to heal|All clean|You are healed|You are all healed
- matchre HEAL3 try again|cleaning up|busy|still healing myself|try again|check back|I could not find|blacklisted|Please wait
- put lean beerfest
- matchwait 12
- goto HEAL3
- HEAL3:
- matchre HEALWAIT I will now heal|I am preparing to heal|All clean|You are healed|You are all healed
- matchre GET.HEALED.LOOP try again|cleaning up|busy|still healing myself|try again|check back|I could not find|blacklisted|Please wait
- put lean gator
- matchwait 12
- goto HEAL1
- HEALWAIT:
- put hum jig
- matchre HEALTH.CHECK.1 If your still hurt wait till I heal
- matchre HEAL.DONE all healed|All clean|You are healed|nods to you
- matchwait 120
- goto HEAL.DONE
- GET.HEALED.LOOP:
- if %EMPATH.LOOP = ON then goto GO.AUTOPATH
- echo *** Empaths are all busy or missing... pausing..
- pause 30
- var EMPATH.LOOP ON
- goto GET.HEALED
- GO.AUTOPATH:
- put #echo >Log Hotpink ** Using NPC Empath
- echo NO EMPATHS! AUTOHEALING!!
- goto AUTOPATH
- TO.HEALER:
- AUTOPATH:
- var LAST DISARMING
- if "$zoneid" == "TF1" then gosub BANK.MOVE.FROM.ARCH
- pause .5
- pause .1
- gosub move 458
- pause .5
- put join list
- wait 2
- send fall
- pause
- action goto AUTOPATH.LEAVE when You have no significant injuries|Please get up and out of here|Kindly leave, I have other patients to help
- AUTOPATH.WAIT:
- action goto AUTOPATH.LEAVE when You have no significant injuries|Please get up and out of here|Kindly leave, I have other patients to help
- if $sitting = 1 then goto AUTOPATH.LEAVE
- put hum $hum
- put health
- goto AUTOPATH.WAIT
- AUTOPATH.LEAVE:
- action remove You have no significant injuries|Please get up and out of here|Kindly leave, I have other patients to help
- put #script abort
- pause .1
- GOSUB STAND
- pause .1
- pause .2
- var HEALING NO
- put #echo >Log Fuchsia ** GOT HEALED VIA NPC
- send out
- pause .5
- pause .5
- gosub move 467
- waitfor YOU HAVE ARRIVED
- gosub move 9
- waitfor YOU HAVE ARRIVED
- HEALTH.CHECK.1:
- var HEALWAIT YES
- goto HEALTH.CHECK
- HEAL.DONE:
- put #echo >Log HotPink *** GOT HEALED!
- put #math HEALING_LOOP add 1
- var HEALWAIT NO
- ECHO ***** HEALED ******
- gosub BANK.MOVE.FROM.ARCH
- gosub MOVE.HUNTING.AFTER.HEAL
- goto TOP
- ############################
- ## MOVEMENTS TO AND FROM ##
- ## MOVE GOSUB ##
- ############################
- SELL.BUNDLE.MOVE:
- gosub move 349
- wait .5
- gosub move 220
- wait .5
- put sell my bun
- wait .3
- put rope in my back
- wait .3
- put get my bun
- wait .3
- put sell my bun
- wait .3
- put rope in my back
- wait .3
- put get my bun
- wait .3
- put sell my bun
- wait .3
- put rope in my back
- wait .3
- goto GEM.SWAPING
- ROOM.CHECK:
- if "$roomid" = "0" then gosub moveRandomDirection
- pause 0.5
- RETURN
- DISARM.CROSS.MOVE:
- gosub move 467
- pause .5
- gosub move 9
- pause .5
- goto DISARM
- DISARM.RATHA.MOVE:
- goto DISARM
- ARCH.MOVE.FROM.BANK:
- gosub move 467
- pause .5
- gosub move 9
- pause .5
- return
- BANK.MOVE.FROM.ARCH:
- gosub move 6
- pause .5
- put go door
- pause 2
- gosub move 42
- pause .5
- return
- GOING.HUNTING.CROSS:
- if "$zoneid" = "1" then goto MOVE.HUNTING.CROSS
- if "$zoneid" = "90" then goto MOVE.HUNTING.RATHA
- MOVE.HUNTING:
- if "$zoneid" = "1" then goto MOVE.HUNTING.CROSS
- if "$zoneid" = "90" then goto MOVE.HUNTING.RATHA
- MOVE.HUNTING.AFTER.HEAL:
- gosub move 171
- pause .5
- gosub move 444
- pause .5
- return
- MOVE.HUNTING.CROSS:
- gosub move 171
- pause .5
- gosub move 444
- pause .5
- goto COMBAT
- MOVE.HUNTING.RATHA:
- RUNNING:
- if "$zoneid" = "1" then goto CROSS.HEAL
- if "$zoneid" = "12" then goto CROSS.HEAL.MOVE.REAVER
- if "$zoneid" = "7" then goto CROSS.HEAL.MOVE.TROLL
- return 15
- goto running
- CROSS.RUN:
- if "$roomid" = "40" then goto CROSS.RUN.MOVE.REAVER
- if "$roomid" = "444" then goto CROSS.RUN.MOVE.TROLL
- return 15
- goto CROSS.RUN
- CROSS.MOVE.BANK:
- gosub move 42
- pause .5
- goto END
- CROSS.RUN.MOVE.TROLL:
- gosub move 349
- pause .5
- gosub move 42
- pause .5
- return
- CROSS.RUN.MOVE.REAVER:
- gosub move 48
- pause .5
- gosub move 349
- pause .5
- gosub move 42
- pause .5
- return
- CROSS.HEAL:
- gosub move arch
- pause .5
- gosub move 9
- pause .5
- gosub HEALING
- CROSS.HEAL.MOVE.REAVER:
- gosub move 48
- pause .5
- gosub move 349
- pause .5
- gosub ARCH.MOVE.FROM.BANK
- pause .5
- Gosub HEALING
- CROSS.HEAL.MOVE.TROLL:
- gosub move 349
- pause .5
- gosub ARCH.MOVE.FROM.BANK
- pause .5
- Gosub HEALING
- DISARM.RUN:
- gosub CROSS.RUN.MOVE.TROLL
- pause .5
- gosub ARCH.MOVE.FROM.BANK
- pause .5
- goto DISARM
- DIRGE.TEMPLE:
- gosub move 71
- pause .5
- gosub move 349
- pause .5
- gosub ARCH.MOVE.FROM.BANK
- pause .5
- gosub HEALING
- CROSS.TEMPLE:
- gosub move 3
- pause .5
- gosub ARCH.MOVE.FROM.BANK
- pause .5
- gosub HEALING
- move.retry:
- math move.retry add 1
- if %move.retry > 5 then goto move.fail
- echo ***
- echo *** Retrying move to $1 $2 in %move.retry second(s).
- echo ***
- pause %move.retry
- goto move.goto
- move:
- var move.skip 0
- var move.retry 0
- var move.fail 0
- var move.room $0
- move.goto:
- matchre move.return ^YOU HAVE ARRIVED
- matchre move.skip ^SHOP CLOSED
- matchre move.retry ^MOVE FAILED
- matchre move.fail ^DESTINATION NOT FOUND
- put #goto %move.room
- matchwait
- move.fail:
- var move.fail 1
- goto move.return
- move.skip:
- var move.skip 1
- move.return:
- return
- moveRandomDirection:
- if $north then
- {
- put north
- return
- }
- if $northeast then
- {
- put northeast
- return
- }
- if $east then
- {
- put east
- return
- }
- if $southeast then
- {
- put southeast
- return
- }
- if $south then
- {
- put south
- return
- }
- if $southwest then
- {
- put southwest
- return
- }
- if $west then
- {
- put west
- return
- }
- if $northwest then
- {
- put northwest
- return
- }
- if $out then
- {
- put out
- return
- }
- if $up then
- {
- put up
- return
- }
- if $down then
- {
- put down
- return
- }
- echo no random direction possible? looking to attempt to reset room exit vars
- #might need a counter here to prevent infinite loops
- put look
- waitforre ^Obvious
- pause
- goto moveRandomDirection
- end.of.script:
Add Comment
Please, Sign In to add comment