Announcement

Collapse
No announcement yet.

Variables in the skin.ini and ||

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Variables in the skin.ini and ||

    Into my skin.ini file, i define 4 variables as :
    Timer1CMDOn=x10sendplc;on;e1||x10sendplc;dim;e1;50
    Timer2CMDOn=x10sendplc;on;e2||x10sendplc;dim;e2;50
    Timer3CMDOn=x10sendplc;on;e3||x10sendplc;dim;e3;50
    Timer4CMDOn=x10sendplc;on;e4||x10sendplc;dim;e4;50

    But into the skintool, the VAR Timer1CMDOn return me Timer1CMDOn=x10sendplc;on;e1 and not Timer1CMDOn=x10sendplc;on;e1||x10sendplc;dim;e1;50 !

    My goal is to create 4 command that i can edit into the skin.ini file !
    I don't want to use the exectbl.ini because i can't edit my commands by my plugin !

    It's normal or it's a RR issue ?

  • #2
    I don't think that is the ideal usage of user vars to put commands in them
    the parser prob will split em... as you seeing

    you could use ++

    and since its your plugin, work it yourself
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

    Comment


    • #3
      my friend pierrotm777 i test that command and working fine the light turn on and the same moment down the intensity to 50% , working fine

      Comment


      • #4
        Originally posted by mitchjs View Post
        I don't think that is the ideal usage of user vars to put commands in them
        the parser prob will split em... as you seeing

        you could use ++

        and since its your plugin, work it yourself
        In my plugin , i can replace the || by ++ and use the SDK.Execute("CMD1++CMD2") ?
        Or Use the ++ just into the skin.ini file and into my plugin replace the ++ by || before the SDK.Execute command ?

        Comment


        • #5
          Originally posted by mikeeps2 View Post
          my friend pierrotm777 i test that command and working fine the light turn on and the same moment down the intensity to 50% , working fine
          Yes in manual but not through the plugin :-) !

          Comment

          Working...
          X