list multiple items in script

Post » Fri May 27, 2011 7:58 pm

i want to check npcs for lots of items i need hasitemequipped but is it possible to put more than one item in a single line or must i run it under multiple lines
any help would greatly be appriciated:)
User avatar
His Bella
 
Posts: 3428
Joined: Wed Apr 25, 2007 5:57 am

Post » Fri May 27, 2011 10:36 pm

You can't do it in a single line, it will require one line for each item. You may be able to use MWSE and regex to filter it somewhat, but that's probably more trouble than it's worth (unless you're sorting through 100+ items with similar names).
User avatar
Minako
 
Posts: 3379
Joined: Sun Mar 18, 2007 9:50 pm

Post » Sat May 28, 2011 12:18 am

You can't do it in a single line, it will require one line for each item. You may be able to use MWSE and regex to filter it somewhat, but that's probably more trouble than it's worth (unless you're sorting through 100+ items with similar names).


darn as i feared thanks for the reply
User avatar
phil walsh
 
Posts: 3317
Joined: Wed May 16, 2007 8:46 pm


Return to III - Morrowind