chat channel: add typing modes

This allows changing the target of typed messages via /f, /c, /g, and
/p. All further messages go to the given target until a new target is
specified.
This commit is contained in:
Adam
2021-05-27 21:59:16 -04:00
parent e7a5b604fe
commit 1ae01335b4
2 changed files with 93 additions and 0 deletions

View File

@@ -270,6 +270,16 @@ LABEL222:
istore 5
istore 6
LABEL226:
iload 6 ; prefix length
iload 5 ; chat type
sconst "preChatSendpublic"
runelite_callback
istore 5 ; chat type
istore 6 ; prefix length
get_varc_string 335 ; load input string
string_length ; get length
iconst 0 ; load 0
if_icmpeq LABEL420 ; if (%varcstring355 == 0) jump to script223 call
iload 5
iconst 44
if_icmpeq LABEL230