mIRC Homepage
Posted By: kenny158 scirpt - 12/02/07 02:37 AM
i want to know the script that when u put in like .h nick it halfops them and any other script that when it has a "." in front of it.
Posted By: wutteh Re: scirpt - 12/02/07 05:22 AM
are you looking for an INPUT command or ON TEXT command.. I mean.. you want the command to be evaluate localy or thru a bot ?
Posted By: Riamus2 Re: scirpt - 12/02/07 02:05 PM
Code:
on @*:text:.* &:#: {
  if ($nick isop $chan) {
    if ($1 == .v || $1 == .h || $1 == .o) {
      mode $chan $replace($1,.,+) $2
    }
  }
}
on @*:input:#: {
  if ($1 == .v || $1 == .h || $1 == .o) {
    mode $chan $replace($1,.,+) $2
  }
}


This will only work if the person using the commands is an op and only if the person running the script is opped. It will also work for the person running the script to type it.

.v nick
.h nick
.o nick

If you want it to work for specific people even if they aren't an op, then you'll want to use your userlist to specify who can use the script.
© mIRC Discussion Forums