You can do it various ways. If you want to halfop everyone when they join, you can press Alt-R > File > New and use this:
on @*:join:#yourchannel: {
mode $chan +h $nick
}
As long as you are opped, you will halfop everyone who joins.
You can also set it to halfop everyone in the channel (who isn't already halfop or higher) with:
menu channel {
Half-Op Everyone:if ($me isop $chan) { halfopall $chan } | else echo -a You're not an op. }
}
alias halfopall {
var %cnt = 1
var %total = $nick($chan,0,rv,o)
while (%cnt <= %total) {
var %halfops %halfops $nick($chan,%cnt,rv,o)
if ($gettok(%halfops,0,32) == 6) {
mode $1 +hhhhhh %halfops
unset %halfops
}
inc %cnt
}
if (%halfops) {
mode $1 + $+ $str(h,$gettok(%halfops,0,32)) %halfops
}
}
That will be in the channel's right click menu.
Also, if you want an easy command to halfop someone from the edit line, you can also add this to the script:
alias h {
if ($chan && $1 isin $chan) {
if ($me !isop $chan) { echo -a You're not an op in this channel. | return }
mode $chan +h $1
}
}
To use that, just type this in the channel:
/h nick