Also, just to note, if i stick the "return" inside the for loop, it comes out with no value in the gui, but I can echo it in the for loop and in rc its perfectly fine.
e.g.
PHP Code:
public function getTopAbyss(){
// Initialize Array and Kills Structure
temp.guildzname = getGuildList();
// Loop and Display Kills
for (temp.g: temp.guildzname) {
temp.kills = this.guilds.(@temp.g).kills;
temp.data = temp.g @ "'s kills: " @ temp.kills;
return temp.data;
}
}