Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. ScriptAPI
  3. how to get onUpdate: "mc.timer.timerSpeed" value

how to get onUpdate: "mc.timer.timerSpeed" value

Scheduled Pinned Locked Moved ScriptAPI
3 Posts 3 Posters 346 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dntdbtD Offline
    dntdbtD Offline
    dntdbt
    wrote on last edited by
    #1

    Hey everyone!

    My script needs to get "mc.timer.timerSpeed" value which takes from active timer from every modules (I mean every modules in all, not specific ones)

    //[...]//
    onUpdate: function() {
        chat.print(/*  Something like "mc.timer.timerSpeed.get()"  */)
    }
    //[...]//
    

    Thanks for any answers in this topic if it's should be possible <З

    ? CzechHekC 2 Replies Last reply
    0
    • dntdbtD dntdbt

      Hey everyone!

      My script needs to get "mc.timer.timerSpeed" value which takes from active timer from every modules (I mean every modules in all, not specific ones)

      //[...]//
      onUpdate: function() {
          chat.print(/*  Something like "mc.timer.timerSpeed.get()"  */)
      }
      //[...]//
      

      Thanks for any answers in this topic if it's should be possible <З

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @dont_doubt I am aware of this topic being in ScriptAPI category but this is how you do it on modules. Might be helpful.

      ClientUtils.displayChatMessage("Timer: ${mc.timer.timerSpeed}")

      1 Reply Last reply
      2
      • dntdbtD dntdbt

        Hey everyone!

        My script needs to get "mc.timer.timerSpeed" value which takes from active timer from every modules (I mean every modules in all, not specific ones)

        //[...]//
        onUpdate: function() {
            chat.print(/*  Something like "mc.timer.timerSpeed.get()"  */)
        }
        //[...]//
        

        Thanks for any answers in this topic if it's should be possible <З

        CzechHekC Offline
        CzechHekC Offline
        CzechHek
        wrote on last edited by
        #3

        @dont_doubt chat.print(mc.timer.timerSpeed)

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        About
        • Terms of Service
        • Privacy Policy
        • Status
        • Contact Us
        Downloads
        • Releases
        • Source code
        • License
        Docs
        • Tutorials
        • CustomHUD
        • AutoSettings
        • ScriptAPI
        Community
        • Forum
        • Guilded
        • YouTube
        • Twitter
        • D.Tube
        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups