Jump to content
UBot Underground

How To Do These In Ubot?


Recommended Posts

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...