Uptime problem with Nightdev - 06/01/16 04:16 AM
Hello friends!
i have a problem with a perfect uptime script from the user Nillen
The problem is that nightdev added text like this:
There will be a way to change the text of nightdev to another page? like this:
https://decapi.me/twitch/uptime.php?channel=yeyossj
Sorry for my bad english!! XD Thanks for help!
i have a problem with a perfect uptime script from the user Nillen
Code:
on *:text:!uptimeee*:#:{ if ((%flooduptime) || ($($+(%,flooduptime.,$nick),2))) { return } set -u15 %flooduptime On set -u20 %flooduptime. $+ $nick On set %target $iif($2,$2,$mid(#,2-)) set %channel # uptime } alias uptime { sockclose uptime sockopen uptime nightdev.com 80 } on *:sockopen:uptime:{ if ($sockerr) { sockclose $sockname | halt } sockwrite -n $sockname GET /hosted/uptime.php?channel= $+ %target HTTP/1.1 sockwrite -n $sockname Host: www.nightdev.com sockwrite -n $sockname $crlf } on *:sockread:uptime:{ if ($sockerr) { sockclose $sockname | halt } var %data sockread %data tokenize 32 %data if ($1 isnum) && ($2) { msg %channel %target has been online for $1- } elseif (%data == The channel is not live.) msg %channel %target is currently not online. } on *:sockclose:uptime:{ unset %channel unset %target }
The problem is that nightdev added text like this:
There will be a way to change the text of nightdev to another page? like this:
https://decapi.me/twitch/uptime.php?channel=yeyossj
Sorry for my bad english!! XD Thanks for help!