Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-29-2001, 07:18 AM
Huggles Huggles is offline
Should I care anymore?
Huggles's Avatar
Join Date: Apr 2001
Location: Arizona
Posts: 2,127
Huggles is on a distinguished road
Send a message via AIM to Huggles Send a message via Yahoo to Huggles
Help

Ok Im trying to script a vault... A npc that allows a player that I assign by saying his account name.... This first time I started scripting and I dont know whats wrong =/

Quote:
// NPC made by Captain USA
if (playerenters &&(#a,Captain-USA))
if (strequals(#c,Give Vault 3)) {}
if (strequals(#t(1),Change)&&strequals(#t(2),Owner)) {
setstring this.owner,#t(3);
}

if (playerchats && (#a,Captain-USA){#c, Give vault 3 = #a
setstring vault3,#c;
}
if (playertouchsme && #t (vault3){
message Vault USER: "#s(vault3)"!;
}
__________________
Captain USA, Or Captin USA

Plain and simple.
Reply With Quote
 


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 01:32 AM.


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