Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

View Poll Results: Good Idea?
Yes 5 83.33%
No 1 16.67%
Voters: 6. You may not vote on this poll

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-11-2002, 08:13 AM
Brandon_Bravo Brandon_Bravo is offline
Registered User
Join Date: Jun 2001
Location: Kalamazoo, Michigan USA
Posts: 206
Brandon_Bravo is on a distinguished road
Send a message via ICQ to Brandon_Bravo Send a message via AIM to Brandon_Bravo Send a message via MSN to Brandon_Bravo Send a message via Yahoo to Brandon_Bravo
Exclamation Something for NPC Server

I think it would be a cool thing if you could make NPCServer do things based on messages it receives. For example, the Events Admin or a member of the ET activates an NPC that causes the NPCServer to send a message to everyone with:
Mass Message:
An event is currently being held!
Current Event: Survivor
To be warped to the event, send a reply with "Warp to Event" as the contents.
Then, it would work like this:
NPC Code:

if (messagerecieved(Warp to Event)) {
with (players[sender]) {
setlevel2 eventlevel,x,y;
}
}


What do you think?

**EDIT** Another function could be:
messagestartswith - Checks for what the message starts with.
__________________
Brandon M.
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 05:03 AM.


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