OK.. I don't want mIRC to parse the $3, $null, $4, etc
Here's the code in my script:
on 10:text:$ cmdsearch *:#:{
notice $nick Search Results:
var %search = 1
while (%search <= $lines(additional.mrc)) {
if ($3 isin $read(additional.mrc,%search)) { NOTICE $nick read(additional.mrc,%search) }
inc %search
}
notice $nick Done Displaying Results.
}
Allright.. i type $ cmdsearch say
and here's what i get:
-Ratbert- Search Results:
-Ratbert- on 10:text:$ quit*:#:{ if ($3 != quit Requested by IDS|SaintDogbert. (say) | quit | else quit Requested by IDS|SaintDogbert.
-Ratbert- on 3:text:$ say *:#:{ msg #underground-tavern say
-Ratbert- on 8:text:$ kick*:#:{ if ($4 != kick #underground-tavern say Requested by IDS|SaintDogbert. () | else kick #underground-tavern say Requested by IDS|SaintDogbert.
-Ratbert- Done Displaying Results.
Here's what the first on 10 blah blah line REALLY says:
on 10:text:$ quit*:#:{ if ($3 != $null) { quit Requested by $nick $+ . ( $+ $3- $+ ) | quit } | else { quit Requested by $nick $+ . } }
how can i make Ratbert (the script) notice what the line actually says, including the $3 and $null.. instead of actually parsing the mIRC commands? :-/
Thanks
--SaintDogbert