viewing paste Unknown #16110 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
-   script  MassController  -1,{
OnWhisperGlobal:
if (getgroupid() >= 5 ){
    if(@whispervar0$ == "mass on") {
        set $mass, 1;
        end;
    } else if (@whispervar0$ == "mass off") {
        set $mass, 0;
        end;
    } else { end; }
 
/*
Day 1: Dec 16, 2013 6PM to Dec 17, 2013 10AM
Day 2: Dec 17, 2013 6PM to Dec 18, 2013 10AM
Day 3: Dec 18, 2013 6PM to Dec 19, 2013 10AM
Day 4: Dec 19, 2013 6PM to Dec 20, 2013 10AM
Day 5: Dec 20, 2013 6PM to Dec 21, 2013 10AM
Day 6: Dec 21, 2013 6PM to Dec 22, 2013 10AM
Day 7: Dec 22, 2013 6PM to Dec 23, 2013 10AM
Day 8: Dec 23, 2013 6PM to Dec 24, 2013 10AM
Day 9: Dec 24, 2013 6PM to Dec 25, 2013 10AM
*/
// if not 12?11? ~ 12?25?
// means has not 12?11? (6PM) OR is already 12?25? (10AM)
// end
 
OnInit:
if ((gettime(6)==12) && (gettime(5) >= 16) && gettime(5) <=25) {
    //enable mass
    onClock1800:
    set $mass,1;
    //disable mass
    onClock1000:
    set $mass,0;
    if (!(gettime(5) == 11)) query_sql("delete from `global_reg_value` where str = \"#masstoday\";");
    }
    end;
}
}
 
prt_church,91,122,5 script  Father Ignacio  110,{
// giving the prize (on 12?25? 12.00 PM)
if (gettime(5) == 25) {
    if(gettime(3) > 10) {
        if(gettime(3) > 12) {
            if (!(#christmas_prize_taken)) {
                if (#massjoined == 9) {
                    mes "Merry Christmas!";
                    mes "As you have completed the Simbang Gabi faithfully,";
                    mes "here are a couple of gifts for you!";
                    getitem 12355,30;
                    getitem 12194,2;
                    getitem 12537,2;
                    getitem 6153,5000;
                    set #christmas_prize_taken, 1;
                    next;
                    }
                }
            }
        mes "Merry Christmas!";
        mes "Have a wonderful Christmas day!";
        emotion e_ok,0;
        close;
        }
    }
    
if (!((gettime(6)==12) && (gettime(5) >= 16) && gettime(5) <=25)) {
    mes "[Father Ignacio]";
    mes "Welcome to Prontera Church.";
    mes "The Simbang Gabi will start on Dec 16 until Dec 25, 6 pm until 10 am the next day. Please maintain quietness.";
    mes "Thank you.";
    close;
    }
 
if ($mass == 0) {
    mes "[Father Ignacio]";
    mes "There is currently no mass right now.";
    mes "Please come back again later at ^FF00006 PM^000000";
    close;
    }
 
if (#masstoday == 1) {
    mes "[Father Ignacio]";
    mes "Thank you for attending today's mass";
    mes "May God bless you";
    emotion e_ok,0;
    close;
    }
set #masstoday, 1;
set #massjoined, #massjoined + 1;
// here's the mass script. IDK what you want to do.
 
    mes "[Father Ignacio]";
    mes "1. ^008800Wisdom in Parable^000000";
    mes "The Mass begins and ends with the greeting: ^008800May the Lord be with you!^000000 But to most of us, it does not  mean anymore than ^008800Goodbye^000000 which actually is shorthand for ^008800God be with you.^000000 The reason is that we  are not so sure that God is with us. It seems to be a pious wish and nothing more.";
    next;
    mes "[Father Ignacio]";
    mes "2. ^008800Wisdom in Christmas^000000";
    mes "The Book of Wisdom describes Wisdom as Gods presence in the world, especially in human beings. It says that  ^008800She reaches mightily from one end of the earth to the other, and she orders all things well.^000000 (Wis. 8:1).  ";
    next;
    mes "[Father Ignacio]";
    mes "Then, ^008800Although she is but one, she can do all things, and while remaining in herself, she renew all things; in  every generation she passes into holy souls and makes them friends of God^000000 (Wis. 7:27). ";
    next;
    mes "[Father Ignacio]";
    mes "In our Gospel reading today, Jesus is described as the ^008800Emmanuel^000000 which means ^008800God is with  us^000000 (Mt. 1:23). As you heard in the Gospel, ^008800the angel of the Lord said to Joseph that Mary has conceived through  the Holy Spirit and she will bear a child and he ";
    next;
    mes "[Father Ignacio]";
    mes "is to name him Jesus because he will save his people from their sins.^000000 And this took place to fulfill what the  Lord had said through the prophet: ^008800Behold, the virgin shall be with child and bear a son, and they shall name him  Emmanuel^000000 which means ";
    next;
    mes "[Father Ignacio]";
    mes "^008800God is with us^000000 (Mt. 1:20-23). Therefore, Jesus is the Emmanuel and thus he is the presence of God in  the world. ";
    next;
    mes "[Father Ignacio]";
    mes "Jesus is the Incarnate Word of the Father who lived among us and his birth is what we celebrate during Christmas. His  Incarnation is very important for us because this is the fulfillment of the promise of God for he is the one who will save us,   ";
    next;
    mes "[Father Ignacio]";
    mes "the people of God, form our sins through his suffering, death and resurrection. Jesus instituted the Sacrament of the  Holy Eucharist as the memorial of his paschal mystery in order to continue his presence among us. ";
    next;
    mes "[Father Ignacio]";
    mes "3. ^008800Wisdom in our Life^000000";
    mes "I told you the story about human confusion whether God is with us; then we mentioned in the Book of Wisdom that God  is present in the world, especially in humans. In the Gospel, we say that Jesus as the Emmanuel is the most concrete and  perfect presence  ";
    next;
    mes "[Father Ignacio]";
    mes "of God in the world because He is the Incarnate Word of God, he instituted the Eucharist and sent the Holy Spirit. As  a manifestation of our faith and love for God, we should value the creation, celebrate Christmas with proper devotion, worship  ";
    next;
    mes "[Father Ignacio]";
    mes "Jesus in the Eucharist, and respect ourselves and one another. ";
    next;
    mes "[Father Ignacio]";
    mes "To end, let us always remember that Jesus is the Emmanuel, the presence of God in the world through His Incarnation,  through the Eucharist and other sacraments, and through the Holy Spirit who ^008800renews all things and passes into holy  souls and makes the people friends of God.^000000";
    close;
}
 
Viewed 611 times, submitted by Guest.