Created
December 20, 2016 05:00
-
-
Save Jan02/c324370013674034fd76851f305a7f6b to your computer and use it in GitHub Desktop.
mirc mention script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logaddday { | |
if (!$window(@log)) { | |
goto new | |
else goto old | |
:new | |
window -nk @log | |
:old | |
echo -t @log $asctime(yyyy-mm-dd zzz) | |
timer -o 02:55 1 1 logaddday | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on *:text:$($+(*,$me,*)):#: { if (!$window(@log)) { window -nk @log | logaddday } | echo -tm @log 4 $chan 8 $chr(60) $+ $nick $+ $chr(62) $1- } | |
on *:START: { .timerlogDay -o 00:00 1 1 logaddday } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment