PDA

View Full Version : script error that is really confusing me



mr dantes
06-10-2006, 02:47 PM
here's the section of the script:

rest:
put stance off
waitfor You are now

resting:
put spellup auto
match manawait PsiNet is done spelling you up.
match wrack You do not have enough mana
matchwait

wrack:
put h
match okwrack Remaining Spirit Points: 8
match nowrack Remaining Spirit Points: 7
match nowrack Remaining Spirit Points: 6
match nowrack Remaining Spirit Points: 5
match nowrack Remaining Spirit Points: 4
match nowrack Remaining Spirit Points: 3
match nowrack Remaining Spirit Points: 2
match nowrack Remaining Spirit Points: 1
matchwait

okwrack:
put sign of wracking
goto manawait

nowrack:
match wrack You do not feel drained anymore
match manawait PsiNet is done spelling you up.
matchwait

manawait:
waitfor You feel at full
goto start

-------------------------------------------------
and here's what it's doing:

[Script]>stance off
You are now in an offensive stance.
[Script]>spellup auto
PsiNet will now begin to spell you up.

h
You do not have enough mana. You require 8 mana to cast spell 507: Elemental Deflection, but you only have 1. Waiting for additional mana.

You have developed slurred speech.

Maximum Health Points: 62
Remaining Health Points: 62

Maximum Spirit Points: 8


GOTO label not found!

Remaining Spirit Points: 4

Maximum Stamina Points: 20
Remaining Stamina Points: 20



i'm sure i'm just overlooking somethign insignificant, so can someone check it over for me? thanks.

mr dantes
06-10-2006, 06:07 PM
yes, stupid me, i had a nowrack heading earlier in the script, problem solved.

Things2Come
06-10-2006, 10:00 PM
Goto SignDrop

SignDrop:
Match SpellCheck YOU HAVE BEEN IDLE TOO LONG. PLEASE RESPOND.
Match SpellCheck You feel drained!
#Match SpellCheck You feel less drained.
Match SpellCheck You do not feel drained anymore.
#Match SpellCheck You feel at full magical power again.
Matchwait

SpellCheck:
Match Check You cannot think of any more spells that you would cast to spellup.
Match SpellUp You determine that you would cast the following spells to spellup:
put Spellup List
Matchwait

Check:
Match Rest You must rest!
Match Rest Your mind is numbed.
Match Rest Your mind is becoming numbed.
Match ManaCheck Your mind is muddled.
Match ManaCheck Your mind is clear.
Match ManaCheck Your mind is fresh and clear.
Match ManaCheck Your mind is clear as a bell.
Match ManaCheck Your mind is as clear as a bell.
put Xp
Matchwait

Rest:
Pause 60
Goto Check

ManaCheck:
Match SpiritCheck Mana: %max%/%max% max
Match ManaWait /%max% max
put Xp
Matchwait

ManaWait:
Echo ** Waiting for Mana *
Match SpiritCheck You feel at full magical power again.
Match SpiritCheck YOU HAVE BEEN IDLE TOO LONG. PLEASE RESPOND.
Matchwait

SpiritCheck:
Match Next Remaining Spirit Points: 10
Match Next Remaining Spirit Points: 9
Match Next Remaining Spirit Points: 8
Match Next Remaining Spirit Points: 7
Match SpiritWait Remaining Spirit Points: 6
Match SpiritWait Remaining Spirit Points: 5
Match SpiritWait Remaining Spirit Points: 4
Match SpiritWait Remaining Spirit Points: 3
Match SpiritWait Remaining Spirit Points: 2
Match SpiritWait Remaining Spirit Points: 1
Match SpiritWait Remaining Spirit Points: 0
put Health
Matchwait

SpiritWait:
Echo ** Waiting for Spirit *
Match SpiritCheck You feel less drained.
Matchwait

Next:
put .%next%

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~

SpellUp:
put Spellup Auto
Goto SpellUpWatch

SpellUpWatch:
Match SpellCheck YOU HAVE BEEN IDLE TOO LONG. PLEASE RESPOND.
Match WrackCheck You do not have enough mana.
Match Check PsiNet is done spelling you up.
Matchwait

WrackCheck:
Match RoomCheck Remaining Spirit Points: 10
Match RoomCheck Remaining Spirit Points: 9
Match RoomCheck Remaining Spirit Points: 8
Match NoWrack Remaining Spirit Points: 7
Match NoWrack Remaining Spirit Points: 6
Match NoWrack Remaining Spirit Points: 5
Match NoWrack Remaining Spirit Points: 4
Match NoWrack Remaining Spirit Points: 3
Match NoWrack Remaining Spirit Points: 2
Match NoWrack Remaining Spirit Points: 1
Match NoWrack Remaining Spirit Points: 0
put Health
Matchwait

NoWrack:
Goto SpellUpWatch

RoomCheck:
Match Wrack I>
Match DoubleCheck Also here:
Match Wrack Obvious exits:
Match Wrack Obvious paths:
put look
Matchwait

DoubleCheck:
Match Wrack I>
Match Hide >
put glance
Matchwait

Hide:
Match Hide ...wait
Match Hide You fail to slip into hiding.
Match Hide You attempt to blend with the surroundings
Match Wrack A tad paranoid, aren't we?
put hide
Matchwait

Wrack:
put Sign Wracking
Goto SpellUpWatch