Jump to content

Teleblock


Recommended Posts

Posted
45 minutes ago, Juggles said:

You can use config values for this

if (config.get(#)==#) {

return weAreTeleBlocked;

}

thanks, so i used the config debugger and found that when you are bound, the values were as follows:

CONFIG for ID = 24 :
    Binary = 10001110000001000111100000100000
    Hexadecimal = 8e047820
    Decimal = -1912309728

Can i just put 24 into the values #? or is that not possible?

Posted
37 minutes ago, investmentideas said:

thanks, so i used the config debugger and found that when you are bound, the values were as follows:

CONFIG for ID = 24 :
    Binary = 10001110000001000111100000100000
    Hexadecimal = 8e047820
    Decimal = -1912309728

Can i just put 24 into the values #? or is that not possible?

See this example below.
If I wanted to detect when my brightness is the darkest, i would do 

if (config.get(166)==0) {

return darkestSetting;
}

Just use the values on the screen.

It's config Value : number that changes.

The config value is the same for the action and then depending on what you do the second number changes.

So for teleblock, if the config value was 24, then it might return 0=false and 1=true (I didnt test it but assuming this is what it is)

40829b62391ff6d61d75b1a3cf87f11c.gif

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...