Jump to content

Can someone make me this skript?


ItsEnderYT

Recommended Posts

Hey I made the skript, i did not test it but the commands are 

  1. /toggle-random help - Shows all Commands
  2. /toggle-random ban <item id> - Block item
  3. /toggle-random unban <item id> - Unblock item
  4. /toggle-random view banned - View all Block items
  5. /toggle-random toggle - Enable/Disable Randomizer

It gives the player a random item every 15 seconds, every player gets a different item and when a player types [item] in chat, its replaces it with the item, so they can show off that they got!

 

Go to the skript folder, then go to scripts and make a folder called Randomizer.sk and put this in it (https://hastebin.com/nayakogusi.coffeescript) The code is 59 lines, so don't expect the best of the best.

It is not the best as it just loops for a random number between 1 and 2267 and gives the player the item id, and when the item it sets the players randomizer to is on the ban list, it repeats the command! Item id list here (https://minecraft-ids.grahamedgecombe.com/

You are welcome!

Edited by dnadany689
Link to comment
Share on other sites

7 hours ago, dnadany689 said:

Hey I made the skript, i did not test it but the commands are 

  1. /toggle-random help - Shows all Commands
  2. /toggle-random ban <item id> - Block item
  3. /toggle-random unban <item id> - Unblock item
  4. /toggle-random view banned - View all Block items
  5. /toggle-random toggle - Enable/Disable Randomizer

It gives the player a random item every 15 seconds, every player gets a different item and when a player types [item] in chat, its replaces it with the item, so they can show off that they got!

 

Go to the skript folder, then go to scripts and make a folder called Randomizer.sk and put this in it (https://hastebin.com/nayakogusi.coffeescript) The code is 59 lines, so don't expect the best of the best.

It is not the best as it just loops for a random number between 1 and 2267 and gives the player the item id, and when the item it sets the players randomizer to is on the ban list, it repeats the command! Item id list here (https://minecraft-ids.grahamedgecombe.com/

You are welcome!

the link doesnt work

Link to comment
Share on other sites

On 1/10/2020 at 3:16 AM, dnadany689 said:

you can still toggle by /toggle-random toggle , and it gives the player 1 random item each 10 seconds if you want to change it go to line 15 and change this line "every 10 seconds:"   to "every {number} seconds"

Quick question does the toggle allow someone to toggle them getting random items or is it a server wide toggle?

 

Link to comment
Share on other sites

On 1/13/2020 at 6:24 AM, dnadany689 said:

You need a permission to toggle, and when you do it it does it to the whole server!

that wont work for me then i need it to be a player can do /toggleitem and then they wont recive items but others can still unless they do the same

Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...
  • 3 weeks later...
  • 7 months later...

🔐 Topic locked.

Please do not reply on threads that have been inactive for over a month.

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...