mIRC Homepage
Posted By: starr code - 15/10/09 07:18 PM
Hi...I have a bot on a channel. I want to be able to voice only certain people automatically when they enter the channel...is there a simple way to do this?
Posted By: DJ_Sol Re: code - 15/10/09 08:02 PM
Code:
menu nicklist {
  $iif($level($address($$1,3)) = voiced,$style(1)) Voiced List:{ $iif($level($address($$1,3)) = voiced,ruser,auser) voiced $address($$1,3) }
}

on voiced:join:#:pvoice 4 # $nick


If this doesn;t work make sure the address matches.
Posted By: starr Re: code - 15/10/09 08:08 PM
does this go in remote?
Posted By: starr Re: code - 15/10/09 08:09 PM
and is the address the channel name?
Posted By: starr Re: code - 15/10/09 08:14 PM
this is what I tried, but can't get to work:

;voice on entry
ON@*:JOIN:#the`room {

if ($nick=lilmouse) {
mode $chan +v $nick
}
}
Posted By: DJ_Sol Re: code - 15/10/09 09:38 PM
Just replace that code with the one I gave you ....
Posted By: starr Re: code - 15/10/09 09:45 PM
I'm sorry...I am a true novice...but where do I put the code and is the address the same as the channel name? And how will I tell it which people to voice?
Posted By: DJ_Sol Re: code - 15/10/09 11:35 PM
Put that in your remotes.

Channel and User Address are not the same.

Select the person you want to put on the Voiced List in the nicklist.
Posted By: starr Re: code - 16/10/09 12:23 AM
thanks very much!
© mIRC Discussion Forums