ID:163441
 
mob/var/Zcall
src.Zcall=input("How will you call out your sword?")as text



is that corect? it says error undifined type src.Zcall what did i do or not do?
Lusifer wrote:
mob/var/Zcall
src.Zcall=input("How will you call out your sword?")as text

is that corect? it says error undifined type src.Zcall what did i do or not do?

It is not correct. The problem is, your line with the input() should go in a proc; it can't just be dropped into any old place in the code.

When you rewrite this, you should consider changing "as text" to "as null|text", to allow a cancel option.

Lummox JR
In response to Lummox JR
im lost.
In response to Lusifer
mob
proc
call()
var/zan=input("How will you call out your sword?")as text
usr.Zcall = zan


you should post more of your code next time into code problems forum.
In response to Scizzees
ty
In response to Scizzees
says :error expected syntax:call ([object.proc(args)
In response to Lusifer
Lusifer wrote:
says :error expected syntax:call ([object.proc(args)

Dude show us the entire coding for your naming the sword and stuff

using <DM.> CODE HERE </DM.> take out the dots
In response to Lusifer
Its just, call() is already a built-in proc. Call it something else, like Zcall() .