User Tools

Site Tools


using_epic_in_dumb_mode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
using_epic_in_dumb_mode [2017/01/10 19:45]
sgrubnick
using_epic_in_dumb_mode [2017/01/10 19:47] (current)
sgrubnick
Line 55: Line 55:
 ====How can I do something when someone says my nick?==== ====How can I do something when someone says my nick?====
 There is an event that is thrown whenever someone sends you any kind of a PRIVMSG (either a direct message, or a There is an event that is thrown whenever someone sends you any kind of a PRIVMSG (either a direct message, or a
-message to a channel). ​ Additionally,​ your nickname is $N.  So you can create ​two hooks, one for direct messages, +message to a channel). ​ Additionally,​ your nickname is $N.  So you can create ​a hook that does something if either 
-and one for messages in channels+of these two things is true
  
    on #​^general_privmsg - * {if ([$1] == N] || [$2-] =~ [*$N*]) {exec beep_my_terminal}}    on #​^general_privmsg - * {if ([$1] == N] || [$2-] =~ [*$N*]) {exec beep_my_terminal}}
using_epic_in_dumb_mode.txt · Last modified: 2017/01/10 19:47 by sgrubnick