ID:261399
 
When I try to make the verb to donate dimes it works ok but when I put this into my client it freaks out and tells me that that mob is a bad argument

PayDimes(K,"Little Sally", "Lyodia Donation")



(dimes code)

Donate_Dimes(K as num)

if(usr.client.PayDimes(K,"Little Sally", "Lyodia Donation"))
if(K <=0)
usr << "Donation unsuccessful."
else
world << "[usr] has donated [K] dimes for the Lyodia game!"
Try this:
mob
verb
Donate_Dimes(K as num)
if(usr.client.PayDimes(K,"Litte Sally","Lyodia"))
if(K == 0)
return
else
world << "[usr] has donated [K] dimes to Lyodia for game!"

That should work.

Try compiling in DEBUG mode (there's an option in the compiler to do this) and tell us which line it is crashing on and exactly what the error message is.

--Dan