Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

options not working with command messages #1679

Closed
melinstagibson opened this issue Nov 9, 2018 · 4 comments
Closed

options not working with command messages #1679

melinstagibson opened this issue Nov 9, 2018 · 4 comments
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.

Comments

@melinstagibson
Copy link

options:
    i: "&b[&dINFO&b] &e"

command /cd:
    cooldown: 10 seconds
    cooldown message: %{@i}% test %remaining time%
    trigger:
        feed the player

if i use an option it uses the default permission message, it works when i replace it by a variable tho.
latest skript, paper 1.13.2

@andrei923
Copy link

try
cooldown message: {@i} test %remaining time%

@melinstagibson
Copy link
Author

melinstagibson commented Nov 9, 2018

try
cooldown message: {@i} test %remaining time%

same issue

@ShaneBeee
Copy link
Contributor

try
cooldown message: {@i} test %remaining time%

same issue

remove the quotes from the option, I tested this and it works:

options:
    i: &b[&dINFO&b] &e

command /cd:
    cooldown: 10 seconds
    cooldown message: test {@i} %remaining time%
    trigger:
        feed the player

@Pikachu920
Copy link
Member

for now double the quotes and it will work

@TheBentoBox TheBentoBox added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. documentation Related to Skript's official documentation. completed The issue has been fully resolved and the change will be in the next Skript update. priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation). and removed completed The issue has been fully resolved and the change will be in the next Skript update. documentation Related to Skript's official documentation. labels Nov 22, 2018
@TPGamesNL TPGamesNL added priority: low Issues that are not harmful to the experience but are related to useful changes or additions. and removed priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation). labels Aug 10, 2021
@TPGamesNL TPGamesNL added PR available Issues which have a yet-to-be merged PR resolving it completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it labels Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.
Projects
None yet
Development

No branches or pull requests

7 participants