on @*:text:*:#: {
if (@* iswm $1) || $&
(!* iswm $1) {
if ($+(%cs.textwarntest,$nick,$chan,$network) != $null) {
kick $chan $nick
}
else {
set $+(%cs.textwarntest,$nick,$chan,$network) warn
msg $chan blah
}
}
}
for some reason at the if ($+(%cs.textwarntest,$nick,$chan,$network) != $null) its acting as if the variable is there when it isn't set anyone know whats wrong? ive tried switching if statments around to see if that worked with no success
i might be wrong but aren't u concatenating the variables with that $+ (...) ? Seems to me that in the event the $chan $nick and $network are always set, and thus the result of the $+ () is always at least the content of those 3 vars. Thus the result is never $null . I'm not sure what eval( ) will do to that concatenated string (no spaces in the string?).
This syntax is not my personal style so i might be missing something which has put me off track. I'm also not sure what you're trying to do tbh