Changed folder name.
Changed folder name.
This commit is contained in:
24
_module/nss/ac_crystalball.nss
Normal file
24
_module/nss/ac_crystalball.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "x2_inc_switches"
|
||||
void main()
|
||||
{
|
||||
// Check if we have the correct event firing the script
|
||||
if (GetUserDefinedItemEventNumber() != X2_ITEM_EVENT_ACTIVATE) return;
|
||||
|
||||
|
||||
object oActivator=GetItemActivator();
|
||||
object oPC = GetFirstPC();
|
||||
|
||||
while (oPC != OBJECT_INVALID)
|
||||
{
|
||||
string sReport;
|
||||
sReport = ">>> ID: " + GetPCPlayerName( oPC )
|
||||
+ "; Name: "+ GetName( oPC )
|
||||
+ "; CD Key:" + GetPCPublicCDKey( oPC )
|
||||
+ "; IP:" + GetPCIPAddress( oPC );
|
||||
SendMessageToPC(oActivator, sReport);
|
||||
oPC=GetNextPC();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user