Advertisement
KyadCK

Untitled

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