Archived
0

Added message module to replace /msg and /ss

This commit is contained in:
Pepich
2017-05-09 10:57:34 +02:00
parent 6ab689f090
commit 8df5136015
2 changed files with 277 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
command message {
[string:player] [string:message...] {
run message player message;
help Sends a direct message to a player.;
perm utils.message;
}
}
command reply {
[string:message...] {
run reply message;
help Sends a direct message to the last person you talked to.;
perm utils.message;
}
}
command socialspy {
format {
run config_format_default;
help Resets your format back to the default: &e%s;
}
format [string:format...] {
run config_format format;
help Specifies your ss format. Use /socialspy format_help to get info about how the format works.;
}
format_help {
run format_help;
help Displays info about the format command;
}
prefix {
run config_prefix_default;
help Resets your color back to the default (light gray color code);
}
prefix [string:prefix] {
run config_prefix prefix;
help Sets your prefix to the specified term.;
}
stripcolor on {
run stripcolor_on;
}
stripcolor off {
run stripcolor_off;
}
stripcolor {
run stripcolor;
}
on {
run on;
}
off {
run off;
}
[empty] {
run toggle;
}
perm utils.ss;
type player;
}