mIRC Home    About    Download    Register    News    Help

Print Thread
Custom levels? #218232 06/02/10 05:01 PM
Joined: Feb 2010
Posts: 1
I
iFeelGood Offline OP
Mostly harmless
OP Offline
Mostly harmless
I
Joined: Feb 2010
Posts: 1
Is it possible to make it so that level 1 is Voice, level 2 is voice with +a, level 3 is half op, level 4 is halfop with +a level 5 is op,level 6 is op with +a and level 7 is op with full administrative priviledges?

Re: Custom levels? [Re: iFeelGood] #218237 06/02/10 07:19 PM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Yeah it's possible. If I add /auser -a 1 iFeelGood
This will add you to mirc's user list with a level 1
Then depending on any event you choose to use:
Code:
on 1:event: {
 if ($nick isvoice $chan) { do stuff }
}


Same thing for level 2 voice with +a
/auser -a 2 AnotherUser
Code:
on 2:event: {
if ($nick(#,$nick,&)) && ($nick isvoice #) {

etc...
Code:
on 3:event: {
 if ($nick ishop $chan) { do stuff }
}

Code:
on 4:event: {
if ($nick(#,$nick,&)) && ($nick ishop #) {

Re: Custom levels? [Re: Tomao] #218248 07/02/10 12:07 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Please note that, by default, all users have level 1 access.

Additionally, you can use words rather than numbers for access levels.

Re: Custom levels? [Re: RusselB] #218266 07/02/10 08:59 AM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Originally Posted By: RusselB
Please note that, by default, all users have level 1 access.
Thank you.