Here's a GUI hack version:
PHP Code:
//#CLIENTSIDE
function onCreated() {
with (F2LogWindow_Tab) {
removerowbyid(10);
addrow(10, "Clear Logs");
}
}
function F2LogWindow_Tab.onSelect(entryid) {
if (entryid == 10) {
for (temp.i = 0; temp.i < 6; temp.i++) {
("F2LogWindow_Text" @ temp.i).text = "Text Cleared!";
}
F2LogWindow_Tab.setselectedbyid(0);
}
}