Ban Protection

Platform:  mIRC
Published  Jan 28, 2008
Updated  Jan 28, 2008
Someone wanted to prevet being added to a ban access & having room taken so here it is the perfect protection. :) It deletes ban every two seconds, adds you as ownwer every 2 seconds & changes owner pass every two seconds. Enjoy


Menu * {

-
Clear Own Deny(2sec)
..$iif(%clearban == 1,$style(1)) ºOnº:set %clearban 1 | timerclearban 0 2 clearban
..$iif(%clearban == 0,$style(1)) ºOffº:set %clearban 0 | timerclearban off
-
Add Owner(2sec)
..$iif(%addowner == 1,$style(1)) ºOnº:set %addowner 1 | timeraddowner 0 2 addowner
..$iif(%addowner == 0,$style(1)) ºOffº:set %addowner 0 | timeraddowner off
-
Change Pass(2sec)
..$iif(%propowner == 1,$style(1)) ºOnº:set %propowner 1 | timerpropowner 0 2 propowner
..$iif(%propowner == 0,$style(1)) ºOffº:set %propowner 0 | timerpropowner off
-
}

alias clearban { .raw access # delete deny $+(*!*, $Ial($me).addr) }
alias addowner { .raw access # ADD OWNER $+(*!*, $Ial($me).addr) 0 }
alias propowner { .raw prop # ownerkey $me $+ $r(a,z) $+ $r(0,9) $+ $r(a,z) }

Comments

Sign in to comment.
ISM   -  Jan 29, 2008
is this code working or not if does working where is it goes to::; thx for help
 Respond  
BytchAmy   -  Jan 28, 2008
Noutrious


inc -u2 means the time that the variable is kept in vars

but theres many ways to do stuff
 Respond  
mountaindew   -  Jan 28, 2008
wait, my bad, i was thinking the aliases were inside the menu for some strange reason :/
 Respond  
BytchAmy   -  Jan 28, 2008
Noutrious
Try it out before u say it isnt usefull :D Mountaindew ya noticed that & alreasdy added a }
 Respond  
Noutrious   -  Jan 28, 2008
Whats the just of variables if they dont do anything + instead of two commands u could just inc -u2 %clearban and so and so, this really isn\'t useful.
 Respond  
mountaindew   -  Jan 28, 2008
forgettin a } at the end
 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.