ID:149279
 
I'm trying to add Mobs into a list called "Pawkeymun" that every player has. Every attempt so far has failed. Please tell me how.

I highly recommend you make your topic slightly more descriptive. Rather than AGGHHHHH, put These Lists are bugging me, or Help with lists, please!. Anyways, I believe you simply need to do this...

Pawkeymun += mobinquestion

Quite simple, you could either do that, or....

Pawkeymun.Add (mobinquestion)

I am less sure on the second, one, as the only time I use it are in a few 'load' commands which create pretty much anything while online. Either way, try it out, and reply.
In response to Polatrite
Already tried that.

Every mob has the list.
Here's the source: (Currently)

////LISTS AND VARS/////

mob
var
list
Pawkeymun
AntiCaptureVal
Pawkeymun
var
HP
MAXHP
CaptureVal
ownerkey

Pawkeymun = new/list()


////Capture System/////

mob
Pawkeymun
verb
Capture()
set src in oview(1)
if(prob(50+(usr.AntiCaptureVal-src.CaptureVal)))
Pawkeymun.Add(src)
usr << "You caught it!"
src.name = input("What do you want to name it?")
src.ownerkey = input("Type in the key of the person who owns this.")
else
usr << "Attempt Failed."
New()
walk_rand(usr)
In response to spectriplex
Try replacing your current list var with this....

Pawkeymun[]

Now replace Pawkeymun.Add(src) with

Pawkeymun += src
In response to Polatrite
Still doesn't work....
In response to spectriplex
You are adding to the pawkeymon's pawkeymons list, not the person who uses the verb.

Alathon\\