#How to use the "random" feature in skript within a gui?
1 messages · Page 1 of 1 (latest)
or add all those numbers to a local list var and loop that list, setting the slot of loopvalue to x
aight
if that code doesn't work and spits out an error
Parenthesis
slot ((integers between a and b), 4, 9, (integers between c and d), and 87) to diamond
its not what you guys told me to do, but i couldn't figure it out at all xD
only issue rn is detecting when someone clicks the potato to add a number somewhere and so another random potato and that the potato should ignore the black panes
i have no idea what this means
i'll explain
So when someone clicks the potato it should generate a new random potato, add a +1 score somewhere then delete that clicked potato
O k
This would still be better parsing
Soo like whack a mole? You click the potato and it appears somewhere else?
Yes!
still haven't figured it out but yeah xd
someone showed me an easier way which is with sk-gui but now idek how to add the random location in there...
finding information is incredibly hard
sk gui and vanlilla guis are different ways to do the same thing.
you could proably set event-slot to {_whatever}, then set a random slot of the event-inv to a potato
Okay ive gotten further with what im tryint to create but now i wanted to limit where the potato could be placed so i used the inbtween integer thing but it seems to not understand that for the potato part
Ya know what dw, i'll just remove the panes, its a nightmare to code with
?
could make a fucntion