Azeroth Posted November 23, 2015 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
1 Stolao Posted November 23, 2015 Posted November 23, 2015 if(addrid(0)) dispbottom "This will show to everyone in dark red",0xFF7777; 1 Quote
0 EL Dragon Posted November 23, 2015 Posted November 23, 2015 http://herc.ws/board/topic/7023-dispbottomcolor/ http://herc.ws/board/topic/3899-suggestion-displaybottom-message-colors/ Quote
0 Azeroth Posted November 23, 2015 Author 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
0 Haziel Posted November 23, 2015 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
0 Azeroth Posted November 23, 2015 Author 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
0 Haziel Posted November 23, 2015 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
0 Azeroth Posted November 23, 2015 Author 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
0 Azeroth Posted November 23, 2015 Author Posted November 23, 2015 if(addrid(0)) dispbottom "This will show to everyone in dark red",0xFF7777; not working Quote
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?
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.