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]