Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-28-2001, 05:55 AM
Bravo_NPC-Admin1 Bravo_NPC-Admin1 is offline
Registered User
Join Date: May 2001
Location: Olympia, Washington USA
Posts: 25
Bravo_NPC-Admin1 is on a distinguished road
Send a message via AIM to Bravo_NPC-Admin1 Send a message via Yahoo to Bravo_NPC-Admin1
Cool Scripting Help

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?
__________________
-Boco
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.