Code: Select all
TF("%s to attach %s.\n", ($args->{fail}) ? T("Failed") : T("Succeeded"), ($args->{index}) ? T("item: ").$char->inventory->getByServerIndex($args->{index}) : T("zeny"))
Code: Select all
TF("Mail window is now %s.\n", ($args->{flag}) ? T("closed") : T("opened"))
Code: Select all
my $entityType = (Actor::get($sourceID)->{jobID} == 24) ? T("coin") : T("spirit");
if ($sourceID eq $accountID) {
message TF("You have %s ".$entityType."(s) now\n", $entities), "parseMsg_statuslook", 1 if $entities != $char->{spirits};
} elsif (my $actor = Actor::get($sourceID)) {
message TF("%s has %s ".$entityType."(s) now\n", $actor, $entities), "parseMsg_statuslook", 2 if $entities != $actor->{spirits};