Jump to content
NitroRayZ

Can someone make me a Skript API-ish thing?

Recommended Posts

Posted (edited)

Request

Could someone make me a skript that would be safe to share or to give anyone, main purpose is that itll grab the skripts owner (username) by simpy providing a UUID inside their own skript meaning it would be a public skript, so that if they change their name, they dont have to update every skript and it would be safe to share at the same time and easy?

Edited by NitroRayZ

Message by Aseltic

Well Not-Known Skripter

Share this post


Link to post
Share on other sites
26 minutes ago, Vrg said:

You don't understand the meaning of an API, do you?

a part of a creation that can allow other creations to hook/connect to it and do things with it


Message by Aseltic

Well Not-Known Skripter

Share this post


Link to post
Share on other sites

So basically you want something that automatically updates the script based on the file the author put?

example:

I make a script that's

on chat:
  set chat message to "%player% %message%"

then you upload it on minehut

then I modify the script to

on chat:
  send "updated"

and it updates on minehut?

Share this post


Link to post
Share on other sites

Because if it's something different it doesn't make much sense as you can just use

offline player from [uuid] %string% 

from TuSKe

  • Like 1

Share this post


Link to post
Share on other sites

i just want to send a name of a player from uuid

 

-----------

Made by Alex turns into Made by NitroRayZ since I changed my name

 

+ its not gonna be restricted to minehut


Message by Aseltic

Well Not-Known Skripter

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, NitroRayZ said:

i just want to send a name of a player from uuid

 

-----------

Made by Alex turns into Made by NitroRayZ since I changed my name

 

+ its not gonna be restricted to minehut

Automatic name updates in a script? Would be medium-hard and not worth the effort ( would require a specific addon, etc.) and if they don't have that addon won't work and minehut, for example, doesn't have that addon

Edited by Jake0125

Share this post


Link to post
Share on other sites
Posted (edited)

command /info:
    trigger:
        set {_ownerUUID} to "b0f27308-0a70-43bf-b025-45c12979b7ad"
        set {_ownerName} to {_ownerUUID} parsed as player
        send "&6&l--------------------"
        send "&bTest Skript"
        send "&aVersion: &c1.0"
        send "&aCreated by: &1%{_ownerName}%"
        send "&6&l--------------------"

 

This seem to work just fine

Edited by NitroRayZ

Message by Aseltic

Well Not-Known Skripter

Share this post


Link to post
Share on other sites
18 hours ago, NitroRayZ said:

command /info:
    trigger:
        set {_ownerUUID} to "b0f27308-0a70-43bf-b025-45c12979b7ad"
        set {_ownerName} to {_ownerUUID} parsed as player
        send "&6&l--------------------"
        send "&bTest Skript"
        send "&aVersion: &c1.0"
        send "&aCreated by: &1%{_ownerName}%"
        send "&6&l--------------------"

 

This seem to work just fine

You literally just wanted that?

That's no "skript-api" thing

Share this post


Link to post
Share on other sites
2 hours ago, DeltaRays said:

You literally just wanted that?

That's no "skript-api" thing

well it turned not into a api, but it works now so any admins or mods, please lock this post. @BennyDoesStuff if you could


Message by Aseltic

Well Not-Known Skripter

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...