|
Im guessing it should work on SL too. BOARD FOOTERS
<script type="text/javascript"> /*Simplest RPG created by CrAzY_J - hatakeforum.proboards30.com Do not redistribute without the creator's permission This copyright must stay intact at all times*/
function RpG(name,multi) { var TD = document.getElementsByTagName( "TD" ); for( t = 0 ; t<TD.length ; t ++) { if( TD[t].width == "20%" && TD[t].innerHTML.match(/Posts:/)) { var Posts = parseInt(TD[t].innerHTML.split(/Posts: /)[1].split(/<\//)[0].replace(/,/,'')); TD[t].appendChild ( document.createElement( "br" )); TD[t].appendChild ( document.createTextNode ( name + ": " + Math.floor ( Posts*parseInt ( multi ) ) ) ); } } }
RpG( "Money" , "4" ); RpG( "HP" , "2" ); </script> INSTRUCTIONSKeep adding this lines RpG( "Money" , "4" ); The first part "money" for the name of the RPG stat and the second part "4" for the multiplication(sp?) of the posts to get the RPG stat number.
Last Edit: Jun 30, 2006 21:11:06 GMT by Chris
|
|
|