Jump to content
  • 0

dispbottom modifications possible?


Question

Posted

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?

 

 

8 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

._. 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.
  • 0
Posted

 

._. 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?

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...