Guest User

Untitled

a guest
Nov 24th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. elseif ($1 == .rw || $1 == .rw) {
  2. if (!$auth($nick)) { notice $nick Bot is checking Q-Auth login, wait a few seconds and try again | who $nick n%nat,1 }
  3. else {
  4. if (%gi) { return }
  5. var %u = $name($nick)
  6. if (!$hget(vouch,%u)) { return }
  7. if (!$2) { describe %ch Usage: .rw [player] | return }
  8. var %tu = $name($2)
  9. if (!$hget(vouch,%tu)) { return }
  10.  
  11. if ($accessystem(%u,%tu).cmdrt == 0) { notice $nick You havent enough access to use this command | return }
  12. if (%tu == %u) { describe %ch $usercolor(%tu) You can not remove your warns | return }
  13.  
  14.  
  15.  
  16. else {
  17. hdel warn $+(warn.,%tu,.,%game)
  18. noop $xsetuser(%tu,30).points
  19. noop $xsetuser(%tu,10).rep
  20. var %o1 = $+(03,30,)
  21. var %o2 = $+(03,10,)
  22. describe %ch Warn successfully removed, player $usercolor(%u) got 3 10 reputation, 3 30 points
  23.  
  24. }
  25. }
  26. }
Add Comment
Please, Sign In to add comment