View Single Post
  #1  
Old 10-13-2014, 04:16 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

I believe you were missing a right curly, formatting is king.
Code:
sub EVENT_SAY {
    if ($text=~/Hail/i){
        if(plugin::check_hasitem($client, 2487)) {
            plugin::Whisper("White fish, light salt, extra lemon slices.");
        } else {
            quest::emote("stares down at the floor, clearly nervous about being in a room full of people.");
            plugin::Whisper("It's just so scary. A murder.... in my own home. Just terrifying!");
            quest::emote("wipes tears from her eyes with a silken handkerchief.");
        }
    } elsif ($text =~/^Drink$/i){
        plugin::Whisper("I don't know why I'm telling you this, stranger, but I've never touched a drop of alcohol in my life. But, oh... darn it all! I'll have some... um.. I'll have some white wine.");
        quest::emote("nervously glances at her mother, and then quickly back at the ground.");
        plugin::Whisper("Um... Bishop... would you like to come to our prayer group next week? We would love to have you there. You've been a big help to me. Um... us. You've done a lot for the family, I mean.");
    }
}
Reply With Quote