cancel event not working

  • 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 community!

    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!

bjs5678

Member
Dec 18, 2023
1
0
1
on chat:
if name of player's tool contains "&a&l닉네임 설정권":
cancel event
set {chat} to message
message "&4&l[ ! ] &f&l이름을 '%message%' 로 설정 하시겠습니까? <ttp:확정 합니다><cmd:/z>&2&l[ 확정 ]<reset><ttp:취소 합니다><cmd:/x> &4&l[ 취소 ]"

The cancel event doesn't work in this code. Is there a way to do it?
 
What error you have ? I't works for me.
Code:
on chat:
    if name of player's tool contains "&a&l닉네임 설정권":
        cancel event
        set {chat} to message
        message "&4&l[ ! ] &f&l이름을 '%message%' 로 설정 하시겠습니까? <ttp:확정 합니다><cmd:/z>&2&l[ 확정 ]<reset><ttp:취소 합니다><cmd:/x> &4&l[ 취소 ]"
1703692606418.png
1703692587280.png
 
sometimes it's a problem with your chat plugin, maybe try changing it. For me this also happen with some chat formatting plugin, it just won't be canceled.