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
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!