NPC I just Wrote

Desolation Mir2 (Med Rate Server)

Nicky

LOMCN Veteran
Veteran
Apr 21, 2006
416
0
43
Swansea, South Wales
Can anyone fix some errors in here, its my first written NPC and I know theres a few mistakes but im not sure whats wrong.

[@main]
Welcome To HeavensGuards Palace!
I would like to welcome you here, please look
around and don't forget to buy from here, everything
is cheaper than normal shops.
<What can I get here?/@Next> <Thanks!/@exit>

[@Next]
You can get the following items, I must tell you
that all the items in the Palace may not be on my
list.
<Armours/@Next-1> <Weapons/@Next-2>
<Stones/@Next-3> <Other/@Next-4>
<Can you spawn Boss mobs?/@Next-5> <I'm alright thanks./@exit>

[@Next-1]
Fine choice of armours here, choose them wisely!
<MiR Armour (M)/@give MirArmour(M)> <MiR Armour (F)/@give MirArmour(F)>
<Heaven Armour (M)/@give HeavenArmour(M)> <Heaven Armour (F)/@give HeavenArmour(F)>
<Back/@Next> <Thank You!/exit>

[@Next-2]
So, <$USERNAME> have you got your armour?
Now lets get your Weapon!
<MiR Sword/@give MiRSword> <Heaven Sword/@give HeavenSword>
<Heavens Secret/@give HeavensSecret> <MiR Mace/@give MiRMace>
<Back/@Next> <Thank You!/exit>

[@Next-3]
<Holy MC Stone/@give HolyMCStone> <Holy SC Stone/@give HolySCStone>
<Holy DC Stone/@give HolyDCStone> <Heavens Stone/@give HeavensStone>
<Back/@Next> <Thank You!/exit>

[@Next-4]
Here I can provide you with a selection from items such
as Horses, Wings, Rings, Bracelets, Necklaces, Boots, Belts
and many other stuff, but my power is limited to only a few
of those items. Most are on-sale in the Palace anyway.
<Teleport Ring/@give TeleportRing> <Protection Ring/@give ProtectionRing>
<Elephant/@give Elephant> <Heavens Wings/@give HeavensWings>
<Back/@Next> <Thank You!/exit>

[@Next-5]
I must warn you <$USERNAME>, I have no power to tame these monsters if
you need any help, you are on your own once they have been
created. My brother in Bichon-Wall can Tame Monsters,
maybe you have seen him around.
<BoneLord/@spawn BoneLord> <ZumaTaurus/@spawn ZumaTaurus>
<Red Moon Evil/@spawn RedMoonEvil> <GM Pet/@spawn GMPet>
<Back/@Next> <Thanks Alot!!/@exit>
 

niss

Golden Oldie
Golden Oldie
Jul 11, 2004
680
1
105
[@main]
Welcome To HeavensGuards Palace!\
I would like to welcome you here, please look\
around and don't forget to buy from here, everything\
is cheaper than normal shops.\ \
<What can I get here?/@Next> <No Thanks!/@exit>

[@Next]
You can get the following items, I must tell you\
that all the items in the Palace may not be on my\
list.\
<Armours/@Next-1> <Weapons/@Next-2> \
<Stones/@Next-3> <Other/@Next-4>\
<Can you spawn Boss mobs?/@Next-5> <I'm alright thanks./@exit>

[@Next-1]
Fine choice of armours here, choose them wisely!\
<MiR Armour (M)/@give MirArmour(M)> <MiR Armour (F)/@give MirArmour(F)>\
<Heaven Armour (M)/@give HeavenArmour(M)> <Heaven Armour (F)/@give HeavenArmour(F)>\ \
<Back/@Next> <Thank You!/exit>

[@Next-2]
So, <$USERNAME> have you got your armour?\
Now lets get your Weapon!\
<MiR Sword/@give MiRSword> <Heaven Sword/@give HeavenSword>\
<Heavens Secret/@give HeavensSecret> <MiR Mace/@give MiRMace>\ \
<Back/@Next> <Thank You!/exit>

[@Next-3]
<Holy MC Stone/@give HolyMCStone> <Holy SC Stone/@give HolySCStone>\
<Holy DC Stone/@give HolyDCStone> <Heavens Stone/@give HeavensStone>\ \
<Back/@Next> <Thank You!/exit>

[@Next-4]
Here I can provide you with a selection from items such\
as Horses, Wings, Rings, Bracelets, Necklaces, Boots, Belts\
and many other stuff, but my power is limited to only a few\
of those items. Most are on-sale in the Palace anyway.\
<Teleport Ring/@give TeleportRing> <Protection Ring/@give ProtectionRing>\
<Elephant/@give Elephant> <Heavens Wings/@give HeavensWings>\ \
<Back/@Next> <Thank You!/exit>

[@Next-5]
I must warn you <$USERNAME>, I have no power to tame these monsters if\
you need any help, you are on your own once they have been\
created. My brother in Bichon-Wall can Tame Monsters,\
maybe you have seen him around.\
<BoneLord/@spawn_BoneLord> <ZumaTaurus/@spawn_ZumaTaurus>\
<Red Moon Evil/@spawn_RedMoonEvil> <GM Pet/@spawn_GMPet>\ \
<Back/@Next> <Thanks Alot!!/@exit>

Besides a couple of minor changes i made its not bad for ur first attempt :)

Dont forget to put \ at the end of each line to indicate that it has to put the next bit on the following line and not all on the same line :)
 
Last edited:
Upvote 0

spunky05

LOMCN Veteran
Veteran
Loyal Member
Oct 7, 2003
271
1
95
Smallville
Code:
[@main]
Welcome To HeavensGuards Palace!\
I would like to welcome you here, please look\
around and don't forget to buy from here, everything\
is cheaper than normal shops.\
<What can I get here?/@Next> <Thanks!/@exit>\

[@Next]
You can get the following items, I must tell you\
that all the items in the Palace may not be on my\
list.\
<Armours/@Next-1> <Weapons/@Next-2> \
<Stones/@Next-3> <Other/@Next-4>\
<Can you spawn Boss mobs?/@Next-5> <I'm alright thanks./@exit>\

[@Next-1]
Fine choice of armours here, choose them wisely!\
<Mir Armour(M)/@mirarmourm> <Mir Armour(F)/@mirarmourf>\
<Heaven Armour(M)/@heavenarmourm> <Heaven Armour(F)/@heavenarmourf>\
<Back/@Next> <Thank You!/@exit>\

[@mirarmourm]
#IF
#ACT
GIVE MirArmour(M) 1

[@mirarmourf]
#IF
#ACT
GIVE MirArmour(F) 1

[@heavenarmourm]
#IF
#ACT
GIVE HeavenArmour(M) 1

[@heavenarmourf]
#IF
#ACT
GIVE HeavenArmour(F) 1

[@Next-2]
So, <$USERNAME> have you got your armour?\
Now lets get your Weapon!\
<Mir Sword/@mirsword> <Heaven Sword/@heavensword>\
<Heavens Secret/@heavensecret> <MiR Mace/@mirmace>\
<Back/@Next> <Thank You!/@exit>\

[@mirsword]
#IF
#ACT
GIVE MirSword 1

[@heavensword]
#IF
#ACT
GIVE HeavenSword 1

[@heavensecret]
#IF
#ACT
GIVE HeavensSecret 1

[@mirmace]
#IF
#ACT
GIVE MirMace 1

[@Next-3]
<Holy MC Stone/@holymcstone> <Holy SC Stone/@holyscstone>\
<Holy DC Stone/@holydcstone> <Heavens Stone/@heavenstone>\
<Back/@Next> <Thank You!/@exit>\

[@holymcstone]
#IF
#ACT
GIVE HolyMCStone 1

[@holyscstone]
#IF
#ACT
GIVE HolySCStone 1

[@holydcstone]
#IF
#ACT
GIVE HolyDCStone 1

[@heavenstone]
#IF
#ACT
GIVE HeavensStone 1

[@Next-4]
Here I can provide you with a selection from items such\
as Horses, Wings, Rings, Bracelets, Necklaces, Boots, Belts\
and many other stuff, but my power is limited to only a few\
of those items. Most are on-sale in the Palace anyway.\
<Teleport Ring/@teleportring> <Protection Ring/@protectionring>\
<Elephant/@elephant> <Heavens Wings/@heavenswings>\
<Back/@Next> <Thank You!/@exit>\

[@teleportring]
#IF
#ACT
GIVE TeleportRing 1

[@protectionring]
#IF
#ACT
GIVE ProtectionRing 1

[@elephant]
#IF
#ACT
GIVE Elephant 1

[@heavenswings]
#IF
#ACT
GIVE HeavensWings 1

[@Next-5]
I must warn you <$USERNAME>, I have no power to tame these monsters if\
you need any help, you are on your own once they have been\
created. My brother in Bichon-Wall can Tame Monsters,\
maybe you have seen him around.\
<BoneLord/@bl> <ZumaTaurus/@zt>\
<Red Moon Evil/@rme> <GM Pet/@gmpet>\
<Back/@Next> <Thanks Alot!!/@exit>\

[@bl]
#IF
#ACT
Param1 0
Param2 22
Param3 22
MonGen BoneLord 1 1

[@zt]
#IF
#ACT
Param1 0
Param2 22
Param3 22
MonGen ZumaTaurus 1 1

[@rme]
#IF
#ACT
Param1 0
Param2 22
Param3 22
MonGen RedMoonEvil 1 1

[@gmpet]
#IF
#ACT
Param1 0
Param2 22
Param3 22
MonGen GMPet 1 1

Replace these with the maps and cords you want them to spawn on.

Param1 0 - Map
Param2 22 - Cord X
Param3 22 - Cord Y
 
Upvote 0