Files
Anphillia_PRC8/_module/nss/eye_dm_sub5.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

18 lines
514 B
Plaintext

#include "eye_dm_inc"
void main()
{
object oDM = GetPCSpeaker();
int iChoice = GetLocalInt(oDM, "SubscriberWand");
if (iChoice == 1) // add subscription
{
DM_SubscribeToMessage(oDM, SUBSCRIPTION_05);
SetCustomToken(14000, "You succesfully subscribed to '" + SUBSCRIPTION_05 + "'");
}
else if (iChoice == 2) // remove subscription
{
DM_UnSubscribeToMessage(oDM, SUBSCRIPTION_05);
SetCustomToken(14000, "You succesfully unsubscribed '" + SUBSCRIPTION_05 + "'");
}
}