corpsband Posted December 19, 2014 Share Posted December 19, 2014 (edited) Some of the players in the thread have strong opinions. That's fine. Yet I saw someone suggest "banned" to a poster. The participants in this thread haven't come close to anything like that. We agree or we don't, but nothing in this thread has come remotely to the concept of "banned." Yeah that was me. And it was obviously not serious. I do however stand by my earlier post -- this what he looks like in real life. // find the variance with the most matching words $vcount=0; while ($vcount < count($vararray[$bestpriority])){ if (strstr($vararray[$bestpriority][$vcount],"@")){ eregi("@(.*)",$vararray[$bestpriority][$vcount],$syn); // fix this $syn = $syn[1]; for($x=0;$x<count($synonymarray);$x++){ if (eregi($syn,strtoupper($synonymarray[$x]))){ $sarray = explode(" ",$synonymarray[$x]); for($f=0;$f<count($sarray);$f++){ $newstring = ereg_replace("@(.*)$",$sarray[$f],$vararray[$bestpriority][$vcount]); // works to this point if(eregi($newstring."$",$string)){ $varray = explode(" ",$vararray[$bestpriority][$vcount]); if(count($varray) > $pvarray){ $bestvariance = $vcount; $pvarray = count($varray); } } } } } }else{ if(ereg($vararray[$bestpriority][$vcount],$string)){ $varray = explode(" ",$vararray[$bestpriority][$vcount]); if(count($varray) > $pvarray){ $bestvariance = $vcount; $pvarray = count($varray); } } } $vcount++; } Edited December 19, 2014 by corpsband 1 Quote Link to comment Share on other sites More sharing options...
JimF-LowBari Posted December 19, 2014 Share Posted December 19, 2014 Thanks for the nightmares corpsband... I actually started looking at this crap trying to figure out how it works..... But can't figure out if this is C, perl or some version of SQL. Have worked so much of this the last few years it's all running together.... Quote Link to comment Share on other sites More sharing options...
Jeff Ream Posted December 19, 2014 Share Posted December 19, 2014 I go on a rambling tangent ? But you don't. I see.. I got it now. no, I don't. I'd say my average post is 40 words or less. Quote Link to comment Share on other sites More sharing options...
corpsband Posted December 19, 2014 Share Posted December 19, 2014 Thanks for the nightmares corpsband... I actually started looking at this crap trying to figure out how it works..... But can't figure out if this is C, perl or some version of SQL. Have worked so much of this the last few years it's all running together.... it's actually a snippet from a PHP version of the Eliza script. 1 Quote Link to comment Share on other sites More sharing options...
JimF-LowBari Posted December 19, 2014 Share Posted December 19, 2014 it's actually a snippet from a PHP version of the Eliza script. LOL... well I'm not programming anymore (unless I get snagged with SQL) so might be safe from this one..... thanks for the ID... Quote Link to comment Share on other sites More sharing options...
Everyfan Posted December 19, 2014 Share Posted December 19, 2014 Some of the players in the thread have strong opinions. That's fine. Yet I saw someone suggest "banned" to a poster. The participants in this thread haven't come close to anything like that. We agree or we don't, but nothing in this thread has come remotely to the concept of "banned." "Band"- yes. "Banned" - no. Quote Link to comment Share on other sites More sharing options...
Jeff Ream Posted December 19, 2014 Share Posted December 19, 2014 it's actually a snippet from a PHP version of the Eliza script. so YOU hacked Sony Quote Link to comment Share on other sites More sharing options...
xandandl Posted December 19, 2014 Share Posted December 19, 2014 "Band"- yes. "Banned" - no. What? Band banned on DCP? Say it isn't so... Quote Link to comment Share on other sites More sharing options...
Lincoln Posted December 19, 2014 Share Posted December 19, 2014 Yeah that was me. And it was obviously not serious. I'm sorry corpsband. I don't think I properly distinguished between banter and serious discussion. Quote Link to comment Share on other sites More sharing options...
jjeffeory Posted December 19, 2014 Share Posted December 19, 2014 (edited) Thanks for the nightmares corpsband... I actually started looking at this crap trying to figure out how it works..... But can't figure out if this is C, perl or some version of SQL. Have worked so much of this the last few years it's all running together.... Most likely C or C++ or PHP or perl.... lol Edited December 19, 2014 by jjeffeory 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.