Fortune Macro

Fortune 매크로 플러그인은 GNU fortune프로그램을 이용한 매크로입니다.

<!> 현재 유닉스만 지원하며 다음을 만족시켜야 합니다.
  1. fortune이 설치되어 있어야 한다. /usr/bin/fortune, /usr/share/games/fortune/
  2. 이게 맞지 않는다면 plugin/fortune.php에서 소스를 직접 조정해 주세요.

사용예 #

[[Fortune]] (default art)
Lamonte Cranston once hired a new Chinese manservant. While describing his duties to the new man, Lamonte pointed to a bowl of candy on the coffee table and warned him that he was not to take any. Some days later, the new manservant was cleaning up, with no one at home, and decided to sample some of the candy. Just than, Cranston walked in, spied the manservant at the candy, and said: "Pardon me Choy, is that the Shadow's nugate you chew?"


[[Fortune(love)]]
The birds are singing, the flowers are budding, and it is time for Miss Manners to tell young lovers to stop necking in public. It's not that Miss Manners is immune to romance. Miss Manners has been known to squeeze a gentleman's arm while being helped over a curb, and, in her wild youth, even to press a dainty slipper against a foot or two under the dinner table. Miss Manners also believes that the sight of people strolling hand in hand or arm in arm or arm in hand dresses up a city considerably more than the more familiar sight of people shaking umbrellas at one another. What Miss Manners objects to is the kind of activity that frightens the horses on the street...


[[Fortune(*)]]
Death before dishonor. But neither before breakfast.

특징 #

Fortune 매크로는 fortune파일의 인덱스를 직접 읽어들여 사용하므로 FortuneCookies를 읽어들이는 RandomQuoteMacro보다 매우 빠릅니다. :)

이 글에는 0 개의 댓글이 있습니다.