XCept Easy Mode v1.1

By Pwntage`Ninja on Mar 30, 2007

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
}

Comments

Sign in to comment.
Darkkeeper   -  Apr 06, 2007

XD i love it, it rocks, its easyer to do bigger commands like +ime (nick) and stuff like that lol. Dude all your scripts rock XD, i love you acro script lol

 Respond  
Pwntage`Ninja   -  Apr 04, 2007
menu channel {
  $iif(%xc.mode = on,$style(1)) Easy Mode:/chg
}

You\'re got to right click in the channel and turn it on o_o Because by default, it\'s off when you load it.

 Respond  
Pwntage`Ninja   -  Apr 01, 2007

Meh it\'s okay. The whole point of this was to stop scripts that went:

 If ($1 = +m) { mode $chan +m }
If ($1 = -m) { mode $chan -m }
If ($1 = +o) { mode $chan +o $2- }

And etc.
=]

 Respond  
Darkkeeper   -  Apr 01, 2007

XD scratch that, XD yours rocks XD didnt notice the multi mode thing XD

 Respond  
Darkkeeper   -  Apr 01, 2007

ehh its ok but its easyer to use somthing like this

on :input:: {
if ($$1 === .M) { /mode # $2 $3 }
}

$2 represents the mode like +Q -Q and so on
$3 represents a nick like .M +e Darkkeeper

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.