it would paste the information into the box... the name would be simple " Chatbot" and the message would be the song and artist
could someone please do this for me? or even get me started on it? i will leave any type of copyright on it if that be a simple message below the command or whatever it will be done.
You can work out the actual bot stuff, but to post a form:
Code:
use LWP::UserAgent;
my $ua = LWP::UserAgent->new();
$response = $ua->post('http://www.music4live.net/staff/dj.php',[
'habbo' => 'Josh', # This is the name field
'type' => '2', # This is the "Entry Type. 1 = Request. 2 = Shout Out. 3 = Report a DJ. 4 = Competition Entry
'msg' => 'This is my message.', # Message field
'time' => '18:11 PM, EST', # It seems to be 5 hours behind GMT. Generate it yourself.
'Submit' => 'Send!!']);
print $response->content; # Shows the resulting page, which should be "Thanks for sending in your shoutout/request Josh!"
Hope this helps . _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]