Screwdriver Posted February 7, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 52 Reputation: 0 Joined: 01/05/13 Last Seen: July 1, 2016 Share Posted February 7, 2013 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. Quote Link to comment Share on other sites More sharing options...
Question
Screwdriver
Expectation:
Whisper npc:DynaUpper "21120" will change upper look to view id 920 or "21121" will change upper look to view id 921.
Script:
Could anyone lead me in the right direction? I'm probably completely off track in code, but I tried being correct.
Link to comment
Share on other sites
0 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.