How can I get these two scripts to work together - 16/05/05 04:34 PM
When I hit connect on my script I'd like to have this script play first
alias daystatus {
if ($time(hh:nn) < 12:00) { return morning }
if ($time(hh:nn) >= 12:00) && ($time(hh:nn) < 17:00) { return afternoon }
if ($time(hh:nn) >= 17:00) { return evening }
}
on *:START: {
if ($daystatus == morning) { splay GM.wav }
if ($daystatus == afternoon) { splay GA.wav }
if ($daystatus == evening) { splay GE.wav }
}
Which tells me what time of day it is then right after that i'd like for it to do this script
On *:Start: {
splay startup.mp3
}
On *:Mp3End: {
if ($filename == $mircdirSounds\startup.mp3) {
server irc.rizon.net
}
}
How can I make this work one after the other thanx.
alias daystatus {
if ($time(hh:nn) < 12:00) { return morning }
if ($time(hh:nn) >= 12:00) && ($time(hh:nn) < 17:00) { return afternoon }
if ($time(hh:nn) >= 17:00) { return evening }
}
on *:START: {
if ($daystatus == morning) { splay GM.wav }
if ($daystatus == afternoon) { splay GA.wav }
if ($daystatus == evening) { splay GE.wav }
}
Which tells me what time of day it is then right after that i'd like for it to do this script
On *:Start: {
splay startup.mp3
}
On *:Mp3End: {
if ($filename == $mircdirSounds\startup.mp3) {
server irc.rizon.net
}
}
How can I make this work one after the other thanx.