As you might know:Airwave wrote:I'm Looking for script that provide this things: I need some protection flag for example +P , if permanent owner set this flag for user, then no one +n +m can't change flags/hosts/.-user on this user record. If anyone have such script or know any smilar scripts, please let me know !
This variable is included in the Alltools.tcl, which is distributed with every eggdrop:Airwave wrote:I'm Looking for script that provide this things: I need some protection flag for example +P , if permanent owner set this flag for user, then no one +n +m can't change flags/hosts/.-user on this user record. If anyone have such script or know any smilar scripts, please let me know !
Code: Select all
proc ispermowner {hand} {
global owner
regsub -all -- , [string tolower $owner] "" owners
if {([matchattr $hand n]) && \
([lsearch -exact $owners [string tolower $hand]] != -1)} then {
return 1
}
return 0
}