These new npc things are strange....

smoochy boys on tour

BloodDemon

Golden Oldie
Golden Oldie
Jul 20, 2003
649
19
175
Darlington, UK
What is the new code for Buying, Selling, Storing and Getting back

I have tred [@buy], goods, [@sell], [@storage] but none work and its all i need to finish my all in 1 npc so any help would be appreciated. Thanks in advance, Chris
 

Danny-B-

LOMCN Veteran
Veteran
Sep 16, 2004
265
0
63
as far as i know (and dont quote me on this ) the [@anything] is just a header, a place to jump to, module kind thing .... it has nothing to do with buying or selling

ie an npc script to buy


Code:
;Settings
%100
+40
+1

[@rings]
Hi \
show me a ring and ill offer you a price\\
<Back /@main>

[goods]
;Item Amount Time
TeleportRing 5 1
CoralRing 5 1


So an npc script to buy or sell needs the settings and if selling needs items listed under [goods]
as above .
 
Upvote 0

MiloFoxburr

LOMCN VIP
VIP
Mar 23, 2003
7,276
199
370
Dublin, Ireland
Danny-B- said:
as far as i know (and dont quote me on this ) the [@anything] is just a header, a place to jump to, module kind thing .... it has nothing to do with buying or selling

ie an npc script to buy


Code:
;Settings
%100
+40
+1

[@rings]
Hi \
show me a ring and ill offer you a price\\
<Back /@main>

[goods]
;Item Amount Time
TeleportRing 5 1
CoralRing 5 1


So an npc script to buy or sell needs the settings and if selling needs items listed under [goods]
as above .

err No.

This is how you get bug sell etc working again
You can thank my brother Babyhack for working this out

(@repair @s_repair)
(@buy @sell)
(@storage @getback)
(@upgradenow @confirmupgrade @getbackupgnow)

Basically you gotta put em in brackets at the start of the npc file of course
 
Upvote 0