mIRC Homepage
Posted By: xamp Few silly questions :/ - 01/07/03 08:00 AM
hi! smile
i got some problems, i hope u can help me

1. when i wanna op for example 10ppl is only op's 3 how i can set the limit to unlimited? and same thing to voice

2. is this kind of script possible:
/ao <nick> <channel> --> set nick to auto op list automatically to that <channel>
/av --> same thing with voice

-xamp-
Posted By: pheonix Re: Few silly questions :/ - 01/07/03 08:18 AM
alias mo {
var %i 1
while (%i <= $nick($chan,0)) {
if ($nick($chan,%i) !isop $chan) {
mode # +o $nick($chan,%i)
}
inc %i
}
}

alias mv {
var %i 1
while (%i <= $nick($chan,0)) {
if ($nick($chan,%i) !isvoice $chan) {
mode # +v $nick($chan,%i)
}
inc %i
}
}

alias mh {
var %i 1
while (%i <= $nick($chan,0)) {
if ($nick($chan,%i) !ishop $chan) {
mode # +h $nick($chan,%i)
}
inc %i
}
}

or if you dont want to mass op,half-op or voice, use:

menu nicklist {
Mass Selected: $$?="+ or -" $+ $str($$?="o,v,h",$numtok($snicks,44)) $replace($snicks,$chr(44),$chr(32))
}
Posted By: lammkott Re: Few silly questions :/ - 01/07/03 12:06 PM
Quote:

2. is this kind of script possible:
/ao <nick> <channel> --> set nick to auto op list automatically to that <channel>
/av --> same thing with voice


/help /aop
/help /avoice
Posted By: Jagfire Re: Few silly questions :/ - 09/07/03 09:09 PM
Um, phoenix, that'll flood the user off almost always in a large channel. Use $modespl and multiple +o modes in one line.
© mIRC Discussion Forums