-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,script1524].cs2
52 lines (52 loc) · 2.14 KB
/
[clientscript,script1524].cs2
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
// 1524
[clientscript,script1524](int $int0, int $int1, int $int2, string $text0)
if (if_hassub(enum(component, component, ~toplevel_getcomponents, interface_161:20)) = false) {
return;
}
if_sethide(false, interface_507:11);
def_int $height3 = calc(%varcint178 * 14);
if ($height3 > if_getheight(interface_507:11)) {
if_setscrollsize(0, $height3, interface_507:11);
~scrollbar_resize(interface_507:12, interface_507:11, %varcint179);
} else {
if_setscrollsize(0, 0, interface_507:11);
%varcint179 = 0;
~scrollbar_resize(interface_507:12, interface_507:11, 0);
}
if (%varcint181 ! 0 & %varcint181 ! 1 & %varcint181 ! 2 & %varcint181 ! 3 & %varcint181 ! 4 & %varcint181 ! 5 & %varcint181 ! 6 & %varcint181 ! 7) {
%varcint181 = 0;
}
~raids_partydetails_setsort(-1);
~raids_partydetails_closestats;
~script1537;
if_setonvartransmit("script1536{var1430}", interface_507:11);
~steelborder(interface_507:2, $text0, 0);
def_string $string1 = "";
if ($int0 = 2) {
if ($int1 = 1) {
$string1 = "De-list";
} else if ($int2 > 0) {
$string1 = "Advertise (<tostring($int2)>)";
} else {
$string1 = "<col=7f7f7f>Advertise (0)</col>";
}
~script1558(interface_507:31, $string1, interface_507:3, enum_1539, -1);
if_sethide(false, interface_507:31);
~script1558(interface_507:32, "<col=ff0000>Disband</col>", interface_507:3, enum_1539, -1);
if_sethide(false, interface_507:32);
} else if ($int0 = 1) {
~script1558(interface_507:33, "<col=ff0000>Leave</col>", interface_507:3, enum_1539, -1);
if_sethide(false, interface_507:33);
} else {
~script1558(interface_507:33, "<col=00ff00>Join</col>", interface_507:3, enum_1539, -1);
if_sethide(false, interface_507:33);
}
~script1558(interface_507:34, "Back", interface_507:3, enum_1539, -1);
if_sethide(false, interface_507:34);
~script1558(interface_507:35, "Refresh", interface_507:3, enum_1539, -1);
if_sethide(false, interface_507:35);
~script1530(interface_507:13, "Preferred party size", $int0);
~script1530(interface_507:17, "Preferred combat level", $int0);
~script1530(interface_507:21, "Preferred skill total", $int0);
~script1530(interface_507:22, "Challenge mode", $int0);
~script1530(interface_507:23, "Large Raids", $int0);