View Single Post
  #19  
Old 05-22-2006, 07:11 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
To add to an array
obj.add("lols");

to delete
obj.remove("lols"); <--Must be inside the array

to display
message( format("%s is the first index of the array", obj[0]) );

normally, you get left over "" for some reason, it's best to trim the obj
temp.trimmedaccount = player.account.trim();
obj.add( temp.trimmedaccount );


Infact, read this
http://wiki.graal.net/index.php/Crea...ject_functions

Last edited by xAndrewx; 05-22-2006 at 09:08 PM..
Reply With Quote