help with characters

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Funck

Member
Apr 22, 2018
30
0
6
24
hello, users. I make guilds on the skript and have 1 question.
How to prohibit all characters except those specified?
my code
code_language.skript:
                        if {coins.%player%} is not below 20000:
                            if arg-2 regex matches "[a-zA-Z]":
                                if length of arg-2 > 6:
                                    message "make guild"
                                else:
                                    message "&cerror2"
                            else:
                                message "error, only english characters"
and it's not work ;(
 
hello, users. I make guilds on the skript and have 1 question.
How to prohibit all characters except those specified?
my code
code_language.skript:
                        if {coins.%player%} is not below 20000:
                            if arg-2 regex matches "[a-zA-Z]":
                                if length of arg-2 > 6:
                                    message "make guild"
                                else:
                                    message "&cerror2"
                            else:
                                message "error, only english characters"
and it's not work ;(

try "/[a-zA-Z]/g"
 
Status
Not open for further replies.