Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default
- {
- state_entry()
- {
- llSay(0, "Script running");
- llRequestURL();
- }
- http_request(key id, string method, string body)
- {
- if (method == URL_REQUEST_GRANTED)
- {
- llSay(0,"URL: " + body);
- }
- else if (method == "GET")
- {
- llHTTPResponse(id,200,"Hello from my simulator");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement