Solved If possible.

Discussion in 'Plugin Help/Development/Requests' started by Sarcry, Aug 27, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Sarcry

    I want to send a player the message he wrote if it was possible.
    For ex.: Player sends /sm hi im rob
    I want to send him " hi im rob"
     
  2. Offline

    bwfcwalshy Retired Staff

    @Sarcry Check for sm command then just message them back with the message excluding the /sm
     
  3. Offline

    Sarcry

    The thing is like an example. I'm trying to gimme an idea for it like /ban <player> <reason>. Idk how to exclude those and execute the "<reason>" with args[].
     
  4. Offline

    bwfcwalshy Retired Staff

    @Sarcry I'm not going to spoonfeed, if you had basic Java knowledge of arrays this would not be difficult. Just loop through the needed args and boom, message.
     
  5. Offline

    Sarcry

    Oh, I got you. I've tried it and it worked :D
     
Thread Status:
Not open for further replies.

Share This Page