mirror of
https://github.com/ergochat/ergo.git
synced 2025-01-09 19:52:57 +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": {
|
"npc": {
|
||||||
text: `NPC <target> <sourcenick> <text to be sent>
|
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": {
|
"npca": {
|
||||||
text: `NPCA <target> <sourcenick> <text to be sent>
|
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": {
|
"oper": {
|
||||||
text: `OPER <name> <password>
|
text: `OPER <name> <password>
|
||||||
|
@ -25,7 +25,7 @@ func sceneHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
|||||||
return false
|
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 {
|
func npcHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
||||||
target := msg.Params[0]
|
target := msg.Params[0]
|
||||||
fakeSource := msg.Params[1]
|
fakeSource := msg.Params[1]
|
||||||
@ -44,7 +44,7 @@ func npcHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
|||||||
return false
|
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 {
|
func npcaHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
||||||
target := msg.Params[0]
|
target := msg.Params[0]
|
||||||
fakeSource := msg.Params[1]
|
fakeSource := msg.Params[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user