mIRC Homepage
Posted By: dnbrt Script - 31/03/05 02:40 PM
Hello, I've got this script:

on 1:join:#mychannel:/mode #mychannel +v $nick

It voices everyone that enters mychannel. But how can i make it to only voice some users, or devoice some users.

forexample: everyone can be voiced, except user XXXXY
or: noone gets voiced, only user ZZZZZ
or: users YYYZ gets a devoice
Posted By: SladeKraven Re: Script - 31/03/05 03:10 PM
Everyone gets voiced except Andy.

Code:
On @!*:Join:#mychannel: {
  if ($nick != Andy) {
    mode $chan +v $nick
  }
}


Andy gets voiced.
Code:
On @!*:Join:#mychannel: {
  if ($nick == Andy) {
    mode $chan +v $nick
  }
}


And when they join a channel, they'll be devoiced anyway.
© mIRC Discussion Forums