ok im making a pizza shop and i need to figure out how to make an item that will work online all i have for it like all that i know is
NPC Code:
if (playerchats && strequals(#c,buy single)) {
if (playerrupees <=7) {
message you dont have enough money;
}
if (playerrupees >=7){
message Thank you!;
}
} {
thats all i have because i cant figure out how to make it
1) an item that does stuff
2) go into your inventory and take gralats away
will someone help me please?