Hey guys, I'm after a timed message script with a difference. I use one already that basically shows info every hour or so but I want one that will show DIFFERENT info depending on the time of day and the actual day.
So basically 4 example on Monday at 19:00 it will say blah blah blah every 15 mins for an hour then it will change at 20:00 & post different info 4 the next 15 mins. I wanna be able 2 edit the script so I can post radio stream info displaying who's show is on radio at that particular time.
It's a big script needed I think. Good luck.
Thanx in advance,
Quik.
QuoteOriginally posted by QuikThinker
Hey guys, I'm after a timed message script with a difference. I use one already that basically shows info every hour or so but I want one that will show DIFFERENT info depending on the time of day and the actual day.
So basically 4 example on Monday at 19:00 it will say blah blah blah every 15 mins for an hour then it will change at 20:00 & post different info 4 the next 15 mins. I wanna be able 2 edit the script so I can post radio stream info displaying who's show is on radio at that particular time.
It's a big script needed I think. Good luck.
Thanx in advance,
Quik.
not that hard 2 solve, i just wanna know what it should do exactly. If there should be a pretybed text in the script, or txtfiles, it can be solved.
For instance the basic template would be suttin like:
********************************
LIVE STREAMING RADIO
---------------------------------------------------
LIVE ON "Stream Name" NOW: "name of DJ/crew"
---------------------------------------------------
Time of set: "e.g. 19:00 - 20:00"
*********************************
Suttin LIKE that would be the basic template then I wanna be able 2 manually config it so dependin on the time/date of the host PC it will display the relevant info.
Any good?
Any help Bastya lol?
Can no-one help me then? ;(
I could create a script that shows txt in certain time! If you know in whitch time, whitch text should be posted exactlly, then tell me... for example Time1 =text1, Time2 = text2 ect... Do you need something like that?
QuoteOriginally posted by QuikThinker
Any help Bastya lol?
seems you need shoutstats from mutor. i thought hub-ad r something.
QuoteOriginally posted by enema
I could create a script that shows txt in certain time! If you know in whitch time, whitch text should be posted exactlly, then tell me... for example Time1 =text1, Time2 = text2 ect... Do you need something like that?
Exactly like that! But it'd need 2 be date and time. So on Monday at 19:00 it would be different 2 Tuesday etc. And I need it so it's editable by me as the shows change etc..
I've just finished.. tested it a little bit, works fine! If thereis any bug or modification needed, just give me a shout! --- enema timed info bot, thanks to plop
--- Date - 22.10.2004
--- time format - ["x:y:z"] x = days, y = hours, z = minutes
--------------------------------------------------------
--- Sunday = 0 -*- Wednesday = 3 -*- Saturday = 6
--- Monday = 1 -*- Thuresday = 4 -*-
--- Tuesday = 2 -*- Friday = 5 -*-
--------------------------------------------------------
iMin = 1000*60
tTime = {
--["timestring"] = "show this string"
["1:21:10"] = "Your_TEXT_HERE!!!",
["1:21:23"] = "Your_TEXT_goes_HERE!!!",
["6:9:00"] = "Your_TEXT_HERE!!!"
}
--------------------------------------------------------
bot = "whatever"
function Main()
current = date("%w:%H:%M")
if tTime[current] then
SendToAll(bot, tTime[current] )
end
SetTimer(iMin)
StartTimer()
end
--------------------------------------------------------
function OnTimer()
current = date("%w:%H:%M")
if tTime[current] then
SendToAll(bot, tTime[current] )
end
end
I'm not sure if this is exactly wat I want man. lol I'm tryin hard 2 explain. I'll try breakin it down.
1) e.g. the clock strikes 18:00 on Monday nite. The script kicks in and displays
*******************************
LIVE NOW ON http://wateva.com
*****************************
DJ EXAMPLE PLAYIN HIPHOP
*******************************
18:00 TIL 19:00
****************************
2) It will then display that message every 15 mins until his set is finished i.e. at 19:00
3) At 19:00 it will then change the display message to wateva DJ is on next and on wat stream address
4) If no-one DJ is playin at that time it will jus stop until the script reads that it's time 4 another DJ whether it's later that day or the next.
5) I want it 2 read from a txt file so I can edit the DJs, music genre, timeslot, stream addy and any other relevant info 4 each individual timeslot.
I hope this is of more help? lol but probably quite a bit harder?
Thanx in advance,
Quik.