Little help with an npc please..

FrEeLaNcE

Dedicated Member
Dedicated Member
Jun 3, 2004
20
0
48
Hello,
Im a n00b when it comes to setting up a server (only been doing it for 3 days lol), however im picking it up pretty fast.

Im just having trouble with an NPC script i have created, could one of you brilliant scripters look over it and see where im going wrong. would be appreciated..

[@main]
Hi there <$USERNAME>\
So i hear you want to be a GM is this true?\
You may need to find a really rare item to do so.\\
<I have the item, Let me be a GM./@stone>\
<Remove my GM Items.(Make sure the items are in bag./@RemoveGM>\
<Not right now thanks!/@exit>

[@stone]
#If
checkitem GMstone
#act
goto /@gmstone
#else
goto /@stone2

[@stone2]
#if
checkitem AncienGMstone
#act
goto /@ancient
#else
goto /@end

;; they cant really be a gm lol infact the items they are getting are uberpoo

[@gmstone]
#say
I see you have a GMStone, The item you need to be a real GM\
is an AncientGMstone.\
I will give you your items, however you will not have\
the power of a real GM.\
<Continue?/@gender>\
<No thanks.../@exit>

;;this part will come into place when i make some real gm items but just a test for now

[@ancient]
#say
Wow, you have the rarest of all stones, it is priceless.\
I cannot give you the power of a GM, i beleive you already have it.
I have been holding this key for you, awaiting your return..\
What do you want to do, master?\
<Continue/@gender>\
<Not right now.../@exit>
#act
give gmkey

[@gender]
#IF
Gender man
#act
goto /@malegm
#else
goto /@femalegm

[@malegm]
#SAY
What rings would you like?\\
<FlameRing/@ring1>, <ProRing/@ring2>, <Recovery/@ring3>\
<ParalysisRing/@ring4>, <ClearRing/@ring5>\\
#act
take gmstone
Give GMArmour(M)
give GMBlade
give GMnecklace
give GmBracelet 2
give gmhelmet
goto /@malegm2

[@malegm2]
#say
And Another?\\
<FlameRing/@ring1>, <ProRing/@ring2>, <Recovery/@ring3>\
<ParalysisRing/@ring4>, <ClearRing/@ring5>
#act
goto /@finished

[@femalegm]
#SAY
What rings would you like?\\
<FlameRing/@ring1>, <ProRing/@ring2>, <Recovery/@ring3>\
<ParalysisRing/@ring4>, <ClearRing/@ring5>\\
<No more../@exit>
#act
take gmstone
Give GMArmour(F)
give GMBlade
give GMnecklace
give GmBracelet 2
give gmhelmet
goto /@femalegm2]

[@femalegm2]
#say
And Another?\\
<FlameRing/@ring1>, <ProRing/@ring2>, <Recovery/@ring3>\
<ParalysisRing/@ring4>, <ClearRing/@ring5>
<No more../@exit>
#act
goto /@finished

[@ring1]
#act
give GMFlamering


[@ring2]
#act
give GMProRing


[@ring3]
#act
give GMRevivalRing


[@ring4]
#act
give GMpararing


[@ring5]
#act
give GMclearring

[@RemoveGM]
#if
checkitem ancientgmstone
#act
takew GMclearring
takew gmpararing
takew gmrevivalring
takew gmproring
take gmflamering
takew GMArmour(F)
takew GMArmour(M)
takew GMBlade
takew GMnecklace
takew GmBracelet 2
takew gmhelmet
take gmhelmet
take GMclearring
take gmpararing
take gmrevivalring
take gmproring
take gmflamering
take GMArmour(F)
take GMArmour(M)
take GMBlade
take GMnecklace
take GmBracelet 2
take gmhelmet
#else
goto /@removegm1

[@removegm1]
#if
checkitem GMBlade
#act
give GMstone
takew GMclearring
takew gmpararing
takew gmrevivalring
takew gmproring
takew gmflamering
takew GMArmour(F)
takew GMArmour(M)
takew GMBlade
takew GMnecklace
takew GmBracelet 2
take gmhelmet
take GMclearring
take gmpararing
take gmrevivalring
take gmproring
take gmflamering
take GMArmour(F)
take GMArmour(M)
take GMBlade
take GMnecklace
take GmBracelet 2
take gmhelmet
#else
goto /@end

[@finish]
#say
Come back if you want to return your items into a stone or change them\
#act
break

[@end]
#say
You have no power here...\
#act
break



Also when the server is booting up i get:

script error: checkunit [1] 0 line:49 : C:\mirserver\Mir200\Envir\Market_Def\4Gdu-0119.txt
script error: checkunit [1] 0 line:92 : C:\mirserver\Mir200\Envir\Market_Def\4Bdm-0109.txt
script error: checkunit [1] 0 line:57 : C:\mirserver\Mir200\Envir\Market_Def\4Bdu-0108.txt
script error: checkunit [1] 0 line:89 : C:\mirserver\Mir200\Envir\Market_Def\3Bdr-0106.txt

I have never modified these files so dunno why its happening, can anyone check the lines against theit files and post the correct ones plz.

TY in advance for any replies..
 
Last edited: