Hello!
I have made a script to remove entities:
The errors are:
Line 10: (extraclearlag.sk)
Can't understand this condition/effect: actionbar "&4BMJbox ? &cAll entities will be removed in &710 &cseconds!"
Line: actionbar "&4BMJbox ? &cAll entities will be removed in &710 &cseconds!"
Line 13: (extraclearlag.sk)
Can't understand this condition/effect: actionbar "&4BMJbox ? &cAll entities will be removed in &75 &cseconds!"
Line: actionbar "&4BMJbox ? &cAll entities will be removed in &75 &cseconds!"
Line 23: (extraclearlag.sk)
Can't understand this condition/effect: loop dropped items at world
Line: loop dropped items at world
Line 24: (extraclearlag.sk)
There's no loop that matches 'loop-value'
Line: if loop-value is more than 50:
Encountered 6 errors while reloading extraclearlag.sk! (12ms)
What I want is:
If there are more than 50 dropped items then execute console command "/killall entities world"
And the actionbar
Thank you for help!
I have made a script to remove entities:
Code:
every 5 minutes:
wait 60 seconds
broadcast "&4BMJbox » &cAll entities will be removed in &760 &cseconds!"
actionbar "&4BMJbox » &cAll entities will be removed in &760 &cseconds!"
wait 30 seconds
broadcast "&4BMJbox » &cAll entities will be removed in &730 &cseconds!"
actionbar "&4BMJbox » &cAll entities will be removed in &730 &cseconds!"
wait 20 seconds
broadcast "&4BMJbox » &cAll entities will be removed in &710 &cseconds!"
actionbar "&4BMJbox » &cAll entities will be removed in &710 &cseconds!"
wait 5 seconds
broadcast "&4BMJbox » &cAll entities will be removed in &75 &cseconds!"
actionbar "&4BMJbox » &cAll entities will be removed in &75 &cseconds!"
wait 5 seconds
execute console command "/killall entities world"
broadcast "&4BMJbox » &cAll entities are removed!"
command /clearlagg:
permission: op
trigger:
execute console command "/killall entities world"
send "&cKilled all entities" to player
every 5 seconds:
loop dropped items at world
if loop-value is more than 50:
execute console command "/killall entities world"
Line 10: (extraclearlag.sk)
Can't understand this condition/effect: actionbar "&4BMJbox ? &cAll entities will be removed in &710 &cseconds!"
Line: actionbar "&4BMJbox ? &cAll entities will be removed in &710 &cseconds!"
Line 13: (extraclearlag.sk)
Can't understand this condition/effect: actionbar "&4BMJbox ? &cAll entities will be removed in &75 &cseconds!"
Line: actionbar "&4BMJbox ? &cAll entities will be removed in &75 &cseconds!"
Line 23: (extraclearlag.sk)
Can't understand this condition/effect: loop dropped items at world
Line: loop dropped items at world
Line 24: (extraclearlag.sk)
There's no loop that matches 'loop-value'
Line: if loop-value is more than 50:
Encountered 6 errors while reloading extraclearlag.sk! (12ms)
What I want is:
If there are more than 50 dropped items then execute console command "/killall entities world"
And the actionbar
Thank you for help!