okies i have another question... how do i split the text into different parts?
for example: setclock #1 #2:#3#4 #6
#1=days, #2=hours, #3+4=minutes, and #6=AM/PM...
So when I say "seclock Sunday 12:00 AM" it will set the clock to Sunday 12:00:00 AM (yes i am aware there is another :00 in there, those are seconds and I want those to reset to 00 each time I change the clock).
In the script I have made, these are the different parts:
server.wd=Days
server.wh=Hours
server.wm1=Minutes1
server.wm2=Minutes2
server.ws1=Seconds1
server.ws2=Seconds2
server.wampm=AM/PM
Here's the code I've given the clock itself.
if (created) {
timereverywhere;
timeout=0.05;
}
if (timeout) {
message #s(server.wd) #v(server.wh) #v(server.wm1)#v(server.wm2) #v(server.ws1)#v(server.ws2) #s(server.wampm)
sleep 0.5;
message #s(server.wd) #v(server.wh):#v(server.wm1)#v(server.wm2):#v(serv er.ws1)#v(server.ws2) #s(server.wampm)
timeout=0.5;
}
I hope the information i have given you will help you to help me
