Solved ForceChat

  • 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.
D

Deleted member

How do I force players to send a message?
[doublepost=1497717154,1497717089][/doublepost]make player say "" got it.
 
code_language.skript:
#your stuff
    if player has permission "owner":
         broadcast "Owner %player% (message you want to put here)"
    else if player has permission "admin":
         broadcast "Admin %player% (message here)"
#then continue...
 
code_language.skript:
#your stuff
    if player has permission "owner":
         broadcast "Owner %player% (message you want to put here)"
    else if player has permission "admin":
         broadcast "Admin %player% (message here)"
#then continue...
The thread is solved and that is the worst way to do it.
 
I said that before he changed it to solved

also show me how you'd do it then.......
You didn't, the second post of him saying that it was solved was sent 5 hours ago and yours just 5 minutes ago (just as White said). And just how the OP solved it, with the following skQuery's effect:
code_language.skript:
make %players% say %text%
You can also do it with packets:
code_language.skript:
function packetMakeSay(sender: player, message: text):
    set {_packet} to new play_client_chat packet
    set string pinfo 0 of {_packet} to {_message}
    receive packet {_packet} from {_sender}
[doublepost=1497735826,1497735483][/doublepost]
@White im not lying lmao why would i lie it didn't say "solved" when i wrote the message
Just don't lie, we can see when you posted it and when the OP solved it:
2017-06-17_18-40-39.png
2017-06-17_18-40-04.png
 
Status
Not open for further replies.