Requested for: DinDin
Contact: http://westor.ucoz.com/contact
Description:
This is an ucoz.com re-activation code that it will re-activate your website if the ucoz will deactivates it, you have only to setup with your
website and the re-activation url (that ucoz sends you in your e-mail), when you paste the code and setup the settings restart the mIRC and the it will automatically check every 1 hour your website to see if it is activated or not.
Setup:
; ---------- Settings ----------
alias mysite { return WEBSITE-HERE }
; Fill your website (UCOZ), without the http:// or www.
; e.g: westorcenter.ucoz.com
alias reactivate_url { return URL-HERE }
; Fill the re-activation url that will automatically run if the website is deactivated
; e.g: http://s101.ucoz.net/panel/?a=roff&t=ae725ca44c2200f29962d4bf2c9e9727157720f17695dda9
; --------- End of Settings ---------
alias check_center { sockopen chk_center_ $+ $rand(1,10000000) $mysite 80 }
ON *:START: { .timer[CHECK_CENTER] -o 0 3600 check_center }
ON *:SOCKOPEN:chk_center_*: {
if ($sockerr) { return }
sockwrite -nt $sockname GET / HTTP/1.1
sockwrite -nt $sockname Host: $sock($sockname).addr
sockwrite -nt $sockname $crlf
}
ON *:SOCKREAD:chk_center_*: {
if ($sockerr) { return }
var %r
sockread %r
if (*WEBSITE DEACTIVATED* iswm %r) {
echo -ta WARNING: The website ( $+ $mysite $+ ) has been deactivated, trying now to re-activate it automatically...
url -n $reactivate_url
}
}
Enjoy!