I need help for my animated text script.

  • 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.
Jun 25, 2019
2
0
1
21
Hamburg, germany
apfelnetzwerk.de
Hello i need help for this skript.
::>
Code:
function anitext(t: text):
    loop 100 times:
        send " "
    send "{_t}"
    wait 4 tick

command /tutorial:
    trigger:
        anitext("W")
        anitext("WE")
        anitext("WEL")
        anitext("WELC")
        anitext("WELCO")
        anitext("WELCOM")
        anitext("WELCOME")

When i reload this script this error are showen:
2019-08-11_11.21.52.png



This plugins i use on my Server:
------------------------------------------
Skript
SkQuery
SkAction
ProtocolLib
SkMorkaz
SkStuff
skRayFall
WildSkript
PirateSK
skUtilities
Skungee
SkExtras
RandomSK
Skellett
Umbaska
SharpSK
------------------------------------------
Server Version: 1.8.8

Thank's
~ Alexander
 
Hello i need help for this skript.
::>
Code:
function anitext(t: text):
    loop 100 times:
        send " "
    send "{_t}"
    wait 4 tick

command /tutorial:
    trigger:
        anitext("W")
        anitext("WE")
        anitext("WEL")
        anitext("WELC")
        anitext("WELCO")
        anitext("WELCOM")
        anitext("WELCOME")

When i reload this script this error are showen:
2019-08-11_11.21.52.png



This plugins i use on my Server:
------------------------------------------
Skript
SkQuery
SkAction
ProtocolLib
SkMorkaz
SkStuff
skRayFall
WildSkript
PirateSK
skUtilities
Skungee
SkExtras
RandomSK
Skellett
Umbaska
SharpSK
------------------------------------------
Server Version: 1.8.8

Thank's
~ Alexander
You're probably using a very outdated version of Skript. Use 2.2-dev36 for 1.8.8
 
I think the issue is the function doesn't know whom to send the message to .... Id recommend adding the player as a parameter to your function.
 
Hello i need help for this skript.
::>
Code:
function anitext(t: text):
    loop 100 times:
        send " "
    send {_t} to player
    wait 4 tick

command /tutorial:
    trigger:
        anitext("W")
        anitext("WE")
        anitext("WEL")
        anitext("WELC")
        anitext("WELCO")
        anitext("WELCOM")
        anitext("WELCOME")

When i reload this script this error are showen:
2019-08-11_11.21.52.png



This plugins i use on my Server:
------------------------------------------
Skript
SkQuery
SkAction
ProtocolLib
SkMorkaz
SkStuff
skRayFall
WildSkript
PirateSK
skUtilities
Skungee
SkExtras
RandomSK
Skellett
Umbaska
SharpSK
------------------------------------------
Server Version: 1.8.8

Thank's
~ Alexander
Try:
code_language.skript:
function anitext(t: text, p: player):
    loop 100 times:
        send " " to {_p}
    send "%{_t}%" to {_p}
    wait 4 tick

command /tutorial:
    trigger:
        anitext("W", player)
        anitext("WE", player)
        anitext("WEL", player)
        anitext("WELC", player)
        anitext("WELCO", player)
        anitext("WELCOM", player)
        anitext("WELCOME", player)
 
Status
Not open for further replies.