viewing paste Unknown #49413 | 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
-   script  PrtBuffs    -1,{
OnPCLoadMapEvent:
 
.@GID = getcharid(2);
.CasID = getcastledata("prtg_cas01",1);
.@GName$ = getguildname(.CasID);
.PrtMaps$ = ",prontera,prt_fild00,prt_fild01,prt_fild02,prt_fild03,prt_monk,prt_fild04,prt_fild05,prt_fild06,prt_fild07,prt_fild08,prt_fild09,prt_fild10,prt_fild11,";
 
 
    if(.@GID == .CasID){    
        if(compare(","+.PrtMaps$+"," , ","+strcharinfo(3)+",")){
            sc_start SC_SPEEDUP1,3600000,50;
            sc_start SC_EXPBOOST,3600000,50;
            sc_start SC_ITEMBOOST,3600000,100;
            dispbottom "[Server] You are receiving Territory Buffs.";
        } else {
        end;}
    } else {
        if
    end;}
}
prontera    mapflag loadevent
prt_fild00  mapflag loadevent
prt_fild01  mapflag loadevent
prt_fild02  mapflag loadevent
prt_fild03  mapflag loadevent
prt_fild04  mapflag loadevent
prt_fild05  mapflag loadevent
prt_fild06  mapflag loadevent
prt_fild07  mapflag loadevent
prt_fild08  mapflag loadevent
prt_fild09  mapflag loadevent
prt_fild10  mapflag loadevent
prt_fild11  mapflag loadevent
prt_monk    mapflag loadevent
Viewed 1157 times, submitted by Pneuma.