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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
// TMW-2 Script
// Author:
// Jesusalva
// Pookie
// Description:
// This NPC serves no purpose currently. She is here to make Tulimshar more crowded.
// Now a believer to announce Halinarzo and Alvasus Quest.
003-1,53,128,0 script Aahna NPC_ELVEN_FEMALE,{
mesn;
mesq l("Hello, What a lovely day for a stroll.");
next;
mesn;
mesq l("I heard every Sunday there's a party at Halinarzo Church, but to get there you need to pass through the Desert Canyon.");
next;
mesn;
mesq l("I hope one day, they decide build a church here. It's a pain to travel there every time...");
close;
OnInit:
.sex = G_FEMALE;
.distance = 5;
end;
// Test Server Utilities
OnClock0000:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("It's the last event day! Server shutting down in 20 hours!");
end;
OnClock1000:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("Event Server shutting down in 10 hours!");
end;
OnClock1500:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("Event Server shutting down in 5 hours!");
end;
OnClock1800:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("Event Server shutting down in 2 hours!");
end;
OnClock1900:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("Event Server shutting down in 1 hour!");
end;
OnClock1930:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("Event Server shutting down in 30 minutes!");
end;
OnClock1945:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("Event Server shutting down in 15 minutes!");
end;
OnClock1955:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("Event Server shutting down in 5 minutes!");
end;
OnClock1957:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("##1ATTENTION: THIS IS THE LAST OPPORTUNITY TO SELL STORAGE ITEMS AND EMPTY THE BANK.");
end;
OnClock2000:
if (gettime(GETTIME_DAYOFMONTH) != 31)
end;
kamibroadcast("Wp everyone", "Saulc");
sleep(500);
kamibroadcast("Thanks everyone for participating on the event.", "Jesusalva");
sleep(2000);
kamibroadcast("Event Server will now shutdown, I hope to be handing out the rewards within the next 15 days.", "Jesusalva");
sleep(5000);
kamibroadcast("Stay tuned with the updates!", "Jesusalva");
sleep(3000);
atcommand "@serverexit 100";
end;
// Server Happy Hour
OnSun1800:
$@EXP_EVENT=rand2(15, 20);
if ($@EXP_EVENT > 15 && $@EXP_EVENT != 20)
$@EXP_EVENT=rand2(15, 20);
$@EXP_EVENT_TIME=any(1,1,1,2);
donpcevent "@exprate::OnPlayerCall";
end;
OnSun0000:
disablenpc .name$;
end;
OnMon0000:
enablenpc .name$;
end;
}
|