viewing paste Unknown #446 | C

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
-   script  woe_gef -1,{
 
OnPCLoadMapEvent:
    getmapxy .@m$,.@x,.@y,0;
    if(.@m$ == "gef_fild13" || .@m$ == "alde_gld" || .@m$ == "pay_gld" || .@m$ == "prt_gld" || .@m$ == "aru_gld" || .@m$ == "sch_gld") {
        for( set @i,20; @i<235; set @i,@i+1 ) {
            if( @i == 21 || @i == 22 || @i == 23 || @i == 27 || @i == 29 || @i == 30 || @i == 32 || @i == 35 || @i == 39 || @i == 40 ||
            @i == 41 || @i == 44 || @i == 45 || @i == 46 || @i == 48 || @i == 61 || @i == 76 || @i == 77 || @i == 83 || @i == 86 || @i == 108 || @i == 109
            || @i == 86 || @i == 110 || @i == 115 || @i == 118 || @i == 120 || @i == 121 || @i == 122 || @i == 123 || @i == 125
            || @i == 131 || @i == 147 || @i == 150 || @i == 154 || @i == 160 || @i == 230)
            sc_end (@i);
        }
        query_sql "SELECT `guild_id` FROM `woeban` WHERE `guild_id` = '"+getcharid(2)+"'", @guild_id;
        if(@guild_id){
            mes "[WoE Bann]";
            mes "I'm sorry but your guild is currently banned from WoE.";
            close2;
            warp "maintown",165,199;
            end;
        }
    }
    end;
}
 
gef_fild13  mapflag loadevent
alde_gld    mapflag loadevent
pay_gld mapflag loadevent
prt_gld mapflag loadevent
aru_gld mapflag loadevent
sch_gld mapflag loadevent
Viewed 654 times, submitted by Guest.