Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
14
_module/nss/plc_link_onused.nss
Normal file
14
_module/nss/plc_link_onused.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "color_inc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oOther = GetLocalObject(OBJECT_SELF, "PLC_LINK_OTHER");
|
||||
if (!GetIsObjectValid(oOther))
|
||||
{
|
||||
SendMessageToAllDMs(COLOR_CODE_RED + "Link " + GetName(OBJECT_SELF) + " in " + GetName(GetArea(OBJECT_SELF))+ " has no other end."+ COLOR_CODE_END);
|
||||
}
|
||||
else
|
||||
{
|
||||
AssignCommand(GetLastUsedBy(), JumpToObject(oOther));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user