2025/09/24 Update
Updates from @behindflayer
This commit is contained in:
@@ -11,6 +11,7 @@ void main()
|
||||
|
||||
string sPlayerName = GetName(oPC);
|
||||
|
||||
int bNWNxEE = NWNXGetIsAvailable();
|
||||
|
||||
GPA_HorseOCL(oPC);
|
||||
// Mark down how low the player is in hitpoints, and whether or not they are
|
||||
@@ -22,5 +23,5 @@ void main()
|
||||
SetLocalInt(oArea, "playerCount", GetLocalInt(oArea, "playerCount") - 1);
|
||||
|
||||
//:: AmonBot Player Announce
|
||||
NWNX_WebHook_SendWebHookHTTPS("discordapp.com", NWNX_DISCORD_URL, sPlayerName+ " has left the World of Amon.", "AmonBot");
|
||||
if (bNWNxEE) NWNX_WebHook_SendWebHookHTTPS("discordapp.com", NWNX_DISCORD_URL, sPlayerName+ " has left the World of Amon.", "AmonBot");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user