Eudora: Difference between revisions
Jump to navigation
Jump to search
imported>AlbinoRhino Initial page |
imported>AlbinoRhino No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 28: | Line 28: | ||
code= | code= | ||
<syntaxhighlight> | <syntaxhighlight> | ||
if (eudora() != "New-You Club") | |||
{ | |||
eudora("New-You Club"); | |||
} | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}}| | }}| | ||
cli_equiv=eudora (penpal, game, xi, newyou) - switch to the specified correspondent| | cli_equiv=eudora (penpal, game, xi, newyou) - switch to the specified correspondent. If no parameter is provided, the command will report your current correspondent.| | ||
}} | }} | ||
[[Category:Your Character]] |
Latest revision as of 21:51, 24 May 2017
Function Syntax
boolean eudora(string correspondent )
string eudora()
- correspondent which eudora correspondent to switch to. (Penpal, Game Magazine, Xi?, New-You Club)
Similar to the CLI "eudora" commmand. The boolean version switches between correspondents. It returns true if the switch was successful. The string version returns the current correspondent. (see KoLMafia r16978)
Code Sample
Check if your current correspondent is the New-You Club, and if not, switch to it.
if (eudora() != "New-You Club")
{
eudora("New-You Club");
}
CLI Equivalent
eudora (penpal, game, xi, newyou) - switch to the specified correspondent. If no parameter is provided, the command will report your current correspondent.