Popup Unban

By Soulkeeper on May 13, 2009

So, I was getting into making a bunch of popups for my script, and decided I wanted one to unban a user. The problem was, getting the right mask that I banned, and all of that. So I made this.

All it does is save a little bit of time, by allowing you to right click, and it removes your latest ban on said user.

alias cBans {
  var %% 0
  while (%% <= $ibl(#,0)) {
    if (($ibl(#,%%).by == $address($me,5)) && ($ibl(#,%%) iswm $address($1,5))) {
      mode $active -b $ibl($active,%%)
    }
    inc %%
}
}
menu nicklist {
Unban:/cBans $1
}

Comments

Sign in to comment.
Soulkeeper   -  May 13, 2009

Fixed

 Respond  
Anup   -  May 13, 2009

Yeah

 Respond  
WorldDMT   -  May 13, 2009

hi

u have one "}" needed on the alias after the inc %%

 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.