1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved help with contains

Discussion in 'Skript' started by hakeem_j, Jan 24, 2018.

Thread Status:
Not open for further replies.
  1. hakeem_j

    hakeem_j Member

    Joined:
    Aug 17, 2017
    Messages:
    39
    Likes Received:
    1
    --

     
    #1 hakeem_j, Jan 25, 2018
    Last edited: Jan 26, 2018
  2. Best Answer:
    Post #6 by Syst3ms, Jan 26, 2018
  3. Syst3ms

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    191
    Likes Received:
    22
    You just look like a retard desperate for attention when asking help like that. And no, I'm not going to help you because of it
     
  4. hakeem_j

    hakeem_j Member

    Joined:
    Aug 17, 2017
    Messages:
    39
    Likes Received:
    1
    i edit it
    can you help now
     
  5. Snow-Pyon

    Snow-Pyon Well-Known Member

    Joined:
    Jan 25, 2017
    Messages:
    1,235
    Likes Received:
    176
    Medals:
    1. For your own good, use list variables, {this.format.%player%} will be hell to work with later.
    2. I'd use TuSKe and its regex features. The same way I do in my Nick/Skin Changer script.
     
  6. hakeem_j

    hakeem_j Member

    Joined:
    Aug 17, 2017
    Messages:
    39
    Likes Received:
    1
    Actually i use tuske
    but i need to block custom characters
    that what i want
     
    #5 hakeem_j, Jan 26, 2018
    Last edited: Jan 26, 2018
  7. Syst3ms

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    191
    Likes Received:
    22
    Code (Skript):
    1. if {_string} matches "\w+":
    2.  
    This checks if the string is only composed of A-Z, a-z, 1-9 and _
     
Thread Status:
Not open for further replies.

Share This Page

Loading...