How to check if the module is on or off

Avatar

By C_Maxpo 11 January 2019 11:55

Member · 14 comments

I'm doing LiquidScript But I do not know how to check the Module is on or off.

Avatar

By scorpion3013 13 January 2019 22:40

Donator · 169 comments
var KillauraToggle = moduleManager.getModule("Killaura");
if (KillauraToggle) {
    chat.print("Killaura is on")
}

Last edited by scorpion3013 (13 January 2019 22:40)


x9NRB1x.gif

Good paid alt-gen: The Altening
Discord: scorpion#3013 | Twitter: scorpien3013 | Keybase: scorpion3013 | Telegram: scorpien3013

Ms0EFcQ.gif

Avatar

By C_Maxpo 15 January 2019 00:03

Member · 14 comments

It doesn't work.

Avatar

By Senk Ju 15 January 2019 01:10

Administrator · 536 comments
var killauraModule = moduleManager.getModule("KillAura");
if (killauraModule.getState()) {
    chat.print("Killaura is on")
}

https://github.com/CCBlueX/LiquidBounce … i/Managers


CCBlueX Co-Owner

Avatar

By icewormy3 15 January 2019 11:49

Member · 207 comments
scorpion3013 wrote
var KillauraToggle = moduleManager.getModule("Killaura");
if (KillauraToggle) {
    chat.print("Killaura is on")
}

He said LiquidScript