Jump to content
  • 0

@who and groups


Question

Posted

Is there any way to remove @who indicator:

when you type @who
Name: ays297 (Super Player) | Guild: lol
Name: ays298 (Admin) 

For example, removing Super Player groups in @who? Or something like that?

4 answers to this question

Recommended Posts

Posted
       	 switch (display_type) {
               case 2: {
                   StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s "
       //            if (pc_get_group_id(pl_sd) > 0) // Player title, if exists
       //                StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) "
                   StringBuf_Printf(&buf, msg_txt(347), pl_sd->status.base_level, pl_sd->status.job_level,
                       job_name(pl_sd->status.class_)); // "| Lv:%d/%d | Job: %s"
                   break;
               }
               case 3: {
                   if (pc_has_permission(sd, PC_PERM_WHO_DISPLAY_AID))
                       StringBuf_Printf(&buf, msg_txt(912), pl_sd->status.char_id, pl_sd->status.account_id);    // "(CID:%d/AID:%d) "
                   StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s "
       //            if (pc_get_group_id(pl_sd) > 0) // Player title, if exists
       //                StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) "
                   StringBuf_Printf(&buf, msg_txt(348), mapindex_id2name(pl_sd->mapindex), pl_sd->bl.x, pl_sd->bl.y); // "| Location: %s %d %d"
                   break;
               }
               default: {
                   struct party_data *p = party_search(pl_sd->status.party_id);
                   struct guild *g = guild_search(pl_sd->status.guild_id);

                   StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s "
       //            if (pc_get_group_id(pl_sd) > 0) // Player title, if exists
       //                StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) "
                   if (p != NULL)
                       StringBuf_Printf(&buf, msg_txt(345), p->party.name); // " | Party: '%s'"
                   if (g != NULL)
                       StringBuf_Printf(&buf, msg_txt(346), g->name); // " | Guild: '%s'"
                   break;
               }
           }

just comment them

Posted

	   	 switch (display_type) {
			case 2: {
				StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s "
	//			if (pc_get_group_id(pl_sd) > 0) // Player title, if exists
	//				StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) "
				StringBuf_Printf(&buf, msg_txt(347), pl_sd->status.base_level, pl_sd->status.job_level,
					job_name(pl_sd->status.class_)); // "| Lv:%d/%d | Job: %s"
				break;
			}
			case 3: {
				if (pc_has_permission(sd, PC_PERM_WHO_DISPLAY_AID))
					StringBuf_Printf(&buf, msg_txt(912), pl_sd->status.char_id, pl_sd->status.account_id);	// "(CID:%d/AID:%d) "
				StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s "
	//			if (pc_get_group_id(pl_sd) > 0) // Player title, if exists
	//				StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) "
				StringBuf_Printf(&buf, msg_txt(348), mapindex_id2name(pl_sd->mapindex), pl_sd->bl.x, pl_sd->bl.y); // "| Location: %s %d %d"
				break;
			}
			default: {
				struct party_data *p = party_search(pl_sd->status.party_id);
				struct guild *g = guild_search(pl_sd->status.guild_id);

				StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s "
	//			if (pc_get_group_id(pl_sd) > 0) // Player title, if exists
	//				StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) "
				if (p != NULL)
					StringBuf_Printf(&buf, msg_txt(345), p->party.name); // " | Party: '%s'"
				if (g != NULL)
					StringBuf_Printf(&buf, msg_txt(346), g->name); // " | Guild: '%s'"
				break;
			}
		}

just comment them

where i can see this?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...