To be used for archiving purposes only. No new posts will be made. View Scope's Farewell Message
WebBot will only interpret its predefined commands. You could send a chat message to webbot and it will store in the SQL and yiu can use your bot to retrieve it. But then your not looking at php, your looking at whatever language the bot is programmed in to pull the URL.
little code
you could have a form put the command into a database
and then have your bot plugin poll a script that looks for new commands.
edit: you could have a form put the command into a database and then have your bot plugin poll a script that looks for new commands.
@edit - I already did this.
From what I understand, you want to have a button on a website that sends a command to a bot like ".host <gamename>" and the bot receive and process the command sent via chat. This is possible to do with webbot, but you'd need a bot that has a plugin designed for webbot so receive the commands sent. You can't just send a command in php to a bot that isn't configured to receive it.
Do i need something more? Thanks!
it's gonna take some work on your part too.
Your bot will either need to poll a service, or become a service itself, and have your web service push to that service when new data arrives. However you'll probably need x-domain policy file hosted on the bot too. In other words .. just do polling, lol.Poll every X minutes (where X is determined by bandwidth vs responsiveness tradeoffs) for any entries stored in whichever medium you prefer and returned in whatever format you want.
He basically wants a one-way webbot. The site allows storage of a command that the bot will poll for, receive and send to Battle.net without actually relaying any of the Battle.net chat environment data back to the web server (i.e. no viewer).