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 01-06-2002, 06:00 AM
Psyker Psyker is offline
Tired Sloth
Join Date: Mar 2001
Posts: 6,217
Psyker will become famous soon enough
Send a message via AIM to Psyker Send a message via Yahoo to Psyker
I'm not the best at scripting, so...

Is there any possible way to make this script better?

NPC Code:
if (playerenters){
showlocal;
message Status;
}
if (playertouchsme) {
toweapons *Status;
hidelocal;
}
if (weaponfired) {
say2 If you want to check what you #bare using, say 'check head',#b'check sword', or 'check shield'.;
}
if (playerchats&&strequals(#c,check sword)) {
say2 The sword you are using is:#b#1;
}
if (playerchats&&strequals(#c,check head)) {
say2 The head you are using is:#b#3;
}
if (playerchats&&strequals(#c,check shield)) {
say2 The shield you are using is:#b#2;
}

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


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