Jump to content
  • 0

Disable custom command use during WoE


Rivers

Question


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   47
  • Joined:  12/04/13
  • Last Seen:  

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";
}
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

// 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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   47
  • Joined:  12/04/13
  • Last Seen:  

Oh my gosh, thanks so much. I was making it way more complicated than it had to be. 

Link to comment
Share on other sites

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