1234567891011121314151617 |
- dofile('../modpol.lua');
- modpol.orgs.reset()
- test_org = modpol.instance:add_org('test_org', 'luke')
- test_org:add_member('nathan')
- print(table.concat(test_org:list_members(), ", "))
- function completion()
- print("completed")
- end
- modpol.modules.join_org.initiate("paul", test_org, completion)
- -- process = modpol.modules.join_org_class.create("paul", test_org)
- -- process:initiate(completion)
|