Guild

From Vendetta Lua
Revision as of 00:09, 27 October 2007 by Chefkoch (Talk | contribs) (New page: Functions to handle guild related features. The constants in this table represent ranks that are used by various functions. They can be mapped to names using the Guild#RankName table...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Functions to handle guild related features.

The constants in this table represent ranks that are used by various functions. They can be mapped to names using the Guild#RankName table


Functions

allowdepositors

Definition:
allowdepositors{int rank, ..} -> string error

Description:
Control who can deposit money into the bank (untested)

Arguments:
rank numbers that represent ranks

Returns:
error error message on failure otherwise nil

Example:

Guild.allowdepositors{Guild.RankCommander, Guild.RankCouncil}

allow commander and councilmembers to deposit

Constants

RankCommander

Value: 4

RankCouncil

Value: 2

RankCouncilLieutenant

Value: 3

RankLieutenant

Value: 1

RankMember

Value: 0


"allowlogviewers": function: 0xa3365d0 "allowwithdrawalers": function: 0xa1c0048 "appoint": function: 0xa311048 "create": function: 0x9f2e9f0 "decline": function: 0xa05c738 "deposit": function: 0xa36d788 "expel": function: 0xa30efa8 "getactivitylogpage": function: 0xa225020 "getbankbalance": function: 0xa174968 "getbanklogpage": function: 0xa0c3728 "getbankprivileges": function: 0xa05f860 "invite": function: 0xa0f8c50 "join": function: 0xa10d650 "list": function: 0xa2e8c50 "motd": function: 0x9e471e0 "resign": function: 0x9ffd898 "setwithdrawallimit": function: 0xa2efab0 "vote": function: 0xa129b38 "withdraw": function: 0xa08b398 "RankName": table: 0x9fc6d58