#How do i make a welcome skript
1 messages · Page 1 of 1 (latest)
I Think whoever made this skript is as new as you are
Try and re create it by yourself
but i don't know anything about making a welcome skript
could you help me? @lethal mountain
There are a lot of tutorials you can find on skripthub or you can look up fanstaaff on youtube
As pro2021ca said, watch fanstaaff. He has alot of good tutorials. Also by just watching others skript you will learn alot
Yeah some syntaxes are oudated.
Dont copy skript and paste them into your server though. Thats a bad way of learning.
I learned most by simply reading other people’s skripts.
All you really need to start learning skript is understanding the language and a good memory to remember syntaxes
the way i learned is by learning exactly what i needed to learn for one given task during development. by doing that until my server was done, i learned a lot and could code on my own. thats a decent way to do it if youre impatient. for a join skript, you'd need to know how to detect joins and first joins, storing and modifying a variable, and broadcasting messages. pretty simple once you break it down.
I tried this and i know not 3%
of skript
What?
use the docs
Like pro said, use the docs. However to fix the messages i believe
set join message to "Hi" exists.
He probably did, for something like that...
Well
Just recreate it
Using tutorials it's genuinely easy, you can also recreate it using some of the current skript you have
People have already said this but yes
Oh mb I actually didn't read
Just Wanted to help (:
Also use %{variable}% instead {@variable} it'll prb fix it
???
Oh right i remember this
{@variable} is used when calling from a options table
For example:
prefix: &f&lPlaceholder
on join:
set join message to "{@prefix} &8| &f%player% &7has joined the server!"```
Possible Issue: #0000F
Proper Method: <#0000F> OR <White>```
There is no option in the skript he sent
Or at least some I see
don't do like a counter of joins just do size of offline players
Why, using Counter of joins will be way easier for him to learn.
It's just not reliable
at all
@patent lion
there you go
#welcome skript
on first join:
set {newplayer.%uuid of player%} to true
delete {welcome.claimed.%uuid of player%::*}
wait 15 seconds
delete {newplayer.%uuid of player%}
delete {welcome.claimed.%uuid of player%::*}
on chat:
if message contains "welcome":
loop all players:
if {newplayer.%uuid of loop-player%} is set:
if {welcome.claimed.%uuid of loop-player%::%uuid of player%} is not set:
execute console command "excellentcrates key give %player% afk 1"
send "&aYou welcomed the new player! Here's your reward. &d&l1xAfk key"
set {welcome.claimed.%uuid of loop-player%::%uuid of player%} to true
stop
on quit:
delete {newplayer.%uuid of player%}
delete {welcome.claimed.%uuid of player%::*}
if you're gonna spoonfeed please do not spoonfeed bad code
but in general we prefer you don't spoonfeed at all
what does spoonfeed mean also its good code
give a man a fish, he's fed for one day
teach a man to fish, he's fed for his entire life
i agree
ok makes sense
bump
so yea just teach him how to code properly