Jump to content

Teleblock


investmentideas

Recommended Posts

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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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