Ok. I need some help with some NPCs I made. I am making a bug-catching system, and I need some help because it won't work online..... It composes of a bottle, net, and butterfly's. This is my bottle code:
// NPC made by BocoBomy
if (playerchats && strequals(#c,buy small bug bottle) && playerrupees>=5) {
playerrupees-=5;
toweapons Small Bug Bottle;
client.BugJarCount=15;
say2
You can carry up to 15 bugs#b
in this bottle! If you want#b
to see how many bugs you have#b
stored, say "::bug count::"#b
without the parenthesis.;
}
if (playerenters && isweapon) {
client.BugJarCount=15;
}
if (playerenters) {
message Small Bug Bottle - 5 Gralat;
}
if (playerchats && strequals(#c,::bug count:

&& isweapon) {
say2 You have #v(client.BugCount) bugs stored;
}
The problem is, client.BugJarCount won't set to 15. I log into RC, check my profile, and it isn't there. Even if I erase the client. and just have it BugJarCount, it still won't work. Can anyone help me out with this?