Advertisement
KyadCK

Untitled

Apr 27th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. Commands:
  2. res:
  3. Override: true
  4. Script:
  5. - '@IF i <distance:$Death.<cmdarg:1>:<playerloc>> < 10'
  6. - '@AND b $Death.<cmdarg:1> = True'
  7. - ' @SETBOOL $Revive.<cmdarg:1> true'
  8. - ' @TELL <cmdarg:1> &e<playername> is trying to revive you.'
  9. - ' @TELL <cmdarg:1> &eDo /RevAccept to accept the revive. You have 20 seconds to accept.'
  10. - ' @PAUSE 20'
  11. - ' @IF b $RevAccept.<cmdarg:1> = True'
  12. - ' @CMDCON tp <cmdarg:1> <playername>'
  13. - ' @SETBOOL $RevAccept.<cmdarg:1> = False'
  14. - ' @SETBOOL $Revive.<cmdarg:1> = False'
  15. - ' @SETBOOL $Death.<cmdarg:1> = False'
  16. - ' @ELSE'
  17. - ' @PLAYER &e<cmdarg:1> has refused your revival.
  18. - ' @SETBOOL $Revive.<cmdarg:1> = False'
  19. - ' @ENDIF'
  20. - '@ELSE'
  21. - ' @EXIT'
  22. - '@ENDIF'
  23. revaccept:
  24. Override: true
  25. Script:
  26. - '@IF b $Revive.<playername> = True'
  27. - ' @SETBOOL $RevAccept.<playername> True'
  28. - ' @PLAYER &eYou have accepted the Revival!'
  29. - '@ELSE'
  30. - ' @PLAYER &eYou are not dead!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement