Hiho @ all,
sorry for my worse englisch, but i do my best !
I am workin on several scripts and each time its the same prob.
If i do an if function with and/or seperators the script do not work if there is an linebreak.
for Example:
on *:TEXT:*:* {
if (%show != on) { halt }
var %line $strip($1-)
if ((*option1* iswm %line) || (*option2* iswm %line)) {
echo -g @lookilooki [ $date - $time ] - [ $chan ] $chr(32) $+ $strip($1-) $+
var %ifexist $null
var %ifexist $read(show.txt, s, $strip($2))
if (%ifexist == $null) {
/write show.txt $date $time $chan $strip($1-)
}
}
}
the script ^^ works fine
on *:TEXT:*:* {
if (%show != on) { halt }
var %line $strip($1-)
if ((*option1* iswm %line) ||
(*option2* iswm %line)) {
echo -g @lookilooki [ $date - $time ] - [ $chan ] $chr(32) $+ $strip($1-) $+
var %ifexist $null
var %ifexist $read(show.txt, s, $strip($2))
if (%ifexist == $null) {
/write show.txt $date $time $chan $strip($1-)
}
}
}
this script ^^ will not work
I use Mirc 6.16.
For Scripting i use UltraEdit.
What do i wrong ?!?
mille thx
tigger2k