Jump to content
  • 0
wOni

At Ecall command

Question

- 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([email protected]$,[email protected],[email protected],0);
warpguild [email protected]$,[email protected],[email protected],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 by wOni
  • Upvote 1
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.

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.