Council: Difference between revisions
Jump to navigation
Jump to search
imported>Grotfang No edit summary |
imported>Bale mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:name|council}} | {{ | ||
{{#vardefine:return_type|void}} | #vardefine:name|council}}{{ | ||
#vardefine:return_type|void}}{{ | |||
FunctionPage| | |||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
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= | description=When the character reaches level 10, visit the council to open the level 11 quest.| | ||
code= | code= | ||
<syntaxhighlight> | <syntaxhighlight> | ||
while(my_level() < 11) { | |||
adventure(1 , $location[haunted ballroom]); | |||
} | |||
council(); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}}| | }}| | ||
see_also={{SeeAlso|my_level|adventure}}| | |||
cli_equiv=Typing "council" into the CLI will have the same effect.| | cli_equiv=Typing "council" into the CLI will have the same effect.| | ||
}} | }} | ||
[[Category:Adventuring]] |
Latest revision as of 22:18, 21 May 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.