-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path[proc,account_billing_update].cs2
More file actions
43 lines (43 loc) · 1.46 KB
/
[proc,account_billing_update].cs2
File metadata and controls
43 lines (43 loc) · 1.46 KB
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
// 2503
[proc,account_billing_update]
def_component $component0 = interface_109:25;
def_component $component1 = interface_109:26;
def_component $component2 = interface_109:30;
def_component $component3 = interface_109:28;
def_component $component4 = interface_109:29;
def_component $component5 = interface_109:35;
def_component $component6 = interface_109:33;
def_component $component7 = interface_109:34;
def_string $text0 = "Membership: <col=ff0000>None</col>";
def_string $op1 = "Upgrade Now";
def_graphic $graphic8 = "graphic_2151";
def_string $text2 = "Bond Pouch";
def_graphic $graphic9 = "graphic_1705";
if (%varcint103 = 1 & %var1780 > 0) {
if (%var1780 > 99999) {
$text0 = "Membership: 99999+ days left";
} else if (%var1780 = 1) {
if (%varcint226 = 0) {
$text0 = "Membership: <col=ff0000>1 day left</col>";
} else {
$text0 = "Membership: 1 day left";
}
} else if (%var1780 <= 3 & %varcint226 = 0) {
$text0 = "Membership: <col=ff0000><tostring(%var1780)> days left</col>";
} else {
$text0 = "Membership: <tostring(%var1780)> days left";
}
$op1 = "Open Store";
$graphic8 = "graphic_1704";
} else if (%varbit6713 = 0) {
$text2 = "View Benefits";
$graphic9 = "graphic_2150";
}
if_settext($text2, $component5);
if_setgraphic($graphic9, $component6);
if_setgraphic($graphic9, $component7);
if_settext($text0, $component0);
if_setop(1, $op1, $component1);
if_settext($op1, $component2);
if_setgraphic($graphic8, $component3);
if_setgraphic($graphic8, $component4);