Jump to content

StringRegExp


Bundy
 Share

Recommended Posts

I'm trying to make something like a spambot, but I have a little problem. I'm typing /con to get currently connected players (using TopazChat) and get something like that:

bnet   D2XP "Baron_f"            240 none            Cn1     
 bot    CHAT "Bundy"                 0 SG_1.10 Diablo I none    
 bnet   D2XP "muly_za"            83 none            none

Now with StringRegExpGUI I've created mask

"([:print:]{2,15})

problem is that I get Bundy". Is there any way to get rid of it? And second... When I try to paste mask into function I get "" or "1". I'll appreciate any help :whistle:

Link to comment
Share on other sites

Hi,

what parsing line by line and if line contains bnet then StringBetween "".

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...