mIRC Home    About    Download    Register    News    Help

Print Thread
#42125 16/08/03 08:58 AM
Joined: Dec 2002
Posts: 56
W
wshs Offline OP
Babel fish
OP Offline
Babel fish
W
Joined: Dec 2002
Posts: 56
Quoth the section on RAWMODE from the 'on MODE' help file page, 'The $modefirst and $modelast identifiers return $true or $false depending on whether the event is the first or last to trigger.' I attempt to use these newfound identifiers, without success. Example script:
Code:
on @1:RAWMODE:*:{
  echo -a > $modefirst > $modelast
}

Using that just sends '> >' to the active window. There's no $true or $false returned as indicated by the help file page. I'm pretty sure I'm using them correctly, so I'm assuming it is a bug.


Acquire. Analyze. Adapt.
#42126 18/08/03 11:42 AM
Joined: Jun 2003
Posts: 130
O
Vogon poet
Offline
Vogon poet
O
Joined: Jun 2003
Posts: 130
I don't think those identifiers were designed to work with on rawmode, but with on mode. No idea why they return > however.


If only women came with popup menus and online help.
#42127 18/08/03 03:33 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
They don't return ">" .. he's echoing that but the $null's don't show.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#42128 18/08/03 07:06 PM
Joined: Dec 2002
Posts: 56
W
wshs Offline OP
Babel fish
OP Offline
Babel fish
W
Joined: Dec 2002
Posts: 56
See Hammer's post regarding the '>.' Using the identifiers with on MODE or on RAWMODE presents the same results, a null reply.


Acquire. Analyze. Adapt.

Link Copied to Clipboard