Jump to content
  • 0

Disable custom command use during WoE


Question

Posted

Good day,

As the above reads, I'm looking to make my @veil command disallowed in WoE. Anyone able to help me make this happen? ?

 

// Heroes of Vanaheim ====================
//========================================

-	script	at_veil_cmd	-1,{
OnVeilWarp:
	warp "veil",120,145;
	end;
OnInit:
	bindatcmd "veil", strnpcinfo(0)+"::OnVeilWarp";
}

2 answers to this question

Recommended Posts

  • 1
Posted (edited)
// Heroes of Vanaheim ====================
//========================================

-	script	at_veil_cmd	-1,{
OnVeilWarp:
	if(agitcheck() || agitcheck2() || agitcheck3()){
		mes "you can't use this command while the WoE is running!";
		end;
	}
	warp "veil",120,145;
	end;
OnInit:
	bindatcmd "veil", strnpcinfo(0)+"::OnVeilWarp";
}

 

Edited by sader1992
  • Upvote 1

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...