mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-15 11:00:17 -07:00
Added initial version
This commit is contained in:
commit
b1dccb3fed
14153 changed files with 1285206 additions and 0 deletions
12
dumps/scripts/20.cs2
Normal file
12
dumps/scripts/20.cs2
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
string script_20(int arg0) {
|
||||
if (arg0 >= 99999999) {
|
||||
return "*";
|
||||
}
|
||||
if (arg0 >= 10000000) {
|
||||
return concat(intToStr(divide(arg0, 1000000)), "M");
|
||||
}
|
||||
if (arg0 >= 10000) {
|
||||
return concat(intToStr(divide(arg0, 1000)), "K");
|
||||
}
|
||||
return intToStr(arg0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue