zarqon
Well-known member
Here's an idea that could be awesome. There might also be problems with it that I'm not aware of.
Idea: the ability to include CLI commands in links.
Simple example:
<a href="urlforbookstore.php" cli="equip acc3 pirate fledges">[bookstore]</a>
Or:
<a href="urlforbookstore.php?cli=equip+acc3+pirate+fledges">[bookstore]</a>
(The second one seems like it would be easier to implement, but a little harder to use since everything has to be urlencoded.)
Then, when the relay browser parses links, mafia first executes the CLI code before visiting the url.
I think this has the potential to significantly streamline the browsing (and relay scripting) process.
Avoiding browser timeouts might be an issue for lengthy chunks of CLI, but in that case it should probably just be a standalone script.
Any thoughts?
Idea: the ability to include CLI commands in links.
Simple example:
<a href="urlforbookstore.php" cli="equip acc3 pirate fledges">[bookstore]</a>
Or:
<a href="urlforbookstore.php?cli=equip+acc3+pirate+fledges">[bookstore]</a>
(The second one seems like it would be easier to implement, but a little harder to use since everything has to be urlencoded.)
Then, when the relay browser parses links, mafia first executes the CLI code before visiting the url.
I think this has the potential to significantly streamline the browsing (and relay scripting) process.
Avoiding browser timeouts might be an issue for lengthy chunks of CLI, but in that case it should probably just be a standalone script.
Any thoughts?