The point of this script, is to save time with mode setting. Sometimes you really need to get that +m on to stop a flooder, or that +Q up to stop a mass kick. So use this.
If you need any help on mode settings, use /help /mode
This script works almost exactly like /mode, excluding you don't need the command itself, as well as the channel name. Just the modes and parameters
Say I wanted to set +m on my active channel.
I type, in said active channel
<@Bebop> +m
- Bebop sets mode: +m
That would be the result.
It can also set more than one mode at a time as well.
Say I wanted to +v myself, +h myself, and -o myself
I could type +vh-o Bebop Bebop Bebop
<@Bebop> +vh-o Bebop Bebop Bebop
- Bebop sets mode: +vh-o Bebop Bebop Bebop
That would happen.
** Note: This script is by default set to "Off" when loaded, so by right clicking in the channel and clicking on Easy Mode if a Check-mark isn't beside it, will turn it on. It should also echo into your active window if it is On or Off. The On/Off is reset when you unload it/exit mIRC. This does NOT work, if you are in the middle of pasting, or holding down the Ctrl button. This script will not work unless you are an op/halfop, and, still some of these modes won't work for you. /helpop ?chmodes for a full list of channel modes and their uses.
Update v1.1
Added in a /haltdef into the on INPUT, so that it would look like this:
[07:24:11] * [McK]Swords sets mode: +m
[07:24:11] <~[McK]Swords> +m
** Loading: Paste into remotes a new remotes section (alt + r ---> File ---> New)
on *:START: {
%xc.version = v1.0
%xc.mode = off
echo -a 3,1.9:15XCept Easy Mode %xc.version Loaded9:3.
}
on *:EXIT: { unset %xc.mode %xc.version }
on *:UNLOAD: { unset %xc.mode %xc.version }
on *:INPUT:#: {
If (!$inpaste) && (!$ctrlenter) && (%xc.mode = on) {
If ($me isop $active) || ($me ishop $active) {
If ($left($1-,1) = -) || ($left($1-,1) = +) {
haltdef
If ($findtok(+v.+h.+o.+a.+q.+b.+c.+e.+I.+f.+i.+j.+k.+l.+m.+n.+p.+r.+s.+t.+z.+A.+C.+G.+M.+K.+L.+N.+O.+Q.+R.+S.+T.+V.+u.-v.-h.-o.-a.-q.-b.-c.-e.-I.-f.-i.-j.-k.-l.-m.-n.-p.-r.-s.-t.-z.-A.-C.-G.-M.-K.-L.-N.-O.-Q.-R.-S.-T.-V.-u,$left($1,2),0,46) > 0) { mode $active $1- }
If ($findtok(+v.+h.+o.+a.+q.+b.+c.+e.+I.+f.+i.+j.+k.+l.+m.+n.+p.+r.+s.+t.+z.+A.+C.+G.+M.+K.+L.+N.+O.+Q.+R.+S.+T.+V.+u.-v.-h.-o.-a.-q.-b.-c.-e.-I.-f.-i.-j.-k.-l.-m.-n.-p.-r.-s.-t.-z.-A.-C.-G.-M.-K.-L.-N.-O.-Q.-R.-S.-T.-V.-u,$left($1,2),0,46) = 0) { echo -a 3,1.9:15" $+ $remove($1,-,+) $+ " Is an unknown mode to me9:3. }
}
}
}
}
alias -l chg {
If (%xc.mode = on) { set %xc.mode off | echo -a 3,1.9:15XCept %xc.version Easy Mode Off | halt }
If (%xc.mode = off) { set %xc.mode on | echo -a 3,1.9:15XCept %xc.version Easy Mode On | halt }
}
menu channel {
$iif(%xc.mode = on,$style(1)) Easy Mode:/chg
}