Jump to content
  • 0

Dynamic Helm Script Need Help


Question

Posted

Expectation:

Whisper npc:DynaUpper "21120" will change upper look to view id 920 or "21121" will change upper look to view id 921.

Script:

-[TAB]script[TAB] DynaUpper[TAB] -1,{
setarray @item[0],21120, 21121;
setarray @view[0],920, 921;
set @items, getarraysize(@item);
set @views, getarraysize(@view);
OnWhisperGlobal:
// == Helm Equipped
if(isequipped(21119)) {
if(@whispervar0$ == "@item[0], @item[1]") {
atcommand "@changelook 1 "+ @views +"";
 }
}
}

Could anyone lead me in the right direction? I'm probably completely off track in code, but I tried being correct. /meh

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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