Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.04 KB | None | 0 0
  1. on *:text:.warn*:%ch: {
  2.   if ( %ulvl > 100 ) {
  3.     if ( $3 == 1) {
  4.       var %ru = $getid($2)
  5.       var %exp = $round($calc( -1 * $abs(10)),0)
  6.       var %oldxp $user(%ru).exp
  7.       noop $xsetuser(%ru,%exp).exp
  8.       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
  9.     }  
  10.     if ( $3 == 2) { var %ru = $getid($2)
  11.       var %exp = $round($calc( -1 * $abs(15)),0)
  12.       var %oldxp $user(%ru).exp
  13.       noop $xsetuser(%ru,%exp).exp
  14.       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
  15.     }
  16.     if ( $3 == 3) { var %ru = $getid($2)
  17.       var %exp = $round($calc( -1 * $abs(20)),0)
  18.       var %oldxp $user(%ru).exp
  19.       noop $xsetuser(%ru,%exp).exp
  20.       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
  21.     }
  22.   }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement