From 7f4bbbc587cc9db1b7b4dd07a80cbdc31a365715 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Mon, 14 Nov 2016 14:03:48 +1000 Subject: [PATCH] rp: Mention mode in help text, fix comment --- irc/help.go | 8 ++++++-- irc/roleplay.go | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/irc/help.go b/irc/help.go index 64dee78e..d8efd7c8 100644 --- a/irc/help.go +++ b/irc/help.go @@ -217,12 +217,16 @@ Sends the text to the given targets as a NOTICE.`, "npc": { text: `NPC -The NPC command is used to send a message to the target as the source.`, +The NPC command is used to send a message to the target as the source. + +Requires the roleplay mode (+E) to be set on the target.`, }, "npca": { text: `NPCA -The NPC command is used to send an action to the target as the source.`, +The NPC command is used to send an action to the target as the source. + +Requires the roleplay mode (+E) to be set on the target.`, }, "oper": { text: `OPER diff --git a/irc/roleplay.go b/irc/roleplay.go index 3f964944..c23dc8d6 100644 --- a/irc/roleplay.go +++ b/irc/roleplay.go @@ -25,7 +25,7 @@ func sceneHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool { return false } -// NPC +// NPC func npcHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool { target := msg.Params[0] fakeSource := msg.Params[1] @@ -44,7 +44,7 @@ func npcHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool { return false } -// NPCA +// NPCA func npcaHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool { target := msg.Params[0] fakeSource := msg.Params[1]