Remote adding to access list

By Mudkipz on Sep 06, 2008

Well, I decided to make a remote script to add to the access list remotly, then i realised the flaws, of people adding themselvs and finding a way to get high access, Well, i fastly fixed that, And now its all flawless, Thats right, iv accualy made a non-flawd script for once! ^.^

Credit to my bro for the idea & iBill for teaching me all i know!

SYNTAX: .add

on *:text:.Add*:#: {
  if ($3 == $nick) halt
  if ($nick isop $chan) {
    if ($me isop $chan) {
      set %add $nick
      set %access on
      set %achan $chan
      set %access2 $2
      set %anick $3
      cs access # list
    }
  }
}

on *:notice:*:?: {
  if (%access == on) {
    if (%add isin $2-) {
      if ($2 > %access2) {
        cs access %achan add %anick %access2
        notice %anick You now have %access2 access on %achan
        notice @ $+ %achan Access for %anick has just been changed to %access2
        set %access off
      }
    }
  }
}

Comments

Sign in to comment.
Mudkipz   -  Nov 05, 2008

T_Nick_T, you do realise it is a remote, Dont you? =p Just a mistake you can make if you forget that you cant use your own remote's on your own irc

 Respond  
napa182   -  Oct 07, 2008

are you typing .add lvl_number nick

 Respond  
T_Nick_T   -  Oct 07, 2008

So that's all I have to add or what cause it still doesn't seem to be working for me.

 Respond  
napa182   -  Oct 07, 2008

well you need to make sure what ever mirc you are runing this on that you have access to give chan lvl's...

you can just do

on *:text:.Add*:#: { 
  if ($nick != $3 && $nick isop # && $me isop # && $3 ison # && $2 isnum 3-10) { 
    .cs access # add $3 $2 
    .notice $3 You Just Got Access to # at lvl $2 from $nick 
  }  
}

oh and
Mudkipz said:

And now its all flawless, Thats right, iv accualy made a non-flawd script for once! ^.^

um nothing is flawless

 Respond  
T_Nick_T   -  Oct 06, 2008

Nice very nice but for some reason this doesn't want to work for me :(

 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.