mIRC Home    About    Download    Register    News    Help

Print Thread
#190594 23/11/07 06:00 AM
Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
$regex , token identifiers , userlevel

What else on mirc can use on matching texts?

except iswm

Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
$right(), $left(), $mid(), $remove(), etc. etc. etc.. A good percentage of the identifiers in mIRC are string manipulation tools.

it all depends on what you are trying to do as to which tools you'd use.

Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
on exact nicks

Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
If you want a match on an exact nick name in an event, then a simple:

Code:
if ($nick == <exactname>) {
  echo -a yup
}

You can use userlevels to do host mask matching etc. etc. to make life a little easier.

If you have a list of nicks, then using tokens is the best way.

Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
if ($read(file.txt,w,*word*)) { do stuff }



Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
oh yeah if $read hehehehe thanks

Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
anymore ideas? bout a matcher

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
It might help if you were specific about what you're trying to figure out. As mentioned, a lot of identifiers can use matchtext. Events can, and so can various commands. I don't see why anyone would need a comprehensive list of all commands that can do that, so there must be a reason for your question. What are you trying to figure out specifically?


Invision Support
#Invision on irc.irchighway.net
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
if $ini(inifile,topic,nick)
if $hget(table,nick)
if ($var($+(badnicks.,nick)))
if $fline (getting more exotic)
... there are plenty of possibilities... whick one is most suitable is up to your personal taste and the concrete issue smile

Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
I just want to know the different kinds of identifiers on mirc

with *!*@address nick*!*@* or texts

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Just about anything that can take an address can take wildcards. Simple as that.


Invision Support
#Invision on irc.irchighway.net
Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
as i said i just want to know the different kind of identifiers or matchers eek

Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
I don't think anyone here is going to spend the time to type out every mirc identifier and command that accepts wildcards. We aren't here to do the learning for you. I suggest going to your mIRC and typing /help, choose the index tab. Start reading at - and don't stop until you get to wma. Read about every command and identifier and think of what you could do with each one.

-genius_at_work

Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
Thanks for your reply but there are some people here that want to share their knowledge.

Quote:
If you don't know ask for help


i read the help file but haven't red it all sorry have to ask is it bad to ask for help?
thanks anyways to the ones who shared

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
The thing is you're not asking a specific question.

There are lots of different identifiers that can take wildcards as input but it's pointless just listing them all because each identifier has a different purpose. For instance if you wanted to match a nickname it's no good knowing that $timer() can take wildcards.

If you have a specific problem then ask about that, but right now you're just asking for someone to reproduce the help file again, which is no good to anyone.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
people love having their cake cut and serve to them instead of cutting and serving themselves.

But it is true that anything we would post is everything that is within the mIRC's help file. Treat it has a "bible" and mirc is your "religion" (in a non-offensive religioustically way)


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }

Link Copied to Clipboard