Jump to content
  • 0

auto execute @command when a player enters a map


Question

7 answers to this question

Recommended Posts

Posted

Help, There was a very weird problem. Why is it applying on "ALL" maps whenever I enter a portal it executes all command LOL it should only apply on that specific map but it happens on every map, every portal >_<

Posted

well, I have one more case. I'd like to apply a couple of buffs when entering a map, for example, my case is on Beginner zone. Whenever a novice enters on that map, certain buffs will be automatically applied on his character... I made this script but it applies the buffs during WoE LOL

 

-	script	autobegbuff	-1,{
OnPCLoadMapEvent:
if( strcharinfo(3) == "job3_rune02" )
	skilleffect 383,0; sc_start SC_WINDWALK,360000,5;
skilleffect 8,0; sc_start SC_ENDURE,360000,10;
skilleffect 33,0; sc_start SC_ANGELUS,360000,10;
skilleffect 45,0; sc_start SC_CONCENTRATE,360000,10;
skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,5;
skilleffect 75,0; sc_start SC_GLORIA,360000,5;
skilleffect 459,0; sc_start SC_ADRENALINE2,360000,1;
skilleffect 66,0; sc_start SC_IMPOSITIO,360000,5;
skilleffect 67,0; sc_start SC_SUFFRAGIUM,360000,3;
skilleffect 34,0; sc_start SC_BLESSING,36000,10;
skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10;
skilleffect 112,0; sc_start SC_WEAPONPERFECTION,360000,10;
skilleffect 113,0; sc_start SC_OVERTHRUST,360000,5;
skilleffect 114,0; sc_start SC_MAXIMIZEPOWER,360000,5;
skilleffect 357,0; sc_start SC_CONCENTRATION,360000,5;
skilleffect 355,0; sc_start SC_AURABLADE,360000,5;
skilleffect 155,0; sc_start SC_LOUD,360000,1;
skilleffect 157,0; sc_start SC_ENERGYCOAT,360000,1;
sc_start SC_ASPDPOTION2,360000,0;
sc_start SC_HitFood,1200000,30;
sc_start SC_FleeFood,1200000,30;
sc_start SC_BATKFood,1200000,10;
skilleffect 380,0; sc_start SC_TRUESIGHT,360000,5;
skilleffect 361,0; sc_start SC_ASSUMPTIO,360000,5;
	end;
}

job3_rune02	mapflag	loadevent

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...