Script Summary: Modifies the "Espionage" link in the pop-up menu for each planet on the Galaxy page, so that the espionage is sent from the Fleet Dispatch page.
When the player hovers with the mouse over a planet in Galaxy view, a pop-up menu appears. One of the items on this menu is "Espionage" (and its equivalent in the various languages into which OGame is translated). Clicking on this menu item immediately sends as many Espionage Probes as the game is configured to send from the options. Basically, the action of this menu item is an exact duplicate of the functionality of the espionage icon (the one that looks like an eye) in to column of action icons to the right.
At the same time, sometimes one does not want to send the default number of probes when spying a particular planet. For instance, one might know that the player to whom the planet belongs has a higher than usual level of Espionage Technology, requiring a larger number of probes.
There are two ways to do this. One is to enter the Fleet menu (by clicking the corresponding button on the left menu) and then manually entering the coordinates of the target, the number of probes, select Espionage as a mission for the flight and so on. But this is too cumbersome - dunno about you, but I tend to forget what the coordinates were. :-)
The second way can be used if the script AntiGame is installed. (Playing the game without it sucks big time anyway.) Then one can select Transport from the pop-up menu for the target planet on the Galaxy page. This will switch to the first fleet dispatch page, where one can select the number of probes one wishes to send. Since in the redesign the Espionage Probes cannot be sent on a Transport mission, AntiGame will pick the first available mission type, which happens to be Espionage. This method is more convenient (since one does not have to remember coordinates), but is somewhat counter-intuitive.
It would be much more intuitive if the Espionage action icon in the Galaxy view would send the default number of Espionage Probes immediately to the target, as it does now, while the Espionage item on the pop-up menu would send them from the fleet dispatch pages, by pre-selecting the default number of probes and setting the mission type to Espionage (and the corresponding coordinates of the target, of course).
Initially, I thought of writing a script to modify the Espionage item on the pop-up menu to do exactly that. But then someone complained that they were used to spying via that menu (instead of via the action icon) and didn't want its function modified. So, I decided to add a new item to this menu - one which does what I want and what was described above. (The original Espionage item would still work as before.) In order to distinguish between the two, the second menu item (the one added by this script) has appended after the mission name ("Espionage" in the various languages) the name of the fleet sending button ("Fleet" in English) in parentheses. For instance, in English, this new menu item would look like this: "Espionage (Fleet)". It will be automatically translated into the language in which the game is running.
2011-01-17. Version 1.01. If there were more than a thousand espionage probe on the current planet or moon, the script would put by default no more than one thousandth of this number, instead of the default number of probes configured in the options of the game. Fixed.
2011-12-13. Version 1.02. Made the script compatible with version 3.0.0 of OGame.
2012-01-10. Version 1.03. Modified the script to work in Opera. (I hate this browser. It is quirkier and more incompatible than even IE!)