File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ function irc.hooks.channelChat(msg)
120
120
text :find (" ^%*%*%* ([^%s]+) joined the game$" )
121
121
local foundleave , _ , leavenick =
122
122
text :find (" ^%*%*%* ([^%s]+) left the game$" )
123
+ local foundtimedout , _ , timedoutnick =
124
+ text :find (" ^%*%*%* ([^%s]+) left the game %(Timed out%)$" )
123
125
local foundaction , _ , actionnick , actionmessage =
124
126
text :find (" ^%* ([^%s]+) (.*)$" )
125
127
@@ -134,6 +136,9 @@ function irc.hooks.channelChat(msg)
134
136
elseif foundleave then
135
137
irc .sendLocal ((" *** %s left %s" )
136
138
:format (leavenick , msg .user .nick ))
139
+ elseif foundtimedout then
140
+ irc .sendLocal ((" *** %s left %s (Timed out)" )
141
+ :format (timedoutnick , msg .user .nick ))
137
142
elseif foundaction then
138
143
irc .sendLocal ((" * %s@%s %s" )
139
144
:format (actionnick , msg .user .nick , actionmessage ))
You can’t perform that action at this time.
0 commit comments