Page 2 of 2

Posted: Sat Nov 04, 2006 6:16 am
by Chimp
can u at least start me off and then i can copy?

Posted: Sat Nov 04, 2006 6:43 am
by SpaceDoG
on *:text:#channel:!a: {
mode # +a $nick
}

That's just a basic that will give anyone who types !a admin.

Posted: Sat Nov 04, 2006 5:25 pm
by Chimp
o comon not the easy part. meant the kick with +a detection

Posted: Sat Nov 04, 2006 7:10 pm
by SpaceDoG

Code: Select all

on *:join:#channel: {
  set % $+ $nick false
}

on *:text:#channel:!a: {
  if (% $+ $nick == false) {
    mode # +a $nick
    set % $+ $nick true
   } else {
    mode # -a $nick
    set % $+ $nick == false
  }
}

on *:kick:#channel: {
  if (% $+ $nick == true) {
    mode # -a $nick
  set % $+ $nick false
  } else {
    halt
  }
}

on *:nick: {
  set % $+ $newnick % $+ $nick
  unset % $+ $nick
}
That should work as long as you don't auto +a anyone in the channel

Posted: Sun Nov 05, 2006 5:13 am
by Chimp
thanks but could u explain y no one should be auto +a just outta curiosity :D

Posted: Sun Nov 05, 2006 5:54 am
by SpaceDoG
The reason you don't want to +a someone is because as far as I can tell mIRC does not yet support +a/+q. yea I know that sounds crappy but that's the way that it is.