PtokaX forum

Archive => Leviathan => AllInOne Scripts => Archived 5.1 boards => Leviathan - Bugs => Topic started by: Bumbi on 06 April, 2007, 12:43:44

Title: [solved] Getpass in LV 3.21 and 3.22
Post by: Bumbi on 06 April, 2007, 12:43:44
Hi
My Op's cant use !getpass <nick> for offline Op's
How can I fix this??

Best Regards from Bumbi
Title: Re: Getpass in LV 3.21 and 3.22
Post by: Cêñoßy†ê on 06 April, 2007, 13:01:26
To get Operators password user needs to have higher Profile than OP.
Leviathan uses own protection table for that

Code (lua) Select

Pro = { -- Protection table
[0] = {[0] = 1,[1] = 1,[2] = 1,[3] = 1,[-1] = 1,},
[1] = {[2] = 1,[3] = 1,[-1] = 1,},   <-- profile 1/operator can kick/ban/getpass etc from profiles 2/vip 3/reg -1/unregged user
[2] = {},
[3] = {},
[-1] = {},
}
Title: Re: Getpass in LV 3.21 and 3.22
Post by: Bumbi on 06 April, 2007, 13:33:36
Quote from: C??o?y?? on 06 April, 2007, 13:01:26
To get Operators password user needs to have higher Profile than OP.
Leviathan uses own protection table for that

Code (lua) Select

Pro = { -- Protection table
[0] = {[0] = 1,[1] = 1,[2] = 1,[3] = 1,[-1] = 1,},
[1] = {[2] = 1,[3] = 1,[-1] = 1,},   <-- profile 1/operator can kick/ban/getpass etc from profiles 2/vip 3/reg -1/unregged user
[2] = {},
[3] = {},
[-1] = {},
}


Thanks .. Changed and working