Jump to content

Shadow_UTubes

Member
  • Posts

    33
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Shadow_UTubes's Achievements

Newbie

Newbie (2/6)

2

Reputation

  1. Ok truly sorry last time I tried people said the same. Wouldn't this teleport everyone to the same space, or am I mistaken
  2. Hello, I am making a queue Skript and already have the queue part done. I would like to have the bolded part of my code replaced by code that teleports everyone in the queue to a different position from set coordinates. If you could give an example (or fix my code for me) that would be great! Thank you so much! :) #Make it teleport all players command /queue_vilage: trigger: if {QueueVilage::*} does not contain player: add player to {QueueVilage::*} else: send "&aAlready in queue!" loop {QueueVilage::*}: add 1 to {_vilagequeue} if {_vilagequeue} is 2: #code to teleport command /unqueue_vilage: trigger: remove player from {QueueVilage::*} if {QueueVilage::*} contains player: subtract 1 from {_vilagequeue} send "&cNo longer in queue" command /queue_list_vilage: permission: op trigger: send "&aPeople in the queue: &f%{QueueVilage::*}%" command /queue_vilage_amount: permission: op trigger: send "There are %{_vilagequeue}% people in the queue" command /queue_vilage_reset: trigger: clear {Variable2::*} send "&cCleared the queue!" trigger: set {_vilagequeue} to 0
  3. And is there a way to make the teams spawn in a certain place
  4. Hey so heres a Skript that splits players into two teams is there a way to make it split the players into 8 teams instead? Heres the code command /split: trigger: set {_a} to 1 set {_count} to number of all players set {_evencheck} to {_count} mod 2 if {_evencheck} is equal to 0: loop players: if {_a} mod 2 = 1: add loop-player to {team1::*} if {_a} mod 2 = 0: add loop-player to {team2::*} add 1 to {_a} command /teams: trigger: send "Team One consists of: %{team1::*}%" send "Team Two consists of: %{team2::*}%" Also if you can please make "set {_count} to number of all players" to "set {_count} to number of players in {queue::*}" Thanks!
  5. Hey so heres a Skript that splits players into two teams is there a way to make it split the players into 8 teams instead? Heres the code command /split: trigger: set {_a} to 1 set {_count} to number of all players set {_evencheck} to {_count} mod 2 if {_evencheck} is equal to 0: loop players: if {_a} mod 2 = 1: add loop-player to {team1::*} if {_a} mod 2 = 0: add loop-player to {team2::*} add 1 to {_a} command /teams: trigger: send "Team One consists of: %{team1::*}%" send "Team Two consists of: %{team2::*}%" Also if you can please make "set {_count} to number of all players" to "set {_count} to number of players in {queue::*}" Thanks!
  6. Also if you can please make "set {_count} to number of all players" to "set {_count} to number of players in {queue::*}" Thanks!
  7. Hey so heres a Skript that splits players into two teams is there a way to make it split the players into 8 teams instead? Heres the code command /split: trigger: set {_a} to 1 set {_count} to number of all players set {_evencheck} to {_count} mod 2 if {_evencheck} is equal to 0: loop players: if {_a} mod 2 = 1: add loop-player to {team1::*} if {_a} mod 2 = 0: add loop-player to {team2::*} add 1 to {_a} command /teams: trigger: send "Team One consists of: %{team1::*}%" send "Team Two consists of: %{team2::*}%"
  8. Hey, so I am making a Skript that when people join the queue it waits until it hits the player limit if it does the next step (I already have that coded) I want it to make all the players in the queue get split into their own teams and spawn in an arena and have a set spawn-point (for their teams). Any ideas? If you need any more info please say so. Thanks!
  9. Hey, so I am making a Skript that when people join the queue it waits until it hits the player limit if it (I already have that coded) I want it to make all the players in the queue get split into their own teams and spawn in an arena and have a set spawn-point. Any ideas?
  10. those people have op, so it would be best if you switched to LuckPerms and used lpchat that gets rid of the red names. You could also change the config in essentials to not say make op players have red name.
  11. For starters you got many of the things wrong heres what ill do. It will already stop itself because it says wait 3 seconds 1 time but if you want it to be recurring then you have to loop it command /howtoannoypeople [<player>]: permission: sk.htap aliases: /htap trigger: send "&4You've Exploded" to arg-1 execute console command "execute at %arg-1% run summon end_crystal ~ ~2 ~" execute console command "execute at %arg-1% run summon arrow ~ ~5 ~" wait 3 seconds execute console command "/htap %arg%"
  12. Hi so im making a Skript so when the queue hits enough people it makes console run a command to teleport everyone in the list to the arena heres my code so far (or make all players execute a the command /tp_vilage) I want them all to run the command or make the console run the command to send them all to the place #Make it teleport all players command /queue_vilage: trigger: if {QueueVilage::*} does not contain player: add player to {QueueVilage::*} else: send "&aAlready in queue!" loop {QueueVilage::*}: add 1 to {_vilagequeue} if {_vilagequeue} is 2: execute player command "/tp_vilage" #only teleports last person to join the queue command /unqueue_vilage: trigger: remove player from {QueueVilage::*} if {QueueVilage::*} contains player: subtract 1 from {_vilagequeue} send "&cNo longer in queue" command /queue_list_vilage: permission: op trigger: send "&aPeople in the queue: &f%{QueueVilage::*}%" command /queue_vilage_amount: permission: op trigger: send "There are %{_vilagequeue}% people in the queue" command /queue_vilage_reset: trigger: clear {Variable2::*} send "&cCleared the queue!" trigger: set {_vilagequeue} to 0 my code for /tp_vilage command /tp_vilage: trigger: set {_x} to random integer between -28 and 28 set {_z} to random integer between 211 and 151 set {_loc} to location({_x}, 0, {_z}) set {_loc2} to location of block below highest block at {_loc} loop blocks between {_loc} and {_loc2}: if loop-block is air: set {_bloc} to block below loop-block teleport player to {_bloc} stop loop
×
×
  • Create New...