Jump to content

Any idea why this doesnt work?


Lapzzo

Recommended Posts

Hey. This autobroadcast tips system doesnt work. Some tips dont show, then 2 tips show twice, and its just all messed up.. Any idea how to fix this?

on load:
	tips()

function tips():
	broadcast "&a&lTIP 1"
	wait 5 minutes
	broadcast "&a&lTIP 2"
	wait 5 minutes
	broadcast "&a&lTIP 3"
	wait 5 minutes
	broadcast "&a&lTIP 4"
	wait 5 minutes
	tips()
 

 

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

Link to comment
Share on other sites

this prolly wont work but i will try:

on load:
	tips()

function tips():
	broadcast "&a&lTIP 1"
	wait 300 seconds
	broadcast "&a&lTIP 2"
	wait 300 seconds
	broadcast "&a&lTIP 3"
	wait 300 seconds
	broadcast "&a&lTIP 4"
	wait 300 seconds

i think it was just looping tips() over and over again

 

Link to comment
Share on other sites

On 9/19/2021 at 7:29 PM, Lapzzo said:

Hey. This autobroadcast tips system doesnt work. Some tips dont show, then 2 tips show twice, and its just all messed up.. Any idea how to fix this?

on load:
	tips()

function tips():
	broadcast "&a&lTIP 1"
	wait 5 minutes
	broadcast "&a&lTIP 2"
	wait 5 minutes
	broadcast "&a&lTIP 3"
	wait 5 minutes
	broadcast "&a&lTIP 4"
	wait 5 minutes
	tips()
 

 

If your server restarts, that skript breaks

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

  • 3 weeks later...
On 9/21/2021 at 4:51 PM, _Mr_Puppy_ said:

this prolly wont work but i will try:

on load:
	tips()

function tips():
	broadcast "&a&lTIP 1"
	wait 300 seconds
	broadcast "&a&lTIP 2"
	wait 300 seconds
	broadcast "&a&lTIP 3"
	wait 300 seconds
	broadcast "&a&lTIP 4"
	wait 300 seconds

i think it was just looping tips() over and over again

 

Reguarding this skript, is there any way to randomly send the messags on this list instead of in order? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...