mIRC Home    About    Download    Register    News    Help

Print Thread
#57958 27/10/03 02:53 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
i am wondering about wildcards, i saw that in some raws for custom display are used echo commands:
like echo some raw $1- etc..
now what are presenting $1- $2- $3- $4- etc...
i havent found anywhere detailed description on this...

#57959 27/10/03 03:06 PM
Joined: Oct 2003
Posts: 273
E
EVH Offline
Fjord artisan
Offline
Fjord artisan
E
Joined: Oct 2003
Posts: 273
The cow jumped over the moon

$1 = The
$2 = cow
$3 = jumped
$4 = over
$5 = the
$6 = moon
$7 = $null

$1- = The cow jumped over the moon
$2- = cow jumped over the moon
$3- = jumped over the moon
$4- = over the moon
$5- = the moon
$6- = moon
$7- = $null

$1-900 = The cow jumped over the moon
    $1-5 = The cow jumped over the
    $2-6 = cow jumped over the moon
    $2-5 = cow jumped over the
    $3-5 = jumped over the
  $7-10 = $null

Edit: btw ... in raw replies, $1 is usually your own nick.

Last edited by EVH; 27/10/03 03:14 PM.
#57960 27/10/03 09:35 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
To find out exactly how a raw reply is built up, put the following line in your remotes:

Code:
raw *:*: {
  if (!$window(@raw)) window @raw
  aline @raw $numeric :: $1-
}


Then simply look in the window, it will look something like this:

Code:
333 :: Oversight #HelpDesk anmlcrckr 1067219559


And then like the previous poster said...


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#57961 28/10/03 12:17 AM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
thanx all

#57962 28/10/03 04:40 AM
Joined: Feb 2003
Posts: 31
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 31
hrmm weird...with that code...It triggers to open the @raw window but nothing is displayed.

#57963 28/10/03 04:42 AM
Joined: Feb 2003
Posts: 31
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 31
nm..i fixed it by using |.

window @raw | aline @raw

Thanks

#57964 28/10/03 05:10 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Then you had both lines in my code on one in your remotes. Doesn't work right then.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius

Link Copied to Clipboard