View Single Post
  #14  
Old 05-09-2008, 03:51 AM
Stryke Stryke is offline
Scripter
Join Date: Apr 2008
Posts: 157
Stryke is an unknown quantity at this point
NPC Code:
params[3].client.guildrank = temp.tokens[0];
params[3].saveVars( "control/accounts/"@(params[3].substring(0,(params[3].length)+2))@"/" @ params[3] @ ".txt", false );


It doesn't work when I'm using params[3] though...

here's what send the params..

NPC Code:
function GA_ViewEditRank.onAction() {
temp._tokens = serverr.("guild_" @ GA_List.getselectedtext()).("members").(@player.ac count).tokenize("|");
if(player.guild in allowed_staff_tags || temp._tokens[4] == true)
triggerserver("weapon", this.name, "editrankguildsystem", GA_ViewEditRankText.text, GA_List.getselectedtext(), GA_ViewList.getselectedtext());
}


params[1] should be Recruit|1
params[2] should be Sshhh
params[3] should be Graal711249
Reply With Quote