![]() |
RC online/offline events
More of a question then a certain "bug".
Why is onPlayerLogout triggered for RC's, while onPlayerLogin (or even onActionPlayerOnline) isn't? Sounds stupid having only logout trigger, and could be useful to have it trigger for login (automated staff messages ftw). I can do it by doing a loop checking all online players and blah blah, but it defeats the purpose of a built-in function for it. |
*bump*
|
*bump x2*
Come ooooooon.... :whatever: |
It's not invoking the onPlayerLogin and onActionPlayerOnline events because the RC is not a regular player and might mess up stuff if it's not checking the case that it's an RC connecting and not a normal player. It could be possible to add a new event when an RC is connecting.
|
Quote:
|
I've wanted an RC login event for the longest time, I'd also really love some way to send echos to only a single RC and not all of them. I want to be able to have debug messages for my scripts on RC without flooding the other people who have the NC. With that, messages could be left for specific people when they login to RC and not everyone will see them every time someone logs in.
Maybe add an echo2(text, account) that sends an echo to that RC account, or if the account is left out then it sends it to the calling player's account. I've noticed that static functions (like substring()) can be overloaded with different parameter counts. I would also want that feature so I could display messages for newer staff when they login to RC so they would see notices and any rules they need to remember or their assignments. |
I echo the need of local echos.
This way we could have message systems and such for staff on RC and they won't be able to miss them. |
Quote:
|
Bumping in hopes of Stefan not forgetting it.
|
Oh I definitely agree with this suggestion.
|
It should be possible to add a new echo command to send messages to individual players, will check it.
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 08:01 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.