mIRC Home    About    Download    Register    News    Help

Print Thread
#9655 04/02/03 01:31 PM
Joined: Jan 2003
Posts: 21
J
Jay_T Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Jan 2003
Posts: 21
menu {
Auto Voice All
.On:enable #autovoice | set %sel $chan
.Off:disable #autovoice | unset %sel
}
#autovoice on
on 1:join:%sel: .timer 1 3 mode $chan +v $nick
#avoice end

Can someone tell me what is wrong with this code because when someone join it auto set +v right away (well it suppose to wait for 3 seconds but it doesnt frown )
please help me with this code
and can someone tell me where to download the auto chan limit addon Thanks

#9656 04/02/03 01:45 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Your script should have delayed the voice.

Maybe you have an another autovoice script? or maybe the user has an entry in your auto voice (Alt+B -> control -> voice) list?

About the script itself, I'd use the /pvoice command instead of a timer:
Code:

on @*:join:%sel: pvoice 3 # $nick

#9657 04/02/03 04:51 PM
Joined: Jan 2003
Posts: 237
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Jan 2003
Posts: 237
i had timers to do something simmilar to that. what hapend with mine was taht it executed right as it is run, then it executes again in 3 secconds. I wasnt able to fix it.



;Check for Life

if (%life == $null) {
goto getlife
}
#9658 04/02/03 05:02 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
that shouldn't happen... anyway, do you have an example of such timer?


Link Copied to Clipboard