mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2003
Posts: 2
R
Ricey Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
R
Joined: Jul 2003
Posts: 2
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

Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
/list /timerLIST 0 1800 /editbox -n #mychannel !list



Joined: Jul 2003
Posts: 2
R
Ricey Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
R
Joined: Jul 2003
Posts: 2
GREAT! thanks so much for your help!. I didnt know it was so simple to fix. Thank you again! grin

Joined: Aug 2003
Posts: 10
Z
Pikka bird
Offline
Pikka bird
Z
Joined: Aug 2003
Posts: 10
Ricey? I am interested in how ur script works?

Can u explain to me? I tried ur script in my channel but it didn't work...

Thanks.


Link Copied to Clipboard