Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
17
_module/nss/eye_dm_sub3.nss
Normal file
17
_module/nss/eye_dm_sub3.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "eye_dm_inc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oDM = GetPCSpeaker();
|
||||
int iChoice = GetLocalInt(oDM, "SubscriberWand");
|
||||
if (iChoice == 1) // add subscription
|
||||
{
|
||||
DM_SubscribeToMessage(oDM, SUBSCRIPTION_03);
|
||||
SetCustomToken(14000, "You succesfully subscribed to '" + SUBSCRIPTION_03 + "'");
|
||||
}
|
||||
else if (iChoice == 2) // remove subscription
|
||||
{
|
||||
DM_UnSubscribeToMessage(oDM, SUBSCRIPTION_03);
|
||||
SetCustomToken(14000, "You succesfully unsubscribed '" + SUBSCRIPTION_03 + "'");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user