/*
 * The FE script... showing you the wonders of /fe!
 * Current supported version: ircii-EPIC
 * Mass* has never been easier! (tm)
 */

alias opalot fe ($2-) xx yy zz {mode $0 $1ooo $xx $yy $zz}

alias banalot fe ($2-) xx yy zz {mode $0 $1bbb $xx $yy $zz}

alias kickalot fe ($1-) xx {kick $0 $xx}

alias masskick kickalot ${[$0]?[$0]:C} $remw($N $onchannel($0))

alias massdeop opalot ${[$0]?[$0]:C} - $remw($N $chops($0))

alias opall opalot ${[$0]?[$0]:C} + $nochops($0)

alias cuh {
	^local foobar
	fe ($onchannel($0)) ix { push foobar $userhost($ix) }
	@ function_return = foobar
}

alias botsweep {
	^local chan,nick,uhs
	@ chan = [$1]?[$1]:C
	@ nick = onchannel($chan)
	@ uhs = cuh($nick)
	kickalot $chan $copattern($uh($0) uhs nick)
}
 
load guh
#hop'94
