Help

JS-CLAN

For immortals Also: JAVASCRIPT-CLAN

The Clan object represents clans.

Class Methods:

get( n )            Returns the clan object for the given clan name.

Properties:

agendaThe agenda for this clan.
goldThe clan gold that this clan possesses.
historyThe history for this clan.
keyNameThe key name for this clan.
killPoolThe kill points this clan has in its pool.
killPointsThe total kill points this clan has.
platformThe platform for this clan.
shortDescThe name of this zone.
topicThe current topic for the clan.
topicByThe name of the person who set the current topic.
tournamentPoolThe tournament points this clan has in its pool.
tournamentPointsThe total tournament points this clan has.
typeReturns the type of clan, either 'pacifist' or 'war'.

Methods:

isAlliedWith( c )Returns true if this clan is allied with clan c or character c's clan.
isAtWarWith( c )Returns true if this clan is at war with clan c or character c's clan.
hasPlayers()Returns true if the clan has any players online.
msg( string )Sends a message to players in this clan. See JS-MSG for more information.
randomPlayer()This picks a random player from the clan among the players online.
visitPlayers( f )Applies the passed in function or array to all of the players in this clan who are online. See JS-VISIT for more information.
toString()Returns the name of the clan.
valueOf()Returns the name of the clan.