ItsEnderYT Posted January 7, 2020 Share Posted January 7, 2020 heres what i want a skript that gives a player a random item every 15 seconds and can be toggled with a command like /togglerandom Link to comment Share on other sites More sharing options...
ItsEnderYT Posted January 7, 2020 Author Share Posted January 7, 2020 Also if possible a exclude list Link to comment Share on other sites More sharing options...
Spiderlogical Posted January 7, 2020 Share Posted January 7, 2020 Moved to Marketplace. Link to comment Share on other sites More sharing options...
dnadany Posted January 8, 2020 Share Posted January 8, 2020 (edited) Hey I made the skript, i did not test it but the commands are /toggle-random help - Shows all Commands /toggle-random ban <item id> - Block item /toggle-random unban <item id> - Unblock item /toggle-random view banned - View all Block items /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 January 8, 2020 by dnadany689 Link to comment Share on other sites More sharing options...
ItsEnderYT Posted January 8, 2020 Author Share Posted January 8, 2020 did you mispell pastebin? Link to comment Share on other sites More sharing options...
ItsEnderYT Posted January 8, 2020 Author Share Posted January 8, 2020 7 hours ago, dnadany689 said: Hey I made the skript, i did not test it but the commands are /toggle-random help - Shows all Commands /toggle-random ban <item id> - Block item /toggle-random unban <item id> - Unblock item /toggle-random view banned - View all Block items /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 More sharing options...
dnadany Posted January 9, 2020 Share Posted January 9, 2020 Hey! THe link broke guess imma redo it, no worries Link to comment Share on other sites More sharing options...
dnadany Posted January 9, 2020 Share Posted January 9, 2020 (https://pastebin.com/e22StBsf) , I realized the part in my previous code about blocking items was gibberish and wouldn't work, so I didnt add it. You can ask for help in the Skunity discord or forums! Link to comment Share on other sites More sharing options...
dnadany Posted January 9, 2020 Share Posted January 9, 2020 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" Link to comment Share on other sites More sharing options...
ItsEnderYT Posted January 11, 2020 Author Share Posted January 11, 2020 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 More sharing options...
dnadany Posted January 12, 2020 Share Posted January 12, 2020 You need a permission to toggle, and when you do it it does it to the whole server! Link to comment Share on other sites More sharing options...
ItsEnderYT Posted January 14, 2020 Author Share Posted January 14, 2020 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 More sharing options...
xX__Strqfe__Xx Posted January 18, 2020 Share Posted January 18, 2020 On 1/8/2020 at 3:55 PM, ItsEnderYT said: did you mispell pastebin? no, hastebin is a thing, as well as pastebin. Link to comment Share on other sites More sharing options...
Krausehouse2 Posted March 27, 2020 Share Posted March 27, 2020 doesn't work i see the command but nothing happens when i use it i have skript do i need any other plugins? Link to comment Share on other sites More sharing options...
1010010010 Posted March 29, 2020 Share Posted March 29, 2020 On 1/11/2020 at 11:03 PM, ItsEnderYT said: Quick question does the toggle allow someone to toggle them getting random items or is it a server wide toggle? it doesnt work Link to comment Share on other sites More sharing options...
1010010010 Posted March 29, 2020 Share Posted March 29, 2020 I have the skript and it says "reloaded succesfully" and all that but when i do /toggle-random toggle it just says in white "/toggle-random <text> <text> Link to comment Share on other sites More sharing options...
SirTechno101 Posted June 30, 2020 Share Posted June 30, 2020 Hey could you add a part to the skript so that it only works in the world "Void"? Thanks in advance Link to comment Share on other sites More sharing options...
KaramThegamer Posted July 20, 2020 Share Posted July 20, 2020 Requesting Close Link to comment Share on other sites More sharing options...
TheBombi23 Posted March 12, 2021 Share Posted March 12, 2021 hello guys i need skript /drop allow drop for 15 second and disable drop please send me this is skript Link to comment Share on other sites More sharing options...
_Tarna_ Posted March 12, 2021 Share Posted March 12, 2021 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 - 12/20/22 Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
Recommended Posts