Skript Version: 2.4.1 (I assume I don't know how to check, it says latest stable release)
Skript Author: Likewise, I don't know. How do I check???
Minecraft Version: 1.16.1
Code:
Errors on reload:
Skript addons:
SkBee
Skellett
TuSKe
skDragon
skRayFall
Tried searching docs
Tried searching forums
Skript Author: Likewise, I don't know. How do I check???
Minecraft Version: 1.16.1
Code:
Code:
on chat:
if player has permission "staff.chat":
if first character of message is "#":
set {msg} to message
replace all "# " with "" in {msg}
cancel event
loop all players:
if loop-player has permission "staff.chat":
send "&4[&cStaff&4] &b<%player%> &e%{msg}%" to loop-player
else if player is op:
if first character of message is "#":
set {msg} to message
replace all "# " with "" in {msg}
cancel event
loop all players:
if loop-player has permission "staff.chat":
send "&4[&cStaff&4] &b<%player%> &e%{msg}%" to loop-player
Errors on reload:
Code:
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (xStaffChat.sk, line 4: set {msg} to message')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (xStaffChat.sk, line 5: replace all "# " with "" in {msg}')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (xStaffChat.sk, line 6: cancel event')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (xStaffChat.sk, line 7: loop all players:')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (xStaffChat.sk, line 8: if loop-player has permission "staff.chat":')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 5 tabs (xStaffChat.sk, line 9: send "&4[&cStaff&4] &b<%player%> &e%{msg}%" to loop-player')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (xStaffChat.sk, line 12: set {msg} to message')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (xStaffChat.sk, line 13: replace all "# " with "" in {msg}')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (xStaffChat.sk, line 14: cancel event')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (xStaffChat.sk, line 15: loop all players:')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (xStaffChat.sk, line 16: if loop-player has permission "staff.chat":')
[11:05:11 ERROR]: indentation error: expected 2 tabs, but found 5 tabs (xStaffChat.sk, line 17: send "&4[&cStaff&4] &b<%player%> &e%{msg}%" to loop-player')
[11:05:12 ERROR]: Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "". (xStaffChat.sk, line 3: if first character of message is "#":')
[11:05:12 ERROR]: Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "". (xStaffChat.sk, line 11: if first character of message is "#":')
Skript addons:
SkBee
Skellett
TuSKe
skDragon
skRayFall
Tried searching docs
Tried searching forums