ays297 Posted June 11, 2013 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 49 Reputation: 0 Joined: 11/30/11 Last Seen: November 2, 2014 Share Posted June 11, 2013 (edited) I just wanna now how can I add a character variable in the some @commands like @who. like: switch (display_type) { case 2: { StrBuf->Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s " if (pc_get_group_id(pl_sd) > 0) // Player title, if exists StrBuf->Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) " StrBuf->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; Edited June 11, 2013 by ays297 Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 11, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted June 11, 2013 what mean ?? what character variable in these command? Quote Link to comment Share on other sites More sharing options...
ays297 Posted June 11, 2013 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 49 Reputation: 0 Joined: 11/30/11 Last Seen: November 2, 2014 Author Share Posted June 11, 2013 (edited) EDIT: NVM, I found out how to do it. Thanks emistry. Edited June 11, 2013 by ays297 Quote Link to comment Share on other sites More sharing options...
Question
ays297
I just wanna now how can I add a character variable in the some @commands like @who.
like:
Edited by ays297Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.