Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
List assistance
|
Author |
Message |
Mordaunt 
Super Moderator
   
Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35

|
List assistance
Not used these before and seems I am being retarded with it.
Looking for a better explanation on how to use these than is given in the revisions or than I can find examples of.
I understand these and can use them fine.
Code:
list.<src.account.name>_message.add <args>
list.<src.account.name>_message.clear
I do not understand how to make these work and could REALLY use some user friendly examples.
Code:
list.<src.account.name>_message.index.remove
list.<src.account.name>_message.index.insert
list.<src.account.name>_message.findelem // wtf?
|
|
03-08-2013 03:07 AM |
|
|
Wap 
Journeyman

Posts: 138
Likes Given: 6
Likes Received: 7 in 6 posts
Joined: Mar 2012
Reputation: 3
UORPG.net
![]()
|
RE: List assistance
Code:
local.num=<list.<src.account.name>_message.findelem "abc">
if (<local.num> != -1)
list.<src.account.name>_message.<dlocal.num>.remove
endif
Insert I didn't used, but from the explanation, it should re-write list element number [index] or doing something like this.
Code:
local.num=<list.<src.account.name>_message.findelem "abc">
if (<local.num> != -1)
list.<src.account.name>_message.<dlocal.num>.insert "cab"
endif
?
(This post was last modified: 03-08-2013 03:16 AM by Wap.)
|
|
03-08-2013 03:15 AM |
|
|
User(s) browsing this thread: 1 Guest(s)