mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
53
dumps/scripts/3160.cs2
Normal file
53
dumps/scripts/3160.cs2
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
void script_3160(int arg0,int arg1) {
|
||||
int stack_dump0;
|
||||
int stack_dump1;
|
||||
int stack_dump2;
|
||||
int stack_dump3;
|
||||
string stack_dump4;
|
||||
cs2func_script_802_struct(1,1,0) structdump_5;
|
||||
if (cs2method6900() || ((boolean)script_5280())) {
|
||||
return;
|
||||
}
|
||||
switch (arg0) {
|
||||
case 84:
|
||||
if (cs2method3751()) {
|
||||
if (strLength(globalstring_278) > 0) {
|
||||
cs2method5006(2);
|
||||
cs2method5008(globalstring_278);
|
||||
}
|
||||
} else {
|
||||
message(43, 0, "You are not in a Clan.");
|
||||
}
|
||||
globalstring_278 = "";
|
||||
setWidgetText(new WidgetPointer(912,24), replaceLtGt(globalstring_278));
|
||||
globalint_1098 = strLength(globalstring_278);
|
||||
script_1390(59768856, 59768857, globalstring_278);
|
||||
break;
|
||||
case 102:
|
||||
case 103:
|
||||
case 98:
|
||||
case 99:
|
||||
case 96:
|
||||
case 97:
|
||||
globalint_1098 = script_1553(arg0, globalint_1098, globalstring_278);
|
||||
script_1390(59768856, 59768857, globalstring_278);
|
||||
break;
|
||||
case 85:
|
||||
case 101:
|
||||
case -1:
|
||||
if ((isValidChar(((char)arg1)) || (arg0 == 85)) || (arg0 == 101)) {
|
||||
stack_dump0 = globalint_1098;
|
||||
stack_dump1 = 0;
|
||||
stack_dump2 = arg0;
|
||||
stack_dump3 = arg1;
|
||||
stack_dump4 = globalstring_278;
|
||||
structdump_5 = script_802(stack_dump0, stack_dump1, stack_dump2, stack_dump3, stack_dump4);
|
||||
stack_dump4 = structdump_5.stringpart_0;
|
||||
globalint_1098 = structdump_5.intpart_0;
|
||||
globalstring_278 = stack_dump4;
|
||||
setWidgetText(new WidgetPointer(912,24), replaceLtGt(globalstring_278));
|
||||
script_1390(59768856, 59768857, globalstring_278);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue