It is possible to change a variable in letters SHIFT

Discussion in 'Skript' started by PianmeSX, Jul 24, 2020.

  1. PianmeSX

    PianmeSX Previously KeyPug

    Hello, the truth is that I have never tried or do not like to make a variable become all words into capitals

    I imagine it will be used with , I don't know what variable it is to do that event, even with skript-mirror you can't

    Code (Text):
            loop {c.chars::*}:
                if {_xvariable} contains "%loop-value%":
                    replace all "%loop-value%" with "" in {_xvariable}

    Regards !
     
  2. I'm confused, can you explain better? (maybe in another language, so I can translate it)
     
  3. If what you mean is turning all the letters into capitals:
    Code (Text):
    set {_xvariable} to {_xvariable} to uppercase
    If you want to replace all the loop-value characters into capitals:
    Code (Text):

    loop {c.chars::*}:
      replace all "%loop-value%" with "%loop-value%" to uppercase in {_xvariable}
     
     
    • Agree Agree x 1
  4. PianmeSX

    PianmeSX Previously KeyPug

    Thank you very much, it was what I was looking for, I didn't know this action