Hi, i would like to make a script that would voice Fserves when a !list command is issued. But I want this to be automatic.
I want this script to use a Timer that would issue the !List command every 30 minutes. and Everytime it does the !list command I want to be able to voice any Fserves in the channel.
So far I have these scripts I made but for some reason it doesn't work right. It will issue the !list command every 30 minutes but it won't voice any fserves.
This is in the Remotes section:
on *:input:#mychannel:{
if ($1- == !list) {
.enable #voicebot | .timer 1 120 .disable #voicebot
}
}
#voicebot off
on *:notice:*:?:{
if ($nick isreg #mychannel) {
mode #mychannel +v $nick
}
}
#voicebot end
This is in the Aliase:
/list /timerLIST 0 1800 /msg #mychannel !list
these two scripts function liek this: I would type /list and the timer will start and count to 1800 seconds and then it automatically sends a MSG to the channel with !list.
As the fserves scroll by the Script in the remotes section is suppose to catch any fserves not already voiced and voice them. But this doesn't work. I have to manually type !list to make it voice Fserves.
Could someone help me or show me a betetr script? Thanks