Hi i need help turning the script in to a timing raffle so the raffle start and in 5 min it draws and on the 2 min it gives a message saying there is a raffle going 3 min to enter type !raffle. Then in 1 min lift let it say 1 min lift in the raffle to get in type !raffle.

HERE is the script
on *:TEXT:!giveaway:#: {
if (%open == 1) {
write Raffle.txt $nick
msg $chan $nick entered the giveaway!
}
}

on *:TEXT:*:#:{
if ($nick isop #) {
if ($1 == !giveaway) {
if ($2 == open) {
msg $chan /me giveaway started Thanks to keign28 to get in type !giveaway GOOD LUCK
set %open 1
write -c Raffle.txt
echo -a Raffle Started
}
if ($2 == close) {
msg $chan /me giveaway CLOSED!
set %open 0
write -c Raffle.txt
echo -a Raffle Closed
}
}
if ($1 == !giveawayend) {
if (%open == 1) {
var %user = $read(Raffle.txt,n)
write -c Raffle.txt
set %open 0
msg $chan /me And the winner is... %user $+ !!! Well Done!
echo -a Raffle Closed
}
}
}
if ($1 == !people) {
if (%open == 1) {
msg $chan There are currently $lines(Raffle.txt) users in the giveaway!
}
}
}


Thanks.