function createBankAccount ( player, commandName, playname )
cash = getPlayerMoney ( player )
--
infofile = xmlCreateFile ( "playname.xml", "info" ) -- create the file "playname.xml" which looks like ""
banknode = xmlCreateSubNode ( infofile, "bank" ) -- add a subnode , now we got ""
xmlNodeSetValue ( banknode, 0 ) -- change the value, "0"
xmlSaveFile ( infofile ) -- save the file
xmlUnloadFile( infofile ) -- unload it after use
outputChatBox ("BANK SOON ?")
end
addCommandHandler ("cba", createBankAccount )
Does the work?