Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.68 KB | None | 0 0
  1. on *:text:*:#newbot: {
  2.   if (*iDM* iswm $nick) {
  3.     if ($gettok($strip($1-),2,32) != $me && *HEALING* iswm $strip($1-)) {
  4.       set %tok $calc($numtok($strip($1-),32) - 5)
  5.       msg #newbot HP: $remove($gettok($strip($1-),%tok,32),:,.)
  6.     }
  7.     if ($gettok($strip($1-),2,32) == $me) {
  8.       msg #newbot HP: $remove($gettok($strip($1-),$numtok($strip($1-),32),32),:,.)
  9.     }
  10.     if ((*ready* iswm $strip($1-)) || (*has requested* iswm $strip($1-) && $gettok($strip($1-),2,32) != $me)) {
  11.       msg $chan .dm
  12.       set %spec 100
  13.     }
  14.     if ($gettok($strip($1-),15,32) == $me && *first move* iswm $strip($1-)) {
  15.       msg # . [ $+ [ $iif($rand(1,2) == 1, gmaul, bgs) ] ]
  16.       set %spec 0
  17.       halt
  18.     }
  19.     if ($gettok($strip($1-),15,32) != $me && *first move* iswm $strip($1-)) { halt }
  20.     if (*ready* iswm $strip($1-)) { halt }
  21.     if ($gettok($strip($1-),2,32) != $me && *has received* !iswm $strip($1-) && *KO* !iswm $strip($1-)) {
  22.       if (%spec == 100) {
  23.         set %rand $rand(1,8)
  24.         if (%rand == 1) { msg # .dclaws | dec %spec 50 | halt }
  25.         if (%rand == 2) { msg # .ags | dec %spec 50 | halt }
  26.         if (%rand == 3) { msg # .dds | dec %spec 25 | halt }
  27.         if (%rand == 4) { msg # .sgs | dec %spec 50 | halt }
  28.         if (%rand == 5) { msg # .dmace | dec %spec 50 | halt }
  29.         if (%rand == 6) { msg # .bgs | dec %spec 100 | halt }
  30.         if (%rand == 7) { msg # .gmaul | dec %spec 100 | halt }
  31.         if (%rand == 8) { msg # . [ $+ [ $iif($rand(1,2) == 1, fsurge, bbolt) ] ] | dec %spec 50 | halt }
  32.       }
  33.       if (%spec == 75) {
  34.         set %rand $rand(1,7)
  35.         if (%rand == 1) { msg # .dclaws | dec %spec 50 | halt }
  36.         if (%rand == 2) { msg # .ags | dec %spec 50 | halt }
  37.         if (%rand == 3) { msg # .dds | dec %spec 25 | halt }
  38.         if (%rand == 4) { msg # .sgs | dec %spec 50 | halt }
  39.         if (%rand == 5) { msg # .dmace | dec %spec 50 | halt }
  40.         if (%rand == 6) { msg # .dbow | dec %spec 75 | halt }
  41.         if (%rand == 7) { msg # . [ $+ [ $iif($rand(1,2) == 1, fsurge, bbolt) ] ] | dec %spec 50 | halt }
  42.       }
  43.       if (%spec == 50) {
  44.         set %rand $rand(1,6)
  45.         if (%rand == 1) { msg # .dclaws | dec %spec 50 | halt }
  46.         if (%rand == 2) { msg # .ags | dec %spec 50 | halt }
  47.         if (%rand == 3) { msg # .dds | dec %spec 25 | halt }
  48.         if (%rand == 4) { msg # .sgs | dec %spec 50 | halt }
  49.         if (%rand == 5) { msg # .dmace | dec %spec 50 | halt }
  50.         if (%rand == 6) { msg # . [ $+ [ $iif($rand(1,2) == 1, fsurge, bbolt) ] ] | dec %spec 50 | halt }
  51.       }
  52.       if (%spec == 25) { msg # .dds | dec %spec 50 | halt }
  53.       msg # . [ $+ [ $gettok(%weapons,$rand(1,5),32) ] ]
  54.     }
  55.   }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement