Chasewalk Posted January 6, 2021 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Share Posted January 6, 2021 (edited) Hi, anyone know how to do for example when the event is closed the announcer will appear at the top how many participants in the map event thanks!!! announce "Poring Catcher : is now Closed!",bc_all | bc_blue; Edited January 6, 2021 by Chasewalk Quote Link to comment Share on other sites More sharing options...
0 hikashin-rae Posted January 6, 2021 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 213 Reputation: 24 Joined: 01/14/13 Last Seen: Sunday at 08:40 PM Share Posted January 6, 2021 announce "Poring Catcher is now closed!"+getmapusers("prontera")+" Player(s) will participate ",bc_all | bc_blue; If you want like on your screenshot. 6 hours ago, Chasewalk said: announce "Poring Catcher : is now Closed!",bc_all | bc_blue; Quote Link to comment Share on other sites More sharing options...
1 Poring King Posted January 6, 2021 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted January 6, 2021 *getusers(<type>) This function will return a number of users on a map or the whole server. What it returns is specified by Type. Type can be one of the following values, which control what will be returned: 0 - Count of all characters on the map of the invoking character. 1 - Count of all characters in the entire server. 8 - Count of all characters on the map of the NPC the script is running in. --------------------------------------- *getmapusers("<map name>") This function will return the number of users currently located on the specified map. This is used officially in PVP scripts to check whether a room is filled to capacity. --------------------------------------- *getareausers("<map name>",<x1>,<y1>,<x2>,<y2>) This function will return the count of connected characters which are located within the specified area - an x1/y1-x2/y2 square on the specified map. This is useful for maps that are split into many buildings, such as all the "*_in" maps, due to all the shops and houses. Quote Link to comment Share on other sites More sharing options...
0 Chasewalk Posted January 6, 2021 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Author Share Posted January 6, 2021 Thank you guys especially to your Cookie-rae Quote Link to comment Share on other sites More sharing options...
0 hikashin-rae Posted January 7, 2021 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 213 Reputation: 24 Joined: 01/14/13 Last Seen: Sunday at 08:40 PM Share Posted January 7, 2021 Welcome. 1 Quote Link to comment Share on other sites More sharing options...
Question
Chasewalk
Hi, anyone know how to do for example when the event is closed the announcer will appear at the top how many participants in the map event thanks!!!
announce "Poring Catcher : is now Closed!",bc_all | bc_blue;

Edited by ChasewalkLink to comment
Share on other sites
4 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.