Thread: Scripting query
View Single Post
  #3  
Old 12-30-2001, 02:13 PM
Bird2prey Bird2prey is offline
Poof! I am God
Bird2prey's Avatar
Join Date: Oct 2001
Location: Terra
Posts: 2,805
Bird2prey is on a distinguished road
Send a message via AIM to Bird2prey Send a message via Yahoo to Bird2prey
Talking -

Quote:
Originally posted by kittygirl765
NPC Code:

if(created||initialized)
setshape 1,32,32;
if(playertouchsme) {
if(strequals(#a,account))
say2 Welcome to you chest!;
else
say2 Access denied, haha!;
}
//#CLIENTSIDE
if(created)
setgif chest.png;



i'm too lazy right now to do the rupee part =)
someone finish it =P
Thanks... I don't know anything about scripting, but I assume this just allows access from a single account.
__________________
Quote:
Try Colonel Blackwash's Chicken in a Drawer! Our chickens are mined daily to ensure freshness. We also prepare our chickens to your unique specifications, such as:

Extra Hairy Chicken!
Extra Filthy Chicken!

And for you folks who like to wrestle down a good meal, Extra Surly Chicken! Folks come as far as Dirtbag Detroit just to lick our chickens. And remember, if you can't keep it down - YOU EAT FOR FREE!
Reply With Quote