Hey guys. I´m trying something which i might also post in code gallery if it´s finished

. But currently i got a fail. I want like when I press the gui button, that it will change the player.guild,... but it wont work. Script here :
PHP Code:
function onActionServerSide() {
if (params[0] == "test") {
player.nick = login_nickname1.text;
player.guild = login_nickname2.text;
}
}
//#CLIENTSIDE
//gui stuff
function button1.onAction() {
triggerserver("gui",this.name,"test");
}
-callimuc