Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/04/23 in all areas

  1. Is it a custom command do you have? if not, use this: OnPCDieEvent: .@map$ = strcharinfo(3); if(inarray(.map$,.@map$) != -1){ for(.@y = 5; .@y; .@y--){ message strcharinfo(0),"You will respawn in "+.@y+" second"+((.@y > 1)?"s":"")+"."; sleep2 1000; } recovery 0; repairall; if(.size_buffs) { for(;.@i < .size_buffs;.@i+= 3) sc_start .buffs[.@i],.buffs[.@i + 1],.buffs[.@i + 2]; } warp .@map$,0,0; } end; OnInit: setarray .map$, "pvp_y_1-2","guild_vs2","guild_vs3"; // Buff Duration(ms) Lvl setarray .buffs, SC_INCREASEAGI, 5*60*1000, 10, SC_BLESSING, 5*60*1000, 10; .size_buffs = getarraysize(.buffs); end; You can add all the buffs you want in .buffs array.
    1 point
  2. use *getunittype in this case - script jksdfkjsf FAKE_NPC,{ OnPCDieEvent: if ( getunittype( killerrid ) != UNITTYPE_MOB ) end; if ( !getmonsterinfo( killerrid, MOB_MVPEXP ) ) end; sleep2 5000; // if ( !playerattached() ) end; // it seems only hercules will throw this error, rathena hasn't fix this yet if ( countitem(512) ) { delitem 512,1; atcommand "@alive"; } end; } well ... this is old topic so I guess ... this script command wasn't exist back then
    1 point
  3. sec_pri,21,63,4 script JailTime 123,{ mes "Hi here's your jail time"; atcommand "@jailtime"; close; } sec_pri.gat,47,63,4 duplicate(JailTime) JailTime#h1-1 836 sec_pri.gat,73,63,4 duplicate(JailTime) JailTime#h1-2 836
    1 point
×
×
  • Create New...