Solved Why this message recived not work DISKY

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

Injoyed

Member
May 18, 2025
14
0
1
on message received:
if event-channel is channel with id "1382222572070109214":
if author of event-message is not a discord bot:
broadcast "&5[DISCORD] %event-member% | %event-message%"

this just dosent work for some reason it runs with no errors but when I chat in the discord nothing happends

NOTE THAT ALL OF THE INDENTS WERE DONE BY THE FORUM MY CODE DOSENT LOOK LIKE THIS
 
still doesnt work error message:
 

Attachments

  • Screenshot 2025-06-11 154255.png
    Screenshot 2025-06-11 154255.png
    55.5 KB · Views: 31
Just tried it without any bot plugins results:
so code is wrong :emoji_frowning:
 

Attachments

  • Screenshot 2025-06-11 223111.png
    Screenshot 2025-06-11 223111.png
    45.9 KB · Views: 26
Code:
on message received:
    if discord id of event-channel is "{@chatchannel}":
        if event-member is a discord bot:
            stop
        else:
            set {_msg} to uncolored event-message
            set {_m::*} to mentioned members of event-message
            if {_m::*} is set:
                loop {_m::*}:
                    set {_id} to discord id of loop-value
                    set {_n} to member nickname of loop-value
                    replace "%{_id}%" in {_msg} with "%{_n}%"
            broadcast "<#0DA7FE>&lD<#27C5FF>&lI<#40E2FF>&lS<#40E2FF>&lC<#40E2FF>&lO<#40E2FF>&lR<#0DA7FE>&lD <#40E2FF>%effective name of event-member%&8» &7%{_msg}%"

try using this if it doesnt work idk, but this is my skript

you do have to add a
Code:
options:
    chatchannel: (channelid)
 
Code:
on message received:
    if discord id of event-channel is "{@chatchannel}":
        if event-member is a discord bot:
            stop
        else:
            set {_msg} to uncolored event-message
            set {_m::*} to mentioned members of event-message
            if {_m::*} is set:
                loop {_m::*}:
                    set {_id} to discord id of loop-value
                    set {_n} to member nickname of loop-value
                    replace "%{_id}%" in {_msg} with "%{_n}%"
            broadcast "<#0DA7FE>&lD<#27C5FF>&lI<#40E2FF>&lS<#40E2FF>&lC<#40E2FF>&lO<#40E2FF>&lR<#0DA7FE>&lD <#40E2FF>%effective name of event-member%&8» &7%{_msg}%"

try using this if it doesnt work idk, but this is my skript

you do have to add a
Code:
options:
    chatchannel: (channelid)
Yep that worked tysm!