Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. (this is an alias I use with the ^prospecting$ command call)
  2.  
  3.  
  4. function toggleattack()
  5. --this function will toggle the turbo attack to on/or off using the string atkstr
  6. if atkstr == not active then
  7. echo(" Turbo attack Activated ")
  8. setBackgroundImage("turbobut", zulahhomeyDir.."/greenButton.png" );
  9. atkstr = active
  10.  
  11. else
  12. echo(" Turbo attack Deactivated ")
  13. atkstr = not active
  14. setBackgroundImage("turbobut", zulahhomeyDir.."/redButton.png" );
  15.  
  16. end
  17. end
  18.  
  19.  
  20. (this is the trigger that calls it)
  21.  
  22. if prospecting == active then
  23. send ("prospect")
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement