Script for hour for Tierra gloriosa

Newbie Spellweaver
Joined
May 29, 2007
Messages
27
Reaction score
1
Hi people !

I try configure one script for web sites , channel Tierra Gloriosa !

Much player need know what hour open tierra gloriosa , i found one soluction for this more have problem for configure because i dont know much script with spam timer .

Script Runnig :

cedrico - Script for hour for Tierra gloriosa - RaGEZONE Forums


Script :

</span>Tierra Gloriosa:<strong> <span id=timespan2>
<script>
<?
echo "var minuta2 = ".date("i").";";
echo "var sekunda2 = ".date("s").";";
?>
danagodzina2 = minuta2 * 240 + sekunda2;

if(minuta2 > 30) dopelnej = 3600 - danagodzina2;
else dopelnej = -danagodzina2;

dobc = dopelnej + 25*60;
function changetimea2()
{
dobc = dobc - 1;
if(dobc < -5*60)
{
dobc = 3600 + 30*60;
dobc = dobc-1;
}
min2 = Math.floor(dobc/60);
sec2 = dobc%60;

if(min2 < 0)
{
document.getElementById("timespan2").innerHTML="<? echo 'TG OPEN'; ?>";
}
else
{
if(min2 < 10) min2 = "0"+min2;
if(sec2 < 10) sec2 = "0"+sec2;
document.getElementById("timespan2").innerHTML=min2+":"+sec2;
}
window.setTimeout("changetimea2()",1000);
}
changetimea2();
</script>
</span></strong>

NOTE : SCRIPT START IN 90 IN 90 MINUTES , NEED ONLY CONFIGURE FOR YOUR SERVER :):
 
how to make this script to work!!
 
it`s not work:| i paste it into a html file but still not working!
 
Parts of it use PHP which i didn't notice before. You probably need a "timespan2" element as well as that is what it seems to be trying to display the timer on. I'm not much of a Java scripter though and i have never used this counter. It isn't much good for TG which is why Cedrico posted asking for help.
 
cedrico i need ur help it`s not working!
 
Back