wOni Posted September 17, 2016 Posted September 17, 2016 (edited) - script at_ecall -1,{ OnInit: bindatcmd("@ec","at_ecall::OnEcall"); bindatcmd("@ecall","at_ecall::OnEcall"); end; OnEcall: if( agit_flag || agit2_flag ) {dispbottom "Disable on WoE maps Good for PvP."; end;} if( !getcharid(2) ){dispbottom "You are not apart of a guild."; end;} if( getguildmasterid( getcharid(2) ) != getcharid(0) ){dispbottom "Can only be used by guild leader."; end;} if( gettimetick(2) < getd(".guild"+ getcharid(2) +"") ){dispbottom "Command Failed. Still on cooldown."; end;} progressbar "0x00FF00",5; //5 seconds is how the skill acts. getmapxy(.@m$,.@x,.@y,0); warpguild .@m$,.@x,.@y,getcharid(2); setd ".guild"+ getcharid(2) +"", gettimetick(2) + 300000; end; } basic @ecall command how i can disable this @ecall on WoE maps? but can be use on PvP maps and normal maps. THANKS reedit use code box~ Edited September 18, 2016 by wOni 1 Quote
0 a91323 Posted September 17, 2016 Posted September 17, 2016 bad method if(strcharinfo(3) == "gvgmapname") {dispbottom "Disable on WoE maps Good for PvP."; end;} 2 Quote
0 Hijirikawa Posted September 17, 2016 Posted September 17, 2016 Please use code box, and would be nice you let us know what the error was. Quote
0 wOni Posted September 18, 2016 Author Posted September 18, 2016 for multimap i do this if(getmapflag(strcharinfo(3),mf_gvg_castle)) Quote
0 DK77 Posted June 1, 2021 Posted June 1, 2021 how to make @ecall/ec cancel with open chatbox ? Quote
Question
wOni
basic @ecall command
4 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.