Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.72 KB | None | 0 0
  1. Include("presto\\Match.cs");
  2. Include("presto\\Event.cs");
  3. Include("presto\\menu.cs");
  4.  
  5. ////Tden Mage Script
  6. ////
  7. ////
  8.  
  9. event::Attach(eventClientMessage, SB::Tdenmage);
  10. function SB::Tdenmage (%cl, %msg)
  11. {
  12.     if (String::FindSubStr(%msg, "resist ") != -1)
  13.     {
  14.         %botmatch = Match::String(%msg, "You resist *'s spell!");
  15.         %bot = Match::Result(0);
  16.  
  17.         if (%botmatch != "0")
  18.         {
  19.             if (%bot == "Antoni" || %bot == "Duke" || %bot == "Mark" || %bot == "Micheal")
  20.                 {
  21.                     schedule("Stop::AutoCast();", 0.1);
  22.                     schedule("say(0, \"#cast powercloud\");", 1.0);
  23.                     schedule("DeusRPG::AutoCast(\"MassHeal\");", 1.5);
  24.                 }
  25.             else
  26.                 echo("wat");
  27.         }
  28.         else
  29.             echo("No bot match!");
  30.     }
  31.     else
  32.         return;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement