nfell2009

Death Costs

Apr 15th, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.57 KB | None | 0 0
  1. on respawn:
  2.     {myc.enabled} is true:
  3.         set {_money} to {myc.%player%.money}
  4.         set {_money} to {_money} * .25
  5.         set {myc.%player%.money} to {myc.%player%.money} - {_money}
  6.         message "{@P} You lost: %{_money}% from that death!"
  7.         log "[MyC] %player% lost: {_money} from death!" to "myc/%player%"
  8.         set {myc.%player%.lastpayto} to "Server - Due to Death!"
  9.         set {myc.%player%.lastpayout} to "%{_money}%"
  10.     else:
  11.         set {_money} to player's balance
  12.         set {_money} to {_money} * .25
  13.         message "{@P} You lost: %{_money}% from that death!"
  14.         subtract {_money} from player's balance
Advertisement
Add Comment
Please, Sign In to add comment