Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # By @Adxm#1343
- #
- options:
- P: &3&lPWE&f
- S: $ # Money sign.
- command /pwe [<text>] [<offlineplayer>] [<integer>]:
- trigger:
- if arg-1 is "set":
- if arg-2 is set:
- if arg-3 is set:
- set {eco::%arg-2's uuid%::%player's world%} to arg-3
- send "{@P} %arg-2% now has {@S}%{eco::%arg-2's uuid%::%player's world%}% in world %player's world%."
- else:
- send "{@P} Syntax: /pwe set (player) (amount)."
- else:
- send "{@P} Syntax: /pwe set (player) (amount)."
- else if arg-1 is "give":
- if arg-2 is set:
- if arg-3 is set:
- add arg-3 to {eco::%arg-2's uuid%::%player's world%}
- send "{@P} %arg-2% now has {@S}%{eco::%arg-2's uuid%::%player's world%}% in world %player's world%."
- else:
- send "{@P} Syntax: /pwe give (player) (amount)."
- else:
- send "{@P} Syntax: /pwe give (player) (amount)."
- else if arg-1 is "remove":
- if arg-2 is set:
- if arg-3 is set:
- remove arg-3 from {eco::%arg-2's uuid%::%player's world%}
- send "{@P} %arg-2% now has {@S}%{eco::%arg-2's uuid%::%player's world%}% in world %player's world%."
- else:
- send "{@P} Syntax: /pwe remove (player) (amount)."
- else:
- send "{@P} Syntax: /pwe remove (player) (amount)."
- else:
- send "{@P} Commands"
- send "&7> &b/pwe set (player) (amount)"
- send "&7> &b/pwe give (player) (amount)"
- send "&7> &b/pwe remove (player) (amount)"
- send "&7> &b/bal [player] [world]"
- on join:
- if {eco::%player's uuid%::%player's world%} is not set:
- set {eco::%player's uuid%::%player's world%} to 0
- on world change:
- wait 1 second
- if {eco::%player's uuid%::%player's world%} is not set:
- set {eco::%player's uuid%::%player's world%} to 0
- command /bal [<offlineplayer>] [<text>]:
- trigger:
- if arg-2 is not set:
- if arg-1 is set:
- send "{@P} %arg-1%'s balance in this world: {@S}%{eco::%arg-1's uuid%::%player's world%}%."
- else:
- send "{@P} Your balance in this world: {@S}%{eco::%player's uuid%::%player's world%}%."
- else:
- send "{@P} %arg-1%'s balance in %arg-2%: {@S}%{eco::%arg-1's uuid%::%arg-2%}%."
Advertisement
Add Comment
Please, Sign In to add comment