//@unloadnpc loginevent
//@loadnpc npc/amatsu/login.txt

-	script	loginevent	-1,{

OnInit:

/*************************************************************
 *                      Configuration                        *
 *************************************************************/
	.@ServName$ = "Simply Amatsu";
	setarray .announcements$, "Hope you're having fun on "+ .@ServName$+"!  We are currently running under Episode 11.1 : Rachel.",
		  "Type @commands to view a list of helpful tools to aid you in your adventure.",
		  "Do you know? . . . You can claim supplies freebies 2x a day 1am and 12pm refresh time.  Visit freebies NPC near Prontera fountain.",
		  "Protect your account, avoid getting hacked, use @security to secure your account with PIN and make sure to enable when logout.",
		  "Do you know? You will earning reward points to buy potions and cool stuffs while staying online.  Visit Online Gaming Time at the Central Office to claim.",
		  "Real Money Trading is NOT allowed INSIDE the game. We will automatically BLOCK account without notice.",
		  "Attempting to deceive a player such as scamming, and any other means of deceiving just to get the players item/zeny is a bannable offense. Please submit ticket at the Support Desk.",
		  "PERMA BAN will be imposed on Aggressive, harrassing use of names or titles that are OFFENSSIVE or RACIST in nature.",
		  "REFERRAL SYSTEM: You can easily earn 1,000 Credit by inviting your friend to play here at "+ .@ServName$+". Visit https://www.amatsuro.com/?module=referral for more info.",
		  "Looking for party? Use @sparty to announce that you are looking for one.",
		  "Use @buy or @sell to announce your trading needs.",
		  "Daily Repeatable Mission is now available with cool reward. Find the Sign Post at Prontera.",
		  "A new dungeon is discovered. Boost more EXP from monster at the Overlook Water Dungeon. It is recommended for level 30 ~ 75.",
		  "Circulating FALSE/FAKE Information like spreading damaging, unproven, hearsay accusation againts Simply Amatsu and its staff is a bannable offense.",	
		  "Don't get lost, our website is packed with QUEST GUIDES for you to get going.";
 	end;

OnAnnounce:

	announce .announcements$[rand(getarraysize(.announcements$))],bc_self;
	addtimer 300000,strnpcinfo(0) + "::OnAnnounce";
	end;


OnPCLoginEvent:
	// Announce
   	announce .announcements$[rand(getarraysize(.announcements$))],bc_self;
    	addtimer 300000,strnpcinfo(0) + "::OnAnnounce";
	end;
}

