Leal9001

Untitled

Jul 11th, 2013
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 1.88 KB | None | 0 0
  1. on *:text:*:#: {
  2.   var %m msg $chan
  3.   if ($me == Gervasio) {
  4.     if ($1 == .start) {
  5.       set %q $rand(1,3)
  6.       if (%q == 1) %m Qual a dorga mais forte?
  7.       if (%q == 2) %m Qual a dorga mais bonita
  8.       if (%q == 3) %m Qual a dorga mais coisita
  9.     }
  10.     if (($1 == heroína) && (%q == 1)) {
  11.       set $+(%,$nick,.score) $calc($($+(%,$nick,.score),2) + 1)
  12.       set $+(%,$nick,.all) $+($nick,-,$($+(%,$nick,.score),2))
  13.       set $+(%,$nick,.prev) $reptok($($+(%,$nick,.all),2),$($+(%,$nick,.score),2),$calc($($+(%,$nick,.score),2) - 1),1,45)
  14.       if ($istok(%score,$($+(%,$nick,.prev),2),32) == $false) set %score %score $($+(%,$nick,.all),2) /
  15.       else set %score $reptok(%score,$($+(%,$nick,.all),2),$($+(%,$nick,.all),3),1,32)
  16.       %m Parabéns $nick $+ ! Está correcto! %score
  17.     }
  18.     if (($1 == marijuana) && (%q == 2)) {
  19.       set $+(%,$nick,.score) $calc($($+(%,$nick,.score),2) + 1)
  20.       set $+(%,$nick,.all) $+($nick,-,$($+(%,$nick,.score),2))
  21.       set $+(%,$nick,.prev) $reptok($($+(%,$nick,.all),2),$($+(%,$nick,.score),2),$calc($($+(%,$nick,.score),2) - 1),1,45)
  22.       if ($istok(%score,$($+(%,$nick,.prev),2),32) == $false) set %score %score $($+(%,$nick,.all),2) /
  23.       else set %score $reptok(%score,$($+(%,$nick,.all),2),$($+(%,$nick,.all),3),1,32)
  24.       %m Parabéns $nick $+ ! Está correcto! %score
  25.     }
  26.     if (($1 == cocaína) && (%q == 3)) {
  27.       set $+(%,$nick,.score) $calc($($+(%,$nick,.score),2) + 1)
  28.       set $+(%,$nick,.all) $+($nick,-,$($+(%,$nick,.score),2))
  29.       set $+(%,$nick,.prev) $reptok($($+(%,$nick,.all),2),$($+(%,$nick,.score),2),$calc($($+(%,$nick,.score),2) - 1),1,45)
  30.       if ($istok(%score,$($+(%,$nick,.prev),2),32) == $false) set %score %score $($+(%,$nick,.all),2) /
  31.       else set %score $reptok(%score,$($+(%,$nick,.all),2),$($+(%,$nick,.all),3),1,32)
  32.       %m Parabéns $nick $+ ! Está correcto! %score
  33.     }
  34.   }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment