Get MOTD

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

kratess

New Member
Jan 26, 2017
8
0
0
21
it's possible get motd of server? because skellett is for bungee motd. example: on server ping: set {_motd} to motd... plz help me
 
code_language.skript:
function motd(t: text):
    set motd to "%{_t}%"

on server ping:
    set {_motd} to "&cMotd &aHere"
    motd({_motd})
Not tested, but, You want to do?
 
You can do this with the packet event, look in my post history for more info on how to do things like this
the code plz? it's possible make it with skellett and no with mundosk because i have some problems with skript 2.2 thans, plz reply with code
[doublepost=1497638386,1497621624][/doublepost]help me with skellet or packet with other plugin, plz post the code.
[doublepost=1497707823][/doublepost]
it's possible get motd of server? because skellett is for bungee motd. example: on server ping: set {_motd} to motd... plz help me
anyone can help me?
[doublepost=1497744015][/doublepost]
it's possible get motd of server? because skellett is for bungee motd. example: on server ping: set {_motd} to motd... plz help me
help me
 
what trying be you?
[doublepost=1497749370,1497749214][/doublepost]you can set a motd with:

code_language.skript:
on server ping:
    set motd to "&8&m------&2&l[&6Motd here&2&l]&8&m------"
 
I'm sure it's possible but why would you even need to check the motd... don't you know what it is?
i try to make a gui for minigames selector... can you help me, post code
[doublepost=1499100271,1497826207][/doublepost]anyone can help me plz
 
If you need it for BungeeCord use Skellet and SkelletProxy would be like this:
code_language.skript:
function getMotd(server: string):
    set {MOTD} to MOTD of server "%{_server}%"
And you execute the function like this:
code_language.skript:
getMotd("server's name")

If you need it just for a server use this expression:
code_language.skript:
%message of the day%

If this fixed your problem please mark as solved.
 
Status
Not open for further replies.