Azeroth Posted November 23, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Share Posted November 23, 2015 Hi i was thinking of a new modification of dispbottom command, is this possible to make like announce? dispbottom "name",color",bc_all; or whatever because don't want to be seen in the screen at the top. i want only to bee seen in the chat box is that way possible for it? Quote Link to comment Share on other sites More sharing options...
1 Stolao Posted November 23, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 1 hour ago Share Posted November 23, 2015 if(addrid(0)) dispbottom "This will show to everyone in dark red",0xFF7777; 1 Quote Link to comment Share on other sites More sharing options...
0 EL Dragon Posted November 23, 2015 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted November 23, 2015 http://herc.ws/board/topic/7023-dispbottomcolor/ http://herc.ws/board/topic/3899-suggestion-displaybottom-message-colors/ Quote Link to comment Share on other sites More sharing options...
0 Azeroth Posted November 23, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Author Share Posted November 23, 2015 http://herc.ws/board/topic/7023-dispbottomcolor/ http://herc.ws/board/topic/3899-suggestion-displaybottom-message-colors/ Thanks for the post but this is not what i'm looking for, and also dispbottom of rAthena does support already color so no need this. all i need is the command at the end just like announce. bc_self bc_all i'm looking for that command Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted November 23, 2015 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted November 23, 2015 Add all players in the server to the script RID, send your message and end it. addrid(<type>{,<flag>{,<parameters>}}); This command will attach other RIDs to the current script without detaching the invoking RID. It returns 1 if successful and 0 upon failure. <type> determines what RIDs are attached: 0: All players in the server. 1: All players in the map of the invoking player, or the invoking NPC if no player is attached. 2: Party members of a specified party ID. [ Parameters: <party id> ] 3: Guild members of a specified guild ID. [ Parameters: <guild id> ] 4: All players in a specified area of the map of the invoking player (or NPC). [ Parameters: <x0>,<y0>,<x1>,<y1> ] Account ID: If type is Account ID, attach the specified account ID. <flag> can prevent certain players from being attached: 0: Players are always attached. (default) 1: Players currently running another script will not be attached. Otherwise, you could just query players online, then, make a for using getusers(1) as a limit, sending the message to everyone. Quote Link to comment Share on other sites More sharing options...
0 Azeroth Posted November 23, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Author Share Posted November 23, 2015 Add all players in the server to the script RID, send your message and end it. addrid(<type>{,<flag>{,<parameters>}}); This command will attach other RIDs to the current script without detaching the invoking RID. It returns 1 if successful and 0 upon failure. <type> determines what RIDs are attached: 0: All players in the server. 1: All players in the map of the invoking player, or the invoking NPC if no player is attached. 2: Party members of a specified party ID. [ Parameters: <party id> ] 3: Guild members of a specified guild ID. [ Parameters: <guild id> ] 4: All players in a specified area of the map of the invoking player (or NPC). [ Parameters: <x0>,<y0>,<x1>,<y1> ] Account ID: If type is Account ID, attach the specified account ID. <flag> can prevent certain players from being attached: 0: Players are always attached. (default) 1: Players currently running another script will not be attached. Otherwise, you could just query players online, then, make a for using getusers(1) as a limit, sending the message to everyone. is there way to make it global? as you can see if using announce command it will global announce. everything in the server can see the message. that is what i want on my dispbottom. Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted November 23, 2015 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted November 23, 2015 ._. Azeroth... addrid(<type>{,<flag>{,<parameters>}}); Look: This command will attach other RIDs to the current script without detaching the invoking RID. It returns 1 if successful and 0 upon failure. And then: <type> determines what RIDs are attached: 0: All players in the server. It means, once you run this command, your current script will be attached to everyone in the whole server, so, WHATEVER the script does after it, if it's possible, will be delivered to EVERYONE. As I said: Add all players in the server to the script RID, send your message and end it. Quote Link to comment Share on other sites More sharing options...
0 Azeroth Posted November 23, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Author Share Posted November 23, 2015 ._. Azeroth... addrid(<type>{,<flag>{,<parameters>}}); Look: This command will attach other RIDs to the current script without detaching the invoking RID. It returns 1 if successful and 0 upon failure. And then: <type> determines what RIDs are attached: 0: All players in the server. It means, once you run this command, your current script will be attached to everyone in the whole server, so, WHATEVER the script does after it, if it's possible, will be delivered to EVERYONE. As I said: Add all players in the server to the script RID, send your message and end it. Oh i see, thank you, do you have any examples? Quote Link to comment Share on other sites More sharing options...
0 Azeroth Posted November 23, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Author Share Posted November 23, 2015 if(addrid(0)) dispbottom "This will show to everyone in dark red",0xFF7777; not working Quote Link to comment Share on other sites More sharing options...
Question
Azeroth
Hi i was thinking of a new modification of dispbottom command, is this possible to make like announce?
or whatever because don't want to be seen in the screen at the top. i want only to bee seen in the chat box is that way possible for it?
Link to comment
Share on other sites
8 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.