mIRC Home    About    Download    Register    News    Help

Print Thread
randomvoice #38411 26/07/03 02:11 PM
Joined: Dec 2002
Posts: 14
J
JuZt3r Offline OP
Pikka bird
OP Offline
Pikka bird
J
Joined: Dec 2002
Posts: 14
I want to make a ramdomvoice or somthing. but dont know what to do. so if any one who knows, can give me som topics to read or somthing..

Re: randomvoice #38412 26/07/03 02:19 PM
Joined: Mar 2003
Posts: 1,271
L
LocutusofBorg Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
All depends on what exactly you mean with randomvoice.
If you want to voice specified users, use
Code:
on @AV:JOIN:[color:red]#channelname[/color]: { .mode # +v $nick }

(don't forget the change the part in red) and add the users you wanna voice as AV in yuor userlist with
Code:
/guser AV nick-here 3

or something similar.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Re: randomvoice #38413 26/07/03 02:25 PM
Joined: Dec 2002
Posts: 14
J
JuZt3r Offline OP
Pikka bird
OP Offline
Pikka bird
J
Joined: Dec 2002
Posts: 14
i was stupid and didt say what i wanted. ;D

I want a command that just voices ppl random.. lik if i use
/rvoice i will voice user1 or user20

;D

Re: randomvoice #38414 26/07/03 02:25 PM
Joined: Dec 2002
Posts: 339
F
FunChatter Offline
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
I guess (s)he means not peoples from avoice list just a random person when she uses /ranvoice?

Re: randomvoice #38415 26/07/03 02:31 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Code:
/alias rvoice mode $$chan +v $nick(#,$rand(1,$nick(#,0,r)),r)


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: randomvoice #38416 26/07/03 09:45 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Just maybe add a little more onto your code qwerty, rather than just looking at the regulars list, how about all whom do not have a voice. >:D

Code:
alias rvoice { mode $$chan +v $nick(#,$rand(1,$nick(#,0,a,v)),a,v) }


-KingTomato
Re: randomvoice #38417 27/07/03 08:02 AM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
I figured he wouldn't want to voice an op/halfop for example, but your code nicely demonstrates the usage (and usefulness) of $nick().


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com