Jump to content
  • 0

Dynamic Helm Script Need Help


Screwdriver

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...