kingsage.org :: link to train troops in overview
by Arxleol on Tuesday 02.06.2009, under javascript
Here I am playing this game at kingsage.org and wanted to have ability to jump to training of troops from any view of current settlement. And therefore I wrote this small snippet of code:
javascript:var qs=new Array();var loc=location.search;if (loc){loc=loc.substring(1);var parms=loc.split('&');for(var i=0;i<parms.length;i++){nameValue=parms[i].split('=');qs[nameValue[0]]=unescape(nameValue[1]);}} window.location = 'http://s1.kingsage.org/game.php?s=build_barracks&m=recruit&village='+qs['village'];windows.reload();
You just have to go to profile -> edit fast list -> add new entry
And there for link place the upper code part and for the name probably train.
Have a nice usage
Note: Please remember that this is for the world one on the .org therefore british servers. Remember to adjust link for your site that is site you are using.
P.S. If you are about to use this code and repost it somewhere please use backlinking, at least for my trouble of creating it. thanks in advance.
Thursday 18.06.2009 on 11:18
Nice script, works fine for me. Use it at kingsage.de
Thursday 18.06.2009 on 11:25
tnx, try out KingsAgeX it allows drop down menu for your settlements.
ax
Saturday 27.06.2009 on 09:56
nice script works fine for me use it at kingsage.net
thx
Sunday 20.12.2009 on 06:25
tnx