• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Question] How to do something with NPC!

justin234

New Member
Joined
Jan 22, 2008
Messages
999
Reaction score
4
I want to make a Custom Items npc, but i want it to accept Christmas Tokens instead of Money.

What do i need to do to change it to when you say "Buy Wizards Staff" it sells the staff for Christmas Tokens and Not Gold.
 
elseif msgcontains(msg, 'inferno') then
buy(cid,2187,getCount(msg),15000)

it says getcount, do i change it to this?

elseif msgcontains(msg, 'inferno') then
buy(cid,2187, doRemoveItem cid,6527,150)


is that right?
 
Last edited:
ill give it a try, but im still looking for confirmation on this.

elseif msgcontains(msg, 'inferno') then
buy(cid,2187, doRemoveItem cid,6527,150)

will that script remove christmas tokens instead of GP when you buy items?
ANYONE ELSE GOT ANY IDEA?
 
ill give it a try, but im still looking for confirmation on this.

elseif msgcontains(msg, 'inferno') then
buy(cid,2187, doRemoveItem cid,6527,150)

will that script remove christmas tokens instead of GP when you buy items?
ANYONE ELSE GOT ANY IDEA?

elseif msgcontains(msg, 'inferno') then
buy(cid,2187, doRemoveItem cid,6527,150)

that didnt work, anyone got any other ideas?
 
Back
Top