2.
mIRC goes crazy when it comes to variables that does not exist.
I have.
%seenchans #list,#of,#channels
If I have.
elseif (($istok(%seenchans,$target,44)) || ($target == $me)) {
Will only trigger for %seenchannels.
But if I have..
elseif (($istok(%seenchans,$target,44)) || ($target == $me)) && ($istok(%VariableThatDoesNotExist,$target,44)) !ison $target) {
It will trigger for all channels.
elseif (($istok(%seenchans,$target,44)) || ($target == $me)) {
This line is correct, i'm not sure why it's not working for you but :