Page 1 of 1
Per-rank annoucnements
Posted: February 28th, 2012, 3:36 pm
by BobKare
The topic says the most, actually.
What I want, is the ability to send announcements per-rank!
By default, the announcement should be sent to all players on the server, but I think there should be a way to limit per-announcements to ranks.
This might be done like adding something like @RankName [Announcement] in the announcements.txt, which will only send the announcement to all players of that rank and above!
This will make it easier to announce staff/op stuff, which all players on the server shouldn't be allowed to see.
Thanks,
~BobKare
Re: Per-rank annoucnements
Posted: February 28th, 2012, 5:58 pm
by Hellenion
I say add logic!
%if(@admin): Please check of main needs to be wiped.
Re: Per-rank annoucnements
Posted: February 28th, 2012, 6:58 pm
by BobKare
Hellenion wrote:I say add logic!
%if(@admin): Please check of main needs to be wiped.
Exactly.
Re: Per-rank annoucnements
Posted: February 28th, 2012, 8:34 pm
by Hellenion
%if(@admin)
%then
%otherwise
%while() OhSHI
This is so bad.
Re: Per-rank annoucnements
Posted: February 28th, 2012, 9:23 pm
by BobKare
Eventually, make staff-only announcements, in a seperate file. Eveyone with perm. ReadStaffChat should be able to read them.
Re: Per-rank annoucnements
Posted: February 29th, 2012, 3:10 am
by McLaughlinKid
/staff for staff chat or @@rank to send something to all players of that rank.
Re: Per-rank annoucnements
Posted: February 29th, 2012, 1:27 pm
by BobKare
McLaughlinKid wrote:/staff for staff chat or @@rank to send something to all players of that rank.
Read the point of the topic.
Announcements?
...
Re: Per-rank annoucnements
Posted: February 29th, 2012, 3:51 pm
by Hellenion
BobKare wrote:McLaughlinKid wrote:/staff for staff chat or @@rank to send something to all players of that rank.
Read the point of the topic.
Announcements?
...
I believe he means the lines in announcements.txt will be handled like normal messages, and thus will be able to contain commands like @@rank or even @player. This won't even be very hard to implement.
Re: Per-rank annoucnements
Posted: February 29th, 2012, 7:43 pm
by BobKare
Hellenion wrote:BobKare wrote:McLaughlinKid wrote:/staff for staff chat or @@rank to send something to all players of that rank.
Read the point of the topic.
Announcements?
...
I believe he means the lines in announcements.txt will be handled like normal messages, and thus will be able to contain commands like @@rank or even @player. This won't even be very hard to implement.
Right.
Re: Per-rank annoucnements
Posted: February 29th, 2012, 10:55 pm
by Sanjar Khan
No, he thinks what you are suggesting is already possible. He missed the "to every player of that rank and above" part. What you are suggesting is basically a less specific /staff, which could prove useful at occasions. Like Hellenion said, might be easy to mod.