Skip to content

Evaluating wealth

Sven Rahn edited this page Jun 19, 2018 · 4 revisions
aliases {
  "wealth {0}" {
    commands=[
      """*cu execute if "*cu has money {0} 12" "internal_wealth_1 {0}"""",
      """*cu execute if not "*cu has money {0} 12" "*say {0} is broke!""""
    ]
    permission=""
  }
  "internal_wealth_1 {0}" {
    commands=[
      "*say {0} has a little money",
      """*cu execute if "*cu has money {0} 25" "*say and even a bit more!""""
    ]
    permission=admin
  }
}

Execute like: /wealth <player>

Clone this wiki locally