Hello. Thank you for the fix, but we're still not on the finish line :p
I think there may be an error in
Code: Select all
set url "http://www.sherdog.com/fightfinder.php?[http::formatQuery firstname $first lastname $last nickname ""
because that didn't work, but your older solution
Code: Select all
set url "http://www.sherdog.com/fightfinder.php?firstname=$first&lastname=$last&nickname=&search=yes"
seemed to partially work. Ideas?
Also, I'm wondering. There are three possible outcomes from a search; direct hit, multiple hits and no hits. Is it possible to separate these three possibilities? You've already separated direct hit.
If your search returns multiple hits, this is the message: We found 2 Fighter(s) matching your search criteria.
If the search return blank, this is the message: Sorry, your search came up with zero records.
Could this be included in the script, so that the bot will output whether there were zero or multiple hits?
Thanks for all your help
