Sorry i don't know how to format,
command /gen [<text>] [<text>] [<text>]:
permission: sk.gen
trigger:
if arg-1 is not set:
send "&a---------------------------------"
send "&b/gen set <name> | creates a gen at your feet"
send "&b/gen item <name> <item>"
send "&b/gen amount <name> <time>"
send "&b/gen delay <name> <time>"
send "&b/gen delete <name>"
send "&a---------------------------------"
if arg-1 is "set":
set {%arg-2%.genloc} to location of player
send "Position: %{%arg-2%.genloc}%"
add arg-2 to {gens::*}
if arg-1 is "item":
set {%arg-2%.genitem} to arg-3
send "Item: %arg-3%"
if arg-1 is "spawnrate" or "spawntime" or "spawndelay" or "delay":
set {%arg-2%.gendelay} to arg-3
send "%{%arg-2%.genitem}% will now spawn every %arg-3% seconds"
if arg-1 is "spawnamount" or "amount":
set {%arg-2%.genamount} to arg-3
send "%{%arg-2%.genamount}% %{%arg-2%.genitem}% will be spawned every %{%arg-2%.gendelay}% seconds"
if arg-1 is "info":
send "Gen: %arg-2%"
send "Position: %{%arg-2%.genloc}%"
send "Item: %{%arg-2%.genitem}%"
send "Delay: %{%arg-2%.gendelay}%"
send "Amount: %{%arg-2%.genamount}%"
every second:
I wan't to gen items every delay length but i can't think of a way to do that without going one by one and saying wait genname delay, is there a way to put it all in one i guess is the correct way to say it
command /gen [<text>] [<text>] [<text>]:
permission: sk.gen
trigger:
if arg-1 is not set:
send "&a---------------------------------"
send "&b/gen set <name> | creates a gen at your feet"
send "&b/gen item <name> <item>"
send "&b/gen amount <name> <time>"
send "&b/gen delay <name> <time>"
send "&b/gen delete <name>"
send "&a---------------------------------"
if arg-1 is "set":
set {%arg-2%.genloc} to location of player
send "Position: %{%arg-2%.genloc}%"
add arg-2 to {gens::*}
if arg-1 is "item":
set {%arg-2%.genitem} to arg-3
send "Item: %arg-3%"
if arg-1 is "spawnrate" or "spawntime" or "spawndelay" or "delay":
set {%arg-2%.gendelay} to arg-3
send "%{%arg-2%.genitem}% will now spawn every %arg-3% seconds"
if arg-1 is "spawnamount" or "amount":
set {%arg-2%.genamount} to arg-3
send "%{%arg-2%.genamount}% %{%arg-2%.genitem}% will be spawned every %{%arg-2%.gendelay}% seconds"
if arg-1 is "info":
send "Gen: %arg-2%"
send "Position: %{%arg-2%.genloc}%"
send "Item: %{%arg-2%.genitem}%"
send "Delay: %{%arg-2%.gendelay}%"
send "Amount: %{%arg-2%.genamount}%"
every second:
I wan't to gen items every delay length but i can't think of a way to do that without going one by one and saying wait genname delay, is there a way to put it all in one i guess is the correct way to say it