Jump to content
UBot Underground

hoanglo

Members
  • Content Count

    37
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by hoanglo

  1. Thank

     

    try something like this

     

    alert($is num(123))
    alert($is num("adl"))
    define $is num(#STRING TO CHECK) {
        if($comparison($find regular expression(#STRING TO CHECK,"\\d.*"),"!= Does not equal",$nothing)) {
            then {
                return("true")
            }
            else {
                return("false")
            }
        }
    }

     

     

    if you are subscribed and always will be

    use advance text in the bot bank

    alert($is number(12345))

     

    CD

    Thank you very much.

    I figured this out on my own using regular expression to extract digits from the string.

×
×
  • Create New...