trying to make a filter for the /setname thing on the bluzone
this thing always returns successful!
function strInStr(%str)
{
%parseStr = "forget stuff crap balls <color:";
if(strPos(%parseStr, %str) > -1)
{
return 1;
}
return 0;
}
context
if(strInStr(%first) || strInStr(%last) || strInStr(%nick))
{
echo("Test successful.");
return;
}
it /always/ echos "Test successful" then it /never/ returns out of the function!
there are no syntax errors anywhere!
what the forget is going on???