Added NWNX & removed conflicting spell scripts

Added NWNX & removed conflicting spell scripts
This commit is contained in:
Jaysyn904
2021-08-30 20:48:48 -04:00
parent f08007d10d
commit 7a2452f20c
81 changed files with 25029 additions and 558 deletions

14
_module/nss/on_pubsub.nss Normal file
View File

@@ -0,0 +1,14 @@
/// @ingroup redis
/// @brief Script to handle PubSub event
/// @{
/// @file on_pubsub.nss
#include "nwnx_redis_ps"
void main()
{
struct NWNX_Redis_PubSubMessageData data = NWNX_Redis_GetPubSubMessageData();
WriteTimestampedLogEntry("Pubsub Event: channel=" + data.channel +
" message=" + data.message);
}
/// @}