diff options
Diffstat (limited to 'data/defscript/aliases.kvs')
-rw-r--r-- | data/defscript/aliases.kvs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/data/defscript/aliases.kvs b/data/defscript/aliases.kvs index e8845ba3..5d8d7299 100644 --- a/data/defscript/aliases.kvs +++ b/data/defscript/aliases.kvs @@ -234,9 +234,9 @@ alias(kb) { if(%nick) { - %tqmask = $tqmask(%nick,$option(uintDefaultBanType)); + %mask = $mask(%nick,$option(uintDefaultBanType)); - if(!%tqmask)%tqmask = %nick; # plain ban + if(!%mask)%mask = %nick; # plain ban %reason = $1- #if(!%reason)%reason = "You're not welcome here!" @@ -250,8 +250,8 @@ alias(kb) # kick %nick %reason - if($chan.isOp(%nick))%raw2 = "mode $target -o+b %nick %tqmask" - else %raw2 = "mode $target +b %tqmask" + if($chan.isOp(%nick))%raw2 = "mode $target -o+b %nick %mask" + else %raw2 = "mode $target +b %mask" raw -q %raw2$cr$lf%raw } @@ -484,28 +484,28 @@ alias(awayall) alias(notify) { # This one adds a registered users database entry - # For the specified nick and uses the specified tqmask - # If no tqmask is specified , a default one is constructed + # For the specified nick and uses the specified mask + # If no mask is specified , a default one is constructed # Then the "notify" property is set for the user if(!$0) { echo $tr("Usage:") - echo " /notify <nick> [tqmask]" + echo " /notify <nick> [mask]" halt } - # Get the tqmask + # Get the mask - %tqmask = $1 + %mask = $1 - # no tqmask specified ? build it + # no mask specified ? build it - if(!%tqmask)%tqmask = $0!*@* + if(!%mask)%mask = $0!*@* # Now add the user (but do not replace old entries) - reguser.add -f -q $0 %tqmask + reguser.add -f -q $0 %mask # Merge the notify property part with the old one (if any) @@ -526,8 +526,8 @@ alias(notify) alias(ignore) { # This one adds a registered users database entry - # For the specified nick and uses the specified tqmask - # If no tqmask is specified , a default one is constructed + # For the specified nick and uses the specified mask + # If no mask is specified , a default one is constructed # Then the "ignore" property is set for the user to 1 if(!$0) @@ -539,7 +539,7 @@ alias(ignore) # Now add the user (but do not replace old entries) - reguser.add $0 $tqmask($0,15); + reguser.add $0 $mask($0,15); # And finally set the property (use -n so the notify lists will be restarted) # Check if ignore or unignore the user |