Jump to content
UBot Underground

Count characters in a variable


Recommended Posts

I got a running Twitter auto poster that spins a message along with a users name. Occasionally the message goes over 140 characters. I basically want to add this to my bot:

 

Set {variable} after spinning message

If {variable} = 141+ characters  = SPIN AGAIN

If {variable} has 140 characters or < = DO NOTHING

 

Is this a regex thing? If I gotta throw a couple of bucks at this just to have somebody pay attention, I'll certainly do it.

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...