Solved Ok so how do I do this?

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

Jacob105

Member
Aug 7, 2020
48
1
8
24
Hi, I am looking for a way to make a ban plugin in skript (ALREADY DONE) But how do I make the suspended on function?

What it is right now:
upload_2020-8-13_11-20-21.png

What I want it to look like:
unknown.png


As you can see. It shows a "suspended on" function in the second screenshot.
Looked at the docs? Yes.
Looked at the forums? Yes.
Thank you <3
(Also a short note, I'm not a cheater, in the first screenshot is the server I'm coding for.)
 
Last edited:
Hi, I am looking for a way to make a ban plugin in skript (ALREADY DONE) But how do I make the suspended on function?

What it is right now:
View attachment 5214
What I want it to look like:
unknown.png


As you can see. It shows a "suspended on" function in the second screenshot.
Looked at the docs? Yes.
Looked at the forums? Yes.
Thank you <3
You could do it like that:
Code:
    set {_s} to now formatted as "YYYY-MM-dd"
    send "%{_s}%""
You can get all date format at: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
 
You could do it like that:
Code:
    set {_s} to now formatted as "YYYY-MM-dd"
    send "%{_s}%""
You can get all date format at: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
Thanks, gonna try this.
[doublepost=1597344415,1597343853][/doublepost]
You could do it like that:
Code:
    set {_s} to now formatted as "YYYY-MM-dd"
    send "%{_s}%""
You can get all date format at: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
Do I need an addon? It's not working

ERROR:

13.08 14:44:16 [Server] ERROR invalid line - all code has to be put into triggers (BanCommand.sk, line 70: set {_s} to now formatted as "YYYY-MM-dd"')
 
Thanks, gonna try this.
[doublepost=1597344415,1597343853][/doublepost]
Do I need an addon? It's not working

ERROR:

13.08 14:44:16 [Server] ERROR invalid line - all code has to be put into triggers (BanCommand.sk, line 70: set {_s} to now formatted as "YYYY-MM-dd"')
use tabs

example

Code:
commnad /test:
    trigger:
        set {_s} to now formatted as "YYYY-MM-dd"
 
  • Like
Reactions: xL8jNor
Status
Not open for further replies.