SHOW:
|
|
- or go back to the newest paste.
1 | ; Option 0 | |
2 | if player.getequipped Thing_To_Check | |
3 | set iEnable to 1 | |
4 | else | |
5 | set iEnable to 0 | |
6 | end if | |
7 | SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" iEnable | |
8 | SetUIFloat "StartMenu/MCM/*:1/*:6/_suffix" 0 | |
9 | SetUIString "StartMenu/MCM/*:1/*:6/_title" "Title" | |
10 | SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2.5 | |
11 | SetUIFloat "StartMenu/MCM/*:1/*:6/_value/*:1/string" "%.1f" Variable | |
12 | ||
13 | ; Option 1 | |
14 | IF player.geteqipped Thing_To_Check | |
15 | SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1 | |
16 | else | |
17 | SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 0 | |
18 | end if | |
19 | SetUIFloat "StartMenu/MCM/*:1/*:6/_suffix" 0 | |
20 | SetUIString "StartMenu/MCM/*:1/*:6/_title" "Title" | |
21 | SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2.5 | |
22 | SetUIFloat "StartMenu/MCM/*:1/*:6/_value/*:1/string" "%.1f" Variable | |
23 | ||
24 | ; Option 2 | |
25 | ||
26 | IF player.geteqipped Thing_To_Check | |
27 | SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1 | |
28 | SetUIFloat "StartMenu/MCM/*:1/*:6/_suffix" 0 | |
29 | SetUIString "StartMenu/MCM/*:1/*:6/_title" "Title" | |
30 | SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2.5 | |
31 | SetUIFloat "StartMenu/MCM/*:1/*:6/_value/*:1/string" "%.1f" Variable | |
32 | end if |