This repository was archived by the owner on Feb 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path[clientscript,killcounts].cs2
88 lines (88 loc) · 3.71 KB
/
[clientscript,killcounts].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
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
// 1584
[clientscript,killcounts](string $string0, string $string1, string $string2, int $int0, string $text3, boolean $boolean1)
def_component $component2 = interface_549:12;
def_component $component3 = interface_549:13;
def_component $component4 = interface_549:14;
def_component $component5 = interface_549:15;
def_component $component6 = interface_549:16;
def_component $component7 = interface_549:5;
def_component $component8 = interface_549:4;
def_int $int9 = 0;
def_int $index10 = string_indexof_string($string0, "|", 0);
def_int $index11 = string_indexof_string($string1, "|", 0);
def_int $index12 = string_indexof_string($string2, "|", 0);
def_string $text4 = "";
def_string $text5 = "";
def_string $text6 = "";
def_graphic $graphic13 = "reset,0";
def_graphic $graphic14 = "reset,1";
def_int $int15 = 18;
cc_deleteall($component2);
cc_deleteall($component3);
cc_deleteall($component4);
cc_deleteall($component5);
cc_deleteall($component6);
~script1586;
while ($int9 <= $int0 & $index10 ! -1 & $index11 ! -1 & $index12 ! -1) {
$text4 = substring($string0, 0, $index10);
$text5 = substring($string1, 0, $index11);
$text6 = substring($string2, 0, $index12);
if (calc($int9 % 2) = 0) {
cc_create($component2, ^iftype_rectangle, calc($int9 / 2));
cc_setcolour(^white);
cc_setfill(true);
cc_settrans(245);
cc_setposition(0, calc($int9 * $int15), ^setpos_abs_centre, ^setpos_abs_top);
cc_setsize(0, $int15, ^setsize_minus, ^setsize_abs);
}
cc_create($component3, ^iftype_text, $int9);
cc_setsize(0, 15, ^setsize_minus, ^setsize_abs);
cc_setposition(0, calc($int9 * $int15), ^setpos_abs_left, ^setpos_abs_top);
cc_settextfont(p12_full);
cc_setcolour(0xff981f);
cc_settextalign(^settextalign_left, ^settextalign_bottom, 15);
cc_settext($text4);
cc_settextshadow(true);
cc_create($component4, ^iftype_text, $int9);
cc_setsize(0, 15, ^setsize_minus, ^setsize_abs);
cc_setposition(0, calc($int9 * $int15), ^setpos_abs_left, ^setpos_abs_top);
cc_settextfont(p12_full);
cc_setcolour(0xff981f);
cc_settextalign(^settextalign_right, ^settextalign_bottom, 15);
cc_settext($text5);
cc_settextshadow(true);
cc_create($component5, ^iftype_text, $int9);
cc_setsize(0, 15, ^setsize_minus, ^setsize_abs);
cc_setposition(0, calc($int9 * $int15), ^setpos_abs_left, ^setpos_abs_top);
cc_settextfont(p12_full);
cc_setcolour(0xff981f);
cc_settextalign(^settextalign_right, ^settextalign_bottom, 15);
cc_settext($text6);
cc_settextshadow(true);
cc_create($component6, ^iftype_graphic, $int9);
cc_setsize(15, 14, ^setsize_abs, ^setsize_abs);
cc_setposition(0, calc($int9 * $int15), ^setpos_abs_left, ^setpos_abs_top);
cc_setgraphic("reset,0");
if ($boolean1 = true) {
cc_setonmouseover("cc_graphic_swapper($component6, $int9, $graphic14, null)");
cc_setonmouseleave("cc_graphic_swapper($component6, $int9, $graphic13, null)");
cc_setonop("script1587($component6, $int9)");
cc_setop(1, "Reset Streak");
cc_setopbase("<col=ff9040><$text4></col>");
} else {
cc_settrans(120);
cc_clearops;
cc_setonop(null);
}
$string0 = substring($string0, calc($index10 + 1), string_length($string0));
$string1 = substring($string1, calc($index11 + 1), string_length($string1));
$string2 = substring($string2, calc($index12 + 1), string_length($string2));
$int9 = calc($int9 + 1);
$index10 = string_indexof_string($string0, "|", 0);
$index11 = string_indexof_string($string1, "|", 0);
$index12 = string_indexof_string($string2, "|", 0);
}
if_setscrollsize(0, calc($int9 * $int15 + $int15), $component7);
if_setscrollpos(0, 0, $component7);
~scrollbar_vertical($component8, $component7, "scrollbar_dragger_v2,3", "scrollbar_dragger_v2,0", "scrollbar_dragger_v2,1", "scrollbar_dragger_v2,2", "scrollbar_v2,0", "scrollbar_v2,1");
if_settext($text3, interface_549:3);