HappyMan Posted May 9, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 191 Reputation: 25 Joined: 07/19/14 Last Seen: June 26, 2019 Share Posted May 9, 2019 announce "The Character " + strcharinfo(0) + " have " + .@len + " dual accounts " + "and the ID is: " + getcharid(3) ,bc_all,"0xffff90",FW_NORMAL,12; how to set announcement for GM only? thanks in advance Quote Link to comment Share on other sites More sharing options...
0 anacondaq Posted May 9, 2019 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 1096 Reputation: 348 Joined: 02/26/12 Last Seen: May 30, 2023 Share Posted May 9, 2019 1 hour ago, HappyMan said: announce "The Character " + strcharinfo(0) + " have " + .@len + " dual accounts " + "and the ID is: " + getcharid(3) ,bc_all,"0xffff90",FW_NORMAL,12; how to set announcement for GM only? thanks in advance // ... // your code there for(.@i = 0; .@i < getarraysize($@gm_account_ids); .@i++) { if(getgmlevel() > .gm_lvl) announce "The Character " + strcharinfo(0) + " have " + .@len + " dual accounts " + "and the ID is: " + getcharid(3) ,bc_self,"0xffff90",FW_NORMAL,12; } end; OnInit: .gm_lvl = 99; // set here minimum lvl for gms to whom need to send the message setarray $@gm_account_ids[0], 2000000, 20000001, 2000002, 2000003; end; Quote Link to comment Share on other sites More sharing options...
0 HappyMan Posted May 22, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 191 Reputation: 25 Joined: 07/19/14 Last Seen: June 26, 2019 Author Share Posted May 22, 2019 (edited) On 5/10/2019 at 2:58 AM, anacondaq said: @anacondaq its not working.. Edited May 30, 2019 by HappyMan found a solution Quote Link to comment Share on other sites More sharing options...
Question
HappyMan
announce "The Character " + strcharinfo(0) + " have " + .@len + " dual accounts " + "and the ID is: " + getcharid(3) ,bc_all,"0xffff90",FW_NORMAL,12;
how to set announcement for GM only? thanks in advance
Link 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.