View Single Post
  #9  
Old 12-06-2013, 05:20 PM
Lucia Moore
Sarnak
 
Join Date: Sep 2013
Posts: 32
Default

I see. So, if I'm understanding this correctly, could I do something like this?

(Note that I can't actually see the code right now because I'm at work, so my exact syntax may be wrong)

Code:
{ // GroupChat
		Raid* raid = entity_list.GetRaidByClient(this);
		if(raid) {
			raid->Say(this,language,lang_skill,(const char*) message);
			break;
		}

		Group* group = GetGroup();
		if(group != nullptr) {
			group->Say(this,language,lang_skill,(const char*) message);
		}
		break;
In other words, just make it so that anything you say in /group comes out as /say instead?
Reply With Quote