You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
Example:
I have a command nfo <dirname> which get's information about a scene dirname.
However, the same can be triggered by a dirname in irc.received.privmsg parsed by RegEx:
<hashworks> !nfo Rayman.Legends.MULTi13-PROPHET
<Phergie> Here is some information about Rayman.Legends.MULTi13-PROPHET.
<hashworks> Check out Rayman.Legends.MULTi13-PROPHET!
<Phergie> Here is some information about Rayman.Legends.MULTi13-PROPHET.
The problem is that the plugin needs to determine duplication by itself, otherwise it will react on both command.nfo and irc.received.privmsg:
<hashworks> !nfo Rayman.Legends.MULTi13-PROPHET
<Phergie> Here is some information about Rayman.Legends.MULTi13-PROPHET.
<Phergie> Here is some information about Rayman.Legends.MULTi13-PROPHET.
I solved this by avoiding PRIVMSGs with nfo in the message, however this isn't the best solution.
Instead of listening on irc.received.privmsg one should be able to listen to a event that indicates that no command event was emitted, f.e.:
Example:
I have a command
nfo <dirname>which get's information about a scene dirname.However, the same can be triggered by a dirname in irc.received.privmsg parsed by RegEx:
The problem is that the plugin needs to determine duplication by itself, otherwise it will react on both
command.nfoandirc.received.privmsg:I solved this by avoiding PRIVMSGs with
nfoin the message, however this isn't the best solution.Instead of listening on
irc.received.privmsgone should be able to listen to a event that indicates that no command event was emitted, f.e.: