Rivers Posted November 26, 2020 Posted November 26, 2020 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"; } Quote
1 sader1992 Posted November 26, 2020 Posted November 26, 2020 (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 November 26, 2020 by sader1992 1 Quote
0 Rivers Posted November 26, 2020 Author Posted November 26, 2020 Oh my gosh, thanks so much. I was making it way more complicated than it had to be. Quote
Question
Rivers
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.