Jump to content

Making an PayHour Skript but i want it to send to everyone


Patsteaks123

Recommended Posts

If I do send "" to all players the result will be none and every will see the same message

 

options:
  prefix: &8&l>> &6ECO PAYHOUR &8&l<<

variables:
  {cash.%player%} = 0

command /esspayloop:
 trigger:
  send "Loop started" to player
  wait 30 minutes
  set {cash.%player%} to a random integer between 100 and 2000
  execute console command "eco give * %{cash.%player%}%"
  broadcast "{@prefix}"
  broadcast "&6PAYHOUR!!!" 
  send "&6PayCheck Owner: &8%player%" to player
  send "&6Cash: &8%{cash.%player%}%" to players
  send "&6Sender: &8PAYHOUR" to players
  broadcast "{@prefix}"
  
  execute console command "/esspayloop"

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...