Council: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Grotfang
No edit summary
imported>StDoodle
mNo edit summary
Line 1: Line 1:
{{#vardefine:name|council}}
{{
{{#vardefine:return_type|void}}
#vardefine:name|council}}{{
#vardefine:return_type|void}}{{


{{FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Adventuring|
function_category=Adventuring|

Revision as of 21:24, 8 March 2010

Function Syntax

void council()

This function will visit the council and print the text there to the CLI. It is useful insofar as it will trigger the start of level specific quests, that require a visit to council.php.

Code Samples

When the character reaches level 10, visit the council to open the level 11 quest.

while(my_level() < 11) {
   adventure(1 , $location[haunted ballroom]);
}
council();

CLI Equivalent

Typing "council" into the CLI will have the same effect.

See Also

my_level() | adventure()