Plotscript is very powerful and having access to SDL_net within Plotscript would be very nice. A plotscript would be used to initiate the SDL_net backend before any network communications would be used.
Here is an example of what I would like to see:
Code: Select all
http request ('http://server/script', 'data1=hfh&data2=fjf', @callback script)
script, callback script, response, begin
---- Do stuff with the response text ----
end
Let me know if this is possible and where in the source code I would need to dig into, then I'll need to edit hspeak.exe as well to add the new plotscripts in to compile. I'll be sure to submit it back to the main development team of OHR for inclusion if anybody else finds this type of networking feature handy.