wOni Posted September 17, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 69 Reputation: 2 Joined: 04/20/13 Last Seen: October 6, 2018 Share 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 Link to comment Share on other sites More sharing options...
0 a91323 Posted September 17, 2016 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 99 Reputation: 10 Joined: 01/13/12 Last Seen: December 6, 2020 Share Posted September 17, 2016 bad method if(strcharinfo(3) == "gvgmapname") {dispbottom "Disable on WoE maps Good for PvP."; end;} 2 Quote Link to comment Share on other sites More sharing options...
0 Hijirikawa Posted September 17, 2016 Group: Members Topic Count: 19 Topics Per Day: 0.01 Content Count: 193 Reputation: 42 Joined: 07/21/16 Last Seen: August 7, 2019 Share Posted September 17, 2016 Please use code box, and would be nice you let us know what the error was. Quote Link to comment Share on other sites More sharing options...
0 wOni Posted September 18, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 69 Reputation: 2 Joined: 04/20/13 Last Seen: October 6, 2018 Author Share Posted September 18, 2016 for multimap i do this if(getmapflag(strcharinfo(3),mf_gvg_castle)) Quote Link to comment Share on other sites More sharing options...
0 DK77 Posted June 1, 2021 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 61 Reputation: 0 Joined: 06/30/17 Last Seen: July 19, 2024 Share Posted June 1, 2021 how to make @ecall/ec cancel with open chatbox ? Quote Link to comment Share on other sites More sharing options...
Question
wOni
basic @ecall command
Link to comment
Share on other sites
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.