scripts: add FriendUpdate and IgnoreUpdate

Co-authored-by: Adam <Adam@sigterm.info>
This commit is contained in:
ThatGamerBlue
2020-03-13 17:27:02 +00:00
committed by Adam
parent 491e837207
commit 51f562b547
4 changed files with 883 additions and 0 deletions

View File

@@ -0,0 +1,320 @@
.id 129
.int_stack_count 7
.string_stack_count 0
.int_var_count 13
.string_var_count 2
iload 1
iconst 2
iconst 3
sconst "Sort by name"
iload 0
iload 1
iload 2
iload 3
iload 4
iload 5
iload 6
invoke 1653
iload 2
iconst 0
iconst 1
sconst "Legacy sort"
iload 0
iload 1
iload 2
iload 3
iload 4
iload 5
iload 6
invoke 1653
iload 3
cc_deleteall
iconst 0
istore 7
iconst 0
istore 8
sconst ""
sstore 0
sconst ""
sstore 1
iconst 0
istore 9
iconst 15
istore 10
iconst -1
istore 11
ignore_count
istore 12
iload 12
iconst 0
if_icmplt LABEL46
jump LABEL67
LABEL46:
get_varbit 8119
iconst 1
if_icmpeq LABEL50
jump LABEL57
LABEL50:
sconst "Loading ignore list"
sconst "<br>"
sconst "Please wait..."
join_string 3
iload 5
if_settext
jump LABEL63
LABEL57:
sconst "You must set a name"
sconst "<br>"
sconst "before using this."
join_string 3
iload 5
if_settext
LABEL63:
iconst 1
iload 0
if_sethide
jump LABEL263
LABEL67:
invoke 1972
istore 11
iload 11
iconst 1
if_icmpeq LABEL73
jump LABEL78
LABEL73:
iconst 8
iconst 5
iload 10
scale
istore 10
LABEL78:
sconst ""
iload 5
if_settext
iconst 0
iload 0
if_sethide
3640
get_varc_int 184
switch
1: LABEL88
2: LABEL91
3: LABEL94
jump LABEL96
LABEL88:
iconst 0
3641
jump LABEL96
LABEL91:
iconst 1
3642
jump LABEL96
LABEL94:
iconst 0
3642
LABEL96:
3643
LABEL97:
iload 7
iload 12
if_icmplt LABEL101
jump LABEL255
LABEL101:
iload 7
ignore_getname
sstore 1
sstore 0
iload 3
iconst 4
iload 8
cc_create
iload 8
iconst 1
add
istore 8
sload 0
cc_settext
iconst 0
iload 10
iconst 1
iconst 0
cc_setsize
iconst 0
iload 9
iconst 1
iconst 0
cc_setposition
iconst 16777215
cc_setcolour
iconst 495
cc_settextfont
iconst 0
iconst 1
iconst 0
cc_settextalign
iconst 1
cc_settextshadow
sconst "<col=ff9040>"
sload 0
sconst "</col>"
join_string 3
cc_setopbase
iconst 1
sconst "Delete"
cc_setop
iload 3
iconst 5
iload 8
cc_create 1
iload 8
iconst 1
add
istore 8
iconst 14
iconst 14
iconst 0
iconst 0
cc_setsize 1
sload 0
iconst 190
iconst 495
parawidth
iconst 3
add
iload 9
iload 10
iconst 14
sub
iconst 2
div
add
iconst 0
iconst 0
cc_setposition 1
iconst 1093
cc_setgraphic 1
iconst 3355443
cc_setgraphicshadow 1
sload 1
string_length
iconst 0
if_icmpgt LABEL181
jump LABEL230
LABEL181:
iload 11
iconst 1
if_icmpeq LABEL185
jump LABEL199
LABEL185:
iconst 10
sconst "Reveal previous name"
cc_setop
iconst 130
iconst -2147483644
sconst "event_opbase"
iconst -2147483645
cc_getid
cc_getid 1
sload 1
sload 0
sconst "isIiiss"
cc_setonop
jump LABEL227
LABEL199:
sconst "Previous name:"
sconst "<br>"
sload 1
join_string 3
sstore 1
iconst 526
iconst -2147483645
iconst -2147483643
iload 6
sload 1
iconst 25
iconst 190
sconst "IiIsii"
cc_setonmouserepeat
iconst 40
iload 6
sconst "I"
cc_setonmouseleave
iconst 130
iconst -2147483644
sconst "event_opbase"
iconst -1
iconst -1
iconst -1
sconst "null"
sconst "null"
sconst "isIiiss"
cc_setonop
LABEL227:
iconst 0
cc_sethide 1
jump LABEL246
LABEL230:
iconst 40
iload 6
sconst "I"
cc_setonmouseover
iconst 1
cc_sethide 1
iconst 130
iconst -2147483644
sconst "event_opbase"
iconst -1
iconst -1
iconst -1
sconst "null"
sconst "null"
sconst "isIiiss"
cc_setonop
LABEL246:
iload 7
iconst 1
add
iload 9
iload 10
add
istore 9
istore 7
jump LABEL97
LABEL255:
iload 12
iconst 1
if_icmpge LABEL259
jump LABEL263
LABEL259:
iload 9
iconst 5
add
istore 9
LABEL263:
iload 9
iload 3
if_getheight
if_icmpgt LABEL268
jump LABEL278
LABEL268:
iconst 0
iload 9
iload 3
if_setscrollsize
iload 4
iload 3
iload 3
if_getscrolly
invoke 72
jump LABEL286
LABEL278:
iconst 0
iconst 0
iload 3
if_setscrollsize
iload 4
iload 3
iconst 0
invoke 72
LABEL286:
return