Advertisement
Sanwi

fortify

Mar 19th, 2014
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. // Bind this first section to a key for choosing the group
  2. $${
  3. @&fortifygroup
  4. }$$
  5.  
  6.  
  7. // Bind this section to a key to toggle the current group.
  8. // If you're holding an iron door, it will pick a diamond (if you have one on your hotbar), echo the fortify command,
  9. // then pick the door again.
  10.  
  11. $${
  12. if(%ITEM% = "iron_door");
  13. pick("diamond");
  14. wait(50ms);
  15. echo("/ctf group %@&fortifygroup%");
  16. wait(50ms);
  17. pick("iron_door")
  18. else;
  19. log("%@&fortifygroup%");
  20. echo("/ctf group %@&fortifygroup%");
  21. endif;
  22. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement