Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elseif ($1 == .rw || $1 == .rw) {
- if (!$auth($nick)) { notice $nick Bot is checking Q-Auth login, wait a few seconds and try again | who $nick n%nat,1 }
- else {
- if (%gi) { return }
- var %u = $name($nick)
- if (!$hget(vouch,%u)) { return }
- if (!$2) { describe %ch Usage: .rw [player] | return }
- var %tu = $name($2)
- if (!$hget(vouch,%tu)) { return }
- if ($accessystem(%u,%tu).cmdrt == 0) { notice $nick You havent enough access to use this command | return }
- if (%tu == %u) { describe %ch $usercolor(%tu) You can not remove your warns | return }
- else {
- hdel warn $+(warn.,%tu,.,%game)
- noop $xsetuser(%tu,30).points
- noop $xsetuser(%tu,10).rep
- var %o1 = $+(03,30,)
- var %o2 = $+(03,10,)
- describe %ch Warn successfully removed, player $usercolor(%u) got 3 10 reputation, 3 30 points
- }
- }
- }
Add Comment
Please, Sign In to add comment