npc help...

Elijah

Crystal Dev
Developer
Jul 21, 2004
1,806
18
265
k, iv made a man who takes ant blood from u, and gives u 3mil, but if u havnt got the ant blood it still gives u 3mil
this is the npc script

[@main]
#if
checklevel 35
#say
Ahhh <$USERNAME> I predicted your arrival.\
I once lived in a grand town underneath the earth, It even dwarfed\
the grand Bichon Wall. But he were forced out of our homes by a\
great force, many of us died down there protcting what we love\
<I Have Returned From your Quest/@Prize>\
<Next/@Main2>\
<I Have No Time For Fairytales/@exit>
#elsesay
I am busy at the moment come back later
<Exit/@exit>

[@Main2]
I went down there only a few weeks ago and discovered half of the\
town was caved in and the creatures still roam the streets\
I need youto help me with my research on these creatures\
It is the way to defeat them\
<Ok/@Main3>\
<No Thanks/@Exit>

[@Main3]
I need you to fetch me back a vial of blood from either a king or\
queen for me to study on.\
When you return I have a reward for you\
<Ok Take Me There/@Go>\
<No Thankyou I Value My Life/@Exit>

[@Go]
#ACT
give townteleport
mapmove kt222 22 22

[@prize]
#IF
check item AntBlood
#ACT
take AntBlood
give gold 3000000
#SAY
Thankyou <$USERNAME> this will help us defeat the creatures!\
<I Would Like To Go Back/@Go>\
<Good Bye/@exit>
#elsesay
You Do Not Have The Blood!
<I'll Go Fetch the Blood/@Go> <Exit/@Exit>


Whats Wrong with it?


Thanx in advance
 

Karl

LOMCN VIP
VIP
Mar 8, 2004
897
34
255
Gloucester
[@prize]
#IF
check item AntBlood 1
#ACT
take AntBlood 1
give gold 3000000
#SAY
Thankyou <$USERNAME> this will help us defeat the creatures!\
<I Would Like To Go Back/@Go>\
<Good Bye/@exit>
#elsesay
You Do Not Have The Blood!
<I'll Go Fetch the Blood/@Go> <Exit/@Exit>


You simply need to add a number to the end of the check item and the take to the amount you require the person to have like i have added to your [@prize] section of the script. if you dont get what im talking about just copy and paste what ive posted above to your script and it will work.
 

DarkXXX

Golden Oldie
Golden Oldie
Apr 9, 2004
1,788
4
125
Sheffield
$h@d0wkn1ght said:
umm.....m8 their is a npc and commands guide......

http://www.lomcn.co.uk/forum/showthread.php?t=17753

i know what you will say...."its not given me a good description on what my problem is" i get the same problems :P

well.....can anyone thats good with NpC scripts give him a brief idea on what his problem is ....thnxs :)

tbh that was just spam, wen theres a post lile this ppl will tell u wot to change and wot is wrong, they dnt jus say look at the commands!
and yeh i know im spammin by sayin its spam but wot the hell!
 

$h@d0wkn1ght

Dedicated Member
Dedicated Member
Aug 13, 2004
137
0
43
Scotland
DarkXXX said:
tbh that was just spam, wen theres a post lile this ppl will tell u wot to change and wot is wrong, they dnt jus say look at the commands!
and yeh i know im spammin by sayin its spam but wot the hell!

spam......not really cause most people tell you about it instead of given you a clear view of what the problem is .. i know with past threads :P


lmao, rofl yer that was after my post....so who knows he could have changed what he said....and its happend so stfu
 
Last edited:

Babyhack

Devilsoul Owner
VIP
Feb 4, 2004
5,343
28
285
Dublin, Ireland
ffs peeps drop all the spam if any of you looked at the post you would have seen that he has

Check item
and it should be
checkitem
1 word

case closed
and any replay to this will be spam
 
Last edited:

Tahriel

LOMCN Veteran
Veteran
Jun 1, 2004
320
0
93
shadow im getting bored of ur spamming. u do it all the time to most ppls posts saying "help him pls" or "itll help me too" just no point. i think other ppl r seeing this too and r getting bored aswell
 

DarkXXX

Golden Oldie
Golden Oldie
Apr 9, 2004
1,788
4
125
Sheffield
Tahriel said:
shadow im getting bored of ur spamming. u do it all the time to most ppls posts saying "help him pls" or "itll help me too" just no point. i think other ppl r seeing this too and r getting bored aswell
yup i know exactly wot ya mean, he posts on nerly evry post wen he aint got a clu about wot the person is wanating it all, annoying tbh!