Initial Upload
Initial Upload
This commit is contained in:
21
_module/nss/areascan_cond_0.nss
Normal file
21
_module/nss/areascan_cond_0.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name: areascan_cond_0
|
||||
//:: Created By: Flash
|
||||
//:: Created On: 02-mar-2005
|
||||
//:://////////////////////////////////////////////
|
||||
#include "areascan_inc"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
string sMyString = "Area Scanner not setup correctly.";
|
||||
|
||||
if(GetLocalInt(oListOwner, AREASCANNER_SETUP_OK))
|
||||
{
|
||||
sMyString = "There are currently " +
|
||||
IntToString(GetLocalInt(oListOwner, AREASCANNER_AREA_COUNT)) +
|
||||
" areas with potential overfarming.";
|
||||
}
|
||||
|
||||
SetCustomToken(AREASCANNER_START_CUSTOM_TOKEN, sMyString);
|
||||
return TRUE;
|
||||
}
|
||||
Reference in New Issue
Block a user