summaryrefslogtreecommitdiff
path: root/npc/sample/PCLoginEvent.txt
blob: 66b99e86d3075d07810dc3dc0cb6206251f5aa1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// eAthena Special NPC

// PCLoginEvent NPC (davidsiaw)
//==============================================================================
// How it works:
// When a player logs in, the NPC will run as if he just clicked it. Which means
// if the script is like this:
//
// [code]
// prontera.gat,0,0,0	script	PCLoginEvent	-1,{
//	mes "lmao";
//	close;
// }
// [/code]
// 
// every player who logs in will recieve a message 'lmao' in their face as soon
// as they can see the map.
//-----------------------------------------------------------------------------
// Note:
// 1) This NPC will only run if its name is 'PCLoginEvent'
// 2) I made it invisible because you don't need to see it. Its an abstract NPC
// 3) If you don't want it, simply delete it
// 4) If you have more than one PCLoginEvent NPC, strange things will happen.
// 5) You can put this script in ANY file.
// 6) I put an end; there because that just makes it do nothing.
// 7) Modify this script to your liking and give your players a surprise
// 8) Remember: IT RUNS LIKE A NORMAL NPC. BUT THE ONLY WAY TO 'CLICK' IT IS BY
//              LOGGING ON


prontera.gat,0,0,0	script	PCLoginEvent	-1,{
	end;
}