Welcome to PenUltima Online. Click to login or register.

File: Guilds.em

Description: Functions for working with guilds in eScript.
Last Modified: 10/27/2007

CreateGuild()
Explanation
Creates a new Guild Object.
Return values
A Guild Reference to the new guild.
Related
Guild
DestroyGuild( guild )
Parameters:
Name Type
guild Guild Reference
Explanation
Destroys an empty guild.
Notes: Must first empty the guild of members, allies, and enemies (see guildref methods)
Return values
1 on success
Errors
"Guild has members"
"Guild has allies"
"Guild has enemies"
"Guild has disbanded"
"Invalid parameter type"
Related
Guild
FindGuild( guildid )
Parameters:
Name Type
guildid integer
Explanation
Gets a Guild Reference for a given Guild ID number
Return values
Guild Reference on success
Errors
"Guild not found"
"Invalid parameter type"
Related
Guild
ListGuilds()
Explanation
Gets a list of all guilds.
Return values
An Array of Guild References.
Related
Guild
Array