mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
Added initial version
This commit is contained in:
commit
b1dccb3fed
14153 changed files with 1285206 additions and 0 deletions
17
dumps/scripts/1595.cs2
Normal file
17
dumps/scripts/1595.cs2
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
void script_1595(int arg0,string arg1,string arg2) {
|
||||
if (cs2method3624(arg0)) {
|
||||
if (isFriend(arg2)) {
|
||||
setWidgetContextMenuOption(5, "Message " + arg1);
|
||||
setWidgetContextMenuOption(7, "Remove friend " + arg1);
|
||||
} else if (cs2method3623(arg2)) {
|
||||
setWidgetContextMenuOption(8, "Remove ignore " + arg1);
|
||||
} else {
|
||||
setWidgetContextMenuOption(5, "Add friend " + arg1);
|
||||
setWidgetContextMenuOption(6, "Add ignore " + arg1);
|
||||
}
|
||||
}
|
||||
if ((cs2method3618() >= cs2method3616()) && (cs2method3618() > cs2method3615(arg0))) {
|
||||
setWidgetContextMenuOption(9, "Kick/ban user " + arg1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue