|
| Author |
Message |
Mojave Almost An Agent

Joined: 01 Nov 2003 Posts: 1434
 
|
Posted: Sun Mar 14, 2004 7:42 am Post subject: |
|
|
The Beer service returns a random beer from the database.
Simply use LWP::Simple to access the following url and it will return the beer, brewery and type of beer as a string, which you can then send to your bot's user.
http://www.botwork.com/cgi-bin/beer.cgi?direct=get
Test the service
To give your bot's users access to this service, you can copy the Bart or Fortune commands found in the commands forum and easily convert them to a Beer command for your users. Creating a Beer command for Andromeda or other bots should be very easy too.
NOTE: I have extra special plans for using this service in one of my bots. Stay tuned, it should be fun.  |
|
| Back to top |
|
 |
jeanhub Almost An Agent

Joined: 14 Feb 2004 Posts: 1138
 
|
Posted: Mon Mar 15, 2004 1:02 am Post subject: |
|
|
Lol This service is funnny  |
|
| Back to top |
|
 |
jonphamta Senior Member

Joined: 20 Jan 2004 Posts: 247
   
|
Posted: Mon Mar 15, 2004 4:07 am Post subject: |
|
|
i made good use of it  |
|
| Back to top |
|
 |
Mojave Almost An Agent

Joined: 01 Nov 2003 Posts: 1434
 
|
Posted: Mon Mar 15, 2004 4:23 am Post subject: |
|
|
| Tell me how you're using it. |
|
| Back to top |
|
 |
JoeX Agent

Joined: 02 Jan 2004 Posts: 2153
 
|
Posted: Mon Mar 15, 2004 9:09 pm Post subject: |
|
|
Nice, Mojave, Welldone:P _________________ Heroes NBC |
|
| Back to top |
|
 |
Tony_shu God Like

Joined: 12 Nov 2003 Posts: 624
    
|
Posted: Mon Mar 15, 2004 9:27 pm Post subject: |
|
|
I can only assume that the beer service would be great to use in the "bar" that some bots seem to have. _________________ Anthony Arslan
@-Squared Enterprises
MacroHard Corporation |
|
| Back to top |
|
 |
Perjam Newbie

Joined: 24 Feb 2004 Posts: 19
   
|
Posted: Fri May 28, 2004 6:37 am Post subject: |
|
|
| Thanks for that service im gonna make a good command out of it tonight!!!!!!! |
|
| Back to top |
|
 |
|