Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Announcements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 10 votes, 5.00 average. Display Modes
  #1  
Old 11-12-2014, 07:38 PM
Stowen Stowen is offline
Graalian since '01
Join Date: Sep 2005
Location: Massachusets, USA
Posts: 156
Stowen will become famous soon enough
Send a message via AIM to Stowen Send a message via MSN to Stowen
Excellent work! It looks and works great so far.

Just a side note, if you have the ability to edit your OP, you have player.sendtorc() listed as the command to use #ALERT messages. After several minutes of scratching my head, I realized it's sendToNC().

Quote:
Originally Posted by callimuc View Post
EDIT: Will it be possible for you to add small checks like if the user is using your custom RC and what version?
This is already implemented. When FP4's RC logs it, it sends a command to Control-NPC with the command "newrc".

NPC Code:
function onRCChat(cmd) {
if (cmd == "newrc") {
echo(params[1]);
}
}



Second parameter is the version of RC that staff logged in with. Essentially, that command won't be called if it's not the new RC, and you can add your own version checks via params[1]. Hope I helped!
__________________
Quote:
Originally Posted by Felix_Xenophobe View Post
He is no carpenter's son but Stowen will breathe life into pc graal.
Unholy Nation is my home.
Reply With Quote
  #2  
Old 11-12-2014, 08:14 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by Stowen View Post
This is already implemented. When FP4's RC logs it, it sends a command to Control-NPC with the command "newrc".
Quote:
Originally Posted by fowlplay4 View Post
16. On login RCs now send "/npc newrc version" to the server. This makes it easier to only send the new #commands to the right RCs, along with other things that you would normally do when a new rc logs in such as welcome messages.


Oohhh ok, got it! Thanks!
__________________
MEEP!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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


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