on 3:text:!save *:#yznb:{
uptime $time $date $2
if ($nick == artiiz) {
msg $chan @ $+ $nick VOD saved at $read(HIGHLIGHT.TXT) }
}
alias uptime_chan return ENTER-HERE-THE-TWITCH-CHANNEL
alias uptime {
sockclose uptime
sockopen uptime nightdev.com 80
set %time $1
set %date $2
set %thing $3
}
ON *:SOCKOPEN:uptime: {
if ($sockerr) { sockclose $sockname | halt }
sockwrite -n $sockname GET /hosted/uptime.php?channel= $+ $uptime_chan HTTP/1.1
sockwrite -n $sockname Host: $sock($sockname).addr
sockwrite -n $sockname $crlf
}
ON *:SOCKREAD:uptime: {
if ($sockerr) { sockclose $sockname }
var %data
sockread %data
if ($gettok(%data,1,32) isnum) && ($gettok(%data,2,32)) {
var %c = $chr(35) $+ $uptime_chan
if ($me !ison %c) { return }
write -c HIGHLIGHT.TXT
write HIGHLIGHT.txt %thing $qt(%data) %time %date
}
}
So.. i lended westor's script
http://hawkee.com/snippet/16314/ (Twitch Uptime Informer) and implemented it on your script to make it do what you want.
You just need to change ENTER-HERE-THE-TWITCH-CHANNEL with your twitch channel but without #
I didn't test it but i'm sure it will work cause i changed only the commands on westor's script the rest of the code is the same so it should work just fine.
Credits should go to westor though!