![]() |
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: What do you think? **EDIT** Another function could be: messagestartswith - Checks for what the message starts with. |
I still like the idea of having the NPCs server having code. Like you can program your npcs server to answer questions based on content of messages, instead of him going "IM NPCS SERVER OBEY MEH".
|
I've always wanted to be able to make the NPC Server recognise player messages to it then it could act like kind of an FAQ NPC that searches the message from the player for key words then answers based on the key words it finds.
Like if you asked it where you got the gold axe you could script it to auto reply an answer telling you where it was. |
Sounds good. A totally scriptable NPCServer would be very cool.
|
One major problem is the vast majority of people just have the NPC server on ignore.
|
Well with the use I wanted it for that wouldn't be a problem but it would be for the events thing.
But if it did announce things like that I assume most players would take it off ignore. I have it in my buddy list anyways. :) |
Quote:
|
Sounds good to me. It'd be more secure too, as it can personally check the account for accuracy, whereas generally speaking staff tools check #a clientside.
Mass [message] Warp [account] [level] [x] [y] Ban [account] maybe Delete [account] [weapon] Reset [account] Setstring [account] [string] [value] It'd be a remote RC...though in all fairness, most of the more dangerous commands should at least require serverside IP verification |
you can mass using allplayers.
But yes, being able to have the NPC server do chatting over its PM would be good. just define an actionpm that Control-NPC takes. For that matter, there should be a new command for NPCs...showonplayerlist, so they all can take an actionpm. |
I like that idea. Maybe a new section on the playerlist titled "NPCs" or so.
|
Quote:
|
Quote:
Perhaps making the NPC-Server ignore mass PMs would also be helpful. That way you don't get one immediate reply if you do send a mass. |
Quote:
Players have ignore masses I'm sure it could be made so NPC Server could do since it logs in somewhat like a player. |
I'd prefer if the NPC Server were hidden all togeather, but create npc commands that let you make an NPC show up in the playerlist and accept chat input etc, that way you could create "fake" players eheh :) FAQ-Bot and such.
Urizen :) |
Quote:
|
| All times are GMT +2. The time now is 04:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.