How do i ask another user a question?
E.g
mob
verb
duel(mob/M as mob in world)
M << input(Question here) in list (choises here)
so how do i make it so the M must answer the question as YES to continue?? i tryed the above but it just sent M "yes"!
-Spoon
--Thin and crispy--
ID:177194
![]() Oct 16 2002, 11:03 am
|
|
![]() Oct 16 2002, 12:01 pm
|
|
If you're not sure how to use a proc in a certain way, look it up in the reference! If you look up input() in the Reference, you'll find your answer.
|
You probably actually want to use the alert() proc, not input(). Look it up in the reference.
|
Spoon wrote:
So M.alert may work?? i'll try it and see! No, it won't work. Foomer said twice that you should look it up in the reference. alert() and input() are not mob procs; they don't belong to mobs. Therefore, M.alert() is bad syntax and you'll get an error. Both of these procs take a first argument, usually omitted (it defaults to usr), that say who receives the input() or alert() box. Lummox JR |
Okay.. i think i understand, i'll try looking around to see if anyone else has mentioned it though...
-SpoOn |