Now if you want it to run at nstower then you have to name the file as place.nstower.ash.
Originally Posted by
theo1001
I've tried this, to no avail. I've gotten the script to work in other locations, but it seems I can't change the image of anything on/around the tower...
PHP Code:
buffer color_planes( buffer source )
{
replace_string(source,'https://s3.amazonaws.com/images.kingdomofloathing.com/otherimages/gash.gif','/images/relayimages/airport_color_planes/airport_plane_spooky.gif');
return source;
}
void main( )
{
write( color_planes( visit_url( ) ) );
}
here's the actual code. I've named it place.nstower.ash, and place.gash.ash, and place.nstower.gash.ash...
I've also tried replacing the "gash.gif" with multiple locations of the tower itself.
EDIT: I figured out my mistake...
Code:
https://s3.amazonaws.com/images.kingdomofloathing.com/otherimages/nstower/gash.gif'