# #xMotd by PolskiStevek #v1.0 # on script load: if {motdjoin} is not set: set {motdjoin} to "&7This server using xMotd by PolskiStevek!" command /motd [] []: permission: sk.motd trigger: if arg 1 is not set: send "&7=====[ &cxMotd &7]=====" send " &6> &c/motd join &8- &7Sets join motd" send " &6> &c/motd list &8- &7Sets server list motd" send " &7(Use "%player%" to player's nickname)" send "&7===========================" if arg 1 is set: if arg 1 is "join": if arg 2 is not set: send "&7Usage: &c/motd join " if arg 2 is set: set {motdjoin} to coloured argument 2 send " &8> &cJoin motd set to: %coloured argument 2%" if arg 1 is "list": if arg 2 is not set: send "&7Usage: &c/motd list " if arg 2 is set: set {motdlist} to coloured argument 2 send " &8> &cServer list motd set to:&a %coloured argument 2%" on join: wait 10 tick loop 80 times: send " " wait 1 tick message {motdjoin} on server list ping: set motd to "%{motdlist}%"