npc help

Play Now

K_Jonzy

Golden Oldie
Golden Oldie
Oct 8, 2008
590
15
105
My House
ive made lmsnpc which also lets u buy items.
all the items exist in db.
whats wrong with these? the 1st dont give or take the items
and the second dont give u a token.


its wont let me type all of it past this bit so ill send u file instead
 

Attachments

  • test1-q001.txt
    189 bytes · Views: 7
  • test-q001.txt
    2.2 KB · Views: 6
Last edited:

transporter

LOMCN Veteran
Veteran
Jul 12, 2008
608
8
105
Darlington
ive made lmsnpc which also lets u buy items.
all the items exist in db.
whats wrong with these? the 1st dont give or take the items
and the second dont give u a token.


[@Main]
#SAY
Hello there <$USERNAME> I am the LastManStanding master.\
I am here to organise an event every day at 6pm to 7pm GMT.\\
What would you like to do?\\
\
<Take part in the



Wheres the rest of the NPC lol.
 
Upvote 0

Zen2

LOMCN Veteran
Veteran
Jul 26, 2007
1,818
18
125
lol good point transporter!! would be nice to help but given nothing to work from its basicly impossible post the script!!
 
Upvote 0

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
105
First off you have no #IF statements anywhere in either script.
 

Attachments

  • test1-q001.txt
    240 bytes · Views: 5
  • test-q001.txt
    2.4 KB · Views: 5
Last edited:
Upvote 0

Zen2

LOMCN Veteran
Veteran
Jul 26, 2007
1,818
18
125
[@main]
#SAY
hello <$USERNAME>, Are you the last person in here?\ \

<Yes/@y>\
<No/@Exit>\


[@y]
#IF
CHECKHUM q001 2
#ACT
GIVE LMSTOKEN 1
#ELSESAY
liar theres still someone else here.\ \
<Ok i will kill them/@exit>

You need to remember to use #IF #ELSEACT #ELSESAY #SAY

P.S I hope your not going to have this in an npc script it wuld come across very nooby to me if i was playing your server.

*#ELSESAY
fk off u lieing twat.*

/Zen2
 
Upvote 0