Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.92 KB | None | 0 0
  1.  
  2. on *:text:.warn*:%ch: {
  3.  if ( %ulvl > 100 ) {
  4.   if ( $3 == 1){
  5.  var %ru = $getid($2)
  6. var %exp = $round($calc( -1 * $abs(10)),0)
  7. var %oldxp $user(%ru).exp
  8. noop $xsetuser(%ru,%exp).exp
  9. describe $chan user $2 just got warned by $nick with $3 Reason: $4 ,Experience points changed from %oldxp to $calc( %oldxp + %exp ) and Reputation changed -5
  10. }  
  11. if ( $3 == 2) { var %ru = $getid($2)
  12.  var %exp = $round($calc( -1 * $abs(15)),0)
  13. var %oldxp $user(%ru).exp
  14. noop $xsetuser(%ru,%exp).exp
  15. describe $chan user $2 just got warned by $nick with $3 Reason: $4 ,Experience points changed from %oldxp to $calc( %oldxp + %exp ) and Reputation changed -10
  16. }
  17. if ( $3 == 3) { var %ru = $getid($2)
  18.  var %exp = $round($calc( -1 * $abs(20)),0)
  19. var %oldxp $user(%ru).exp
  20. noop $xsetuser(%ru,%exp).exp
  21. describe $chan user $2 just got warned by $nick with $3 Reason: $4 ,Experience points changed from %oldxp to $calc( %oldxp + %exp ) and Reputation changed -15
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement