Is it posible to add a profile like "Owner" in the profile.dat without making an error?
I have tried: 0|Owner|11111111111111111111000000000000
1|Master|11111111111111111111000000000000
2|Operator|11111100011001111111000000000000
3|VIP|10000000000001111000000000000000
4|Reg|10000000000000000000000000000000
But it keeps making an error... why...?
i hae it like this
0|Master|11111111111111111111000000000000
1|Operator|11111100011001111111000000000000
2|VIP|10000000000001111000000000000000
3|Reg|10000000000000000000000000000000
4|Hubowner|11111111111111111111000000000000
safe, yeah there is a way 2 add a profile u can just click on advanced options and den profile manager. owner is master anyway. why don't u add a admin profile dat might help u out mine is like dis at the moment. :D
0|Master|11111111111111111111000000000000
1|Operator|11110100011101110111000000000000
2|VIP|10000000000000111000000000000000
3|Reg|10000000000000000000000000000000
4|Newbie|10000000000000000000000000000000
5|Moderator|11110110011101110111000000000000
6|Admin|11110111111111111111000000000000
looks like ac beat me.lol :D
Yeh, but if you are adding a profile in the "profile manager", fx. Owner... A normal OP could Kick the owner... and not the other way around...
lol. if that happens what u need is den is a script.lol. there is a script somewhere around dat stops a op from kicking another op. :D
Is it posible somehow to remove those profiles that are already there...?
QuoteOriginally posted by Smulf
Is it posible somehow to remove those profiles that are already there...?
yup
open the profiles.dat
and remove it all
;)
------offf topic----
and yes i beat you all ;) lo
Okay that was a easy sulution, but what depence on if the can't be removed in the "Profile manager"...?
QuoteOriginally posted by Smulf
Okay that was a easy sulution, but what depence on if the can't be removed in the "Profile manager"...?
nope its inbuild :(
so can't be done perhaps in ptokax 3.3.0 ?(
maybe ptakzak can do it so we can also change names and delete profiles on da software without needing 2 open up profile.dat. :D
you can solve this by making the script renumber the levels.
levels = {
["0"]=3,
["1"]=2,
["2"]=1,
["3"]=0,
["4"]=4 }
if levels[user.iProfile] > levels[victim.iProfile] then
--do your kicking stuff here
else
user:SendData(Bot, "bad bad boy don't try 2 kick users of a higher level then you")
end
plop
Thanks for it, but I can't get it working...If you have time it would be nice, but if u havn't it's ok.
well you doing it wrong anyhow just move them down by a rank, Reg is not important anyhow, so technically you cud just remove it ;)
1|Owner|11111111111111111111000000000000
2|Master|11111111111111111111000000000000
3|Operator|11111100011001111111000000000000
4|VIP|10000000000001111000000000000000
5|Reg|10000000000000000000000000000000
l8rr
Thanks for it UK...
QuoteOriginally posted by Smulf
Thanks for it UK...
np problem ;)
Plop it's okay I'v found it, thanks for your time...
QuoteOriginally posted by Smulf
Plop it's okay I'v found it, thanks for your time...
np.
and phatty all i had 2 do for the switch from icecube 2 tesdrive was alter 1 function, as i don't have more then the default levels.
i can't see the need for all those extra levels.
plop