mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
rp: Mention mode in help text, fix comment
This commit is contained in:
parent
8dfa888552
commit
7f4bbbc587
@ -217,12 +217,16 @@ Sends the text to the given targets as a NOTICE.`,
|
||||
"npc": {
|
||||
text: `NPC <target> <sourcenick> <text to be sent>
|
||||
|
||||
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 <target> <sourcenick> <text to be sent>
|
||||
|
||||
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 <name> <password>
|
||||
|
@ -25,7 +25,7 @@ func sceneHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// NPC <target> <text to be sent>
|
||||
// NPC <target> <sourcenick> <text to be sent>
|
||||
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 <target> <text to be sent>
|
||||
// NPCA <target> <sourcenick> <text to be sent>
|
||||
func npcaHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
||||
target := msg.Params[0]
|
||||
fakeSource := msg.Params[1]
|
||||
|
Loading…
Reference in New Issue
Block a user