retroflav Posted June 8, 2013 Posted June 8, 2013 Hello can someone make me a simple auto execute @command when a player enters a map script? Thanks Quote
Emistry Posted June 8, 2013 Posted June 8, 2013 OnPCLoadMapEvent: atcommand "@commands"; end; .... ... ... mapname mapflag loadevent Quote
retroflav Posted June 10, 2013 Author Posted June 10, 2013 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 >_< Quote
Emistry Posted June 10, 2013 Posted June 10, 2013 OnPCLoadMapEvent: if( strcharinfo(3) == "mapname" ) atcommand "@commands"; end; Quote
retroflav Posted June 12, 2013 Author Posted June 12, 2013 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 Quote
QQfoolsorellina Posted June 12, 2013 Posted June 12, 2013 if( strcharinfo(3) == "job3_rune02" ) change to if( strcharinfo(3) != "job3_rune02" ) end; 1 Quote
Question
retroflav
Hello can someone make me a simple auto execute @command when a player enters a map script? Thanks
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.