Difference between revisions of "Council"

From Kolmafia
Jump to navigation Jump to search
imported>Grotfang
imported>Grotfang
Line 13: Line 13:
 
}}|
 
}}|
  
function_description=This function will visit the council and print the text there to the CLI.|
+
function_description=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.|
  
 
code1={{CodeSample|
 
code1={{CodeSample|
 
title=Code Samples|
 
title=Code Samples|
description=This function needs some sort of application, but I can't think what it might be.|
+
description=When the character reaches level 10, visit the council to open the level 11 quest.|
 
code=
 
code=
 
<syntaxhighlight>
 
<syntaxhighlight>
CODE GOES HERE
+
while(my_level() < 11) {
 +
  adventure(1 , $location[haunted ballroom]);
 +
}
 +
council();
 
</syntaxhighlight>
 
</syntaxhighlight>
 
}}|
 
}}|

Revision as of 02:17, 4 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.