aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-19 11:12:06 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-19 11:12:06 +0800
commit1074f35a9e1c97895c3d214fe2b403af7112284b (patch)
treea1d9bd53115771279e62b0460ee9b3ea52a18f72 /features/globalSettings/index.js
parent4ce106d9ffdf73c80568e9daca8613297b4708bb (diff)
downloadSoopyV2-1074f35a9e1c97895c3d214fe2b403af7112284b.tar.gz
SoopyV2-1074f35a9e1c97895c3d214fe2b403af7112284b.tar.bz2
SoopyV2-1074f35a9e1c97895c3d214fe2b403af7112284b.zip
+ make inquis text red
Diffstat (limited to 'features/globalSettings/index.js')
-rw-r--r--features/globalSettings/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 33ee3dc..19f5263 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -128,6 +128,14 @@ class GlobalSettings extends Feature {
})
this.registerEvent("guiMouseClick", this.guiClicked)
+
+ this.partyChatEnabled = true
+
+ this.registerChat("&r&9Party &8> ${*}", (e)=>{
+ if(!this.partyChatEnabled){
+ cancel(e)
+ }
+ })
}
renderWebpage() {