how would i make it so that it asks your name i have no code for this cuz i dont no where to start
K.O.W (lol :))
ID:266273
Nov 3 2001, 7:06 am
|
|
In response to Alathon
|
|
ohhh i get it now thx al
K.o.W |
In response to King of Wind
|
|
how would i make a text field tho like the say verb?
K.o.W |
In response to King of Wind
|
|
King of Wind wrote:
how would i make a text field tho like the say verb? What say verb? I tired to look up ssay verb, but there is none. Do you mean something that pops up? |
In response to King of Wind
|
|
You would have to use as text in a verb example:
mob/verb/Say(T as text)//Makes a var called T and names it as text NOTE DO NOT COPY PASTE THIS CODE IT WILL NOT WORK! |
In response to Nadrew
|
|
Nadrew wrote:
You would have to use as text in a verb example: Or as message, for a bigger box Alathon |
In response to Air _King
|
|
yas
|
In response to King of Wind
|
|
can someone plz give me an example of the code i need to use to do that?
|
In response to King of Wind
|
|
King of Wind wrote:
can someone plz give me an example of the code i need to use to do that? mob/Login() |
In response to Nadrew
|
|
thx nadrew ur always there when i need help and i have another Q what is wrong with this:attack(mob/M as mob in oview(1)) //attack a mob within 1 tile of you
usr << "You attack [M]!" //send this message to the usr oview() << "[usr] attacks [M]!" //send this message to everybody else var/damage = rand(1,10) //assign a random # to a new variable world << "[damage] damage!" //tell the damage to the world M.HP -= damage //take away the damage from M here is the errors:D.B.S.F.dm:43:error:M.HP:bad var D.B.S.F.dm:38:error:punch :undefined proc i know they first but the second is killin me. |
In response to King of Wind
|
|
King of Wind wrote:
thx nadrew ur always there when i need help and i have another Q what is wrong with this:attack(mob/M as mob in oview(1)) //attack a mob within 1 tile of you That means you made a proc and gave it no definion what is line 38 of your code? |
In response to Nadrew
|
|
the attack part
|
In response to King of Wind
|
|
I don't see punch() in the jumbled mess up there.
|
In response to Nadrew
|
|
o ya!!!!
|
Alathon