Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-10-2001, 07:22 AM
r_u_f_u_s r_u_f_u_s is offline
Registered User
Join Date: Nov 2001
Posts: 220
r_u_f_u_s is on a distinguished road
Server Flags Help

I know how to put the account name to make it go into the server flags, but once it is there how do I preform an action with it? Like the script below (the first part) if they say heal account "name" that account name will go into the server.healaccount flag, but once it is there how would it heal the player?



if (playerchats && startswith(heal account,#c)) {
if (strequals(#g,Events Team)) {
tokenize #c;
setstring server.healaccount,#t(2);
}
}
__________________
- ¤Mâ×Îmû§¤ - Owner of Delteria - (borrowing account)
Reply With Quote
  #2  
Old 11-10-2001, 07:42 AM
Brad_Elven Brad_Elven is offline
Registered User
Join Date: Jul 2001
Posts: 0
Brad_Elven is on a distinguished road
Send a message via AIM to Brad_Elven
i cant understand what your asking
Reply With Quote
  #3  
Old 11-10-2001, 08:17 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
On a free server, either you would have to have a system npc that checks for it, or in conjunction with your serverflag have the weapon putnpc a custom npc in the level that heals the player. On p2p servers, just use a 'with' command and modify the target player's attributes.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
Reply


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 04:18 AM.


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