This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
CLANMEMBERS.l2s
76 lines (63 loc) · 1.52 KB
/
CLANMEMBERS.l2s
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
// Kratky popis
// Server:
// Autor: mochitto
// Date:
// Special thanks for L2.NET contributors
// rev.: 0
PRINT_TEXT "SCRIPT STARTED!]"
//5a
SET_EVENT "<&SCRIPTEVENT_SERVERPACKET&>" "<&SYSTEM_CURRENTFILE&>" PledgeShowMemberListAll 90
DO
SLEEP 1000
LOOP ONE == ONE
END_SCRIPT
FUNCTION PledgeShowMemberListAll
PRINT_TEXT " F:PledgeShowMemberListAll"
DEFINE INT NOT 0
DEFINE INT CLANLEVEL 0
DEFINE INT REPUTATION 0
DEFINE INT MEMBERS 0
DEFINE INT TMPLEVEL 0
DEFINE INT TMPCLASS 0
DEFINE STRING CLANNAME 0
DEFINE STRING LEADER 0
DEFINE STRING ALLY 0
DEFINE STRING TMPNAME 0
DEFINE ARRAYLIST PLAYERS 0
PACKET.READ_BYTE NOT
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_STRING CLANNAME
PACKET.READ_STRING LEADER
PACKET.READ_INT32 NOT
PACKET.READ_INT32 CLANLEVEL
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_INT32 REPUTATION
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_STRING ALLY
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_INT32 NOT
PACKET.READ_INT32 MEMBERS
FOR 0 "<&MEMBERS&>" 1
PACKET.READ_STRING TMPNAME
PACKET.READ_INT32 TMPLEVEL
PACKET.READ_INT32 TMPCLASS
PACKET.READ_INT32 not
PACKET.READ_INT32 not
PACKET.READ_INT32 not
PACKET.READ_INT32 not
PLAYERS.ADD TMPNAME
NEXT
FOREACH B STRING PLAYERS
PRINT_TEXT "<&PLAYERS.B&>"
NEXTEACH
RETURN VOID
PRINT_TEXT "SCRIPT STOPED!]"
END_SCRIPT