How do I have a command called drink where the click on it and a list comes up and the pick one and it sends a message to the world. I can't get it.
mob
verb
drink()
??????????????
??????????????
world << "[usr] drinks [?]"
please help me, thankyou
ID:267637
![]() Aug 6 2003, 7:35 pm
|
|
![]() Aug 7 2003, 12:55 pm
|
|
Anyone!!!Please!!!
|
obj/bottled_water There, youll have to make it more complicated if you want. I dont know if you wanna use hunger or something. |
Wow, totally illegal bumps..
When you say "COME ON HELP ME!", that just makes the helpers just blink off your thread. It'd also help if we knew what on earth you're trying to ask. -Camaro- |
No no its a chat game.
mob/verb/drink() than I want a box to come up that lists drinks than they click on it and it says to the world [usr] drank [whatever] |
I believe hes looking for something like this.
mob/verb/drink() switch(input("What would you like to drink?", "Drink?", text) in list ("Beer","Wine","Champaign","Rum","Whiskey","Grog","Vodka")) if("Beer") world << "[usr] drinks beer and begins to get loopy." if("Wine") world << "[usr] drinks wine and begins to get loopy." if("Champaign") world << "[usr] drinks champaign and begins to get loopy." if("Rum") world << "[usr] drinks rum and begins to get loopy." if("Whiskey") world << "[usr] drinks whiskey and begins to get loopy." if("Grog") world << "[usr] drinks grog and begins to get loopy." if("Vodka") world << "[usr] drinks vodka and begins to get loopy." |
Hows about this?
<code>mob/verb/Drink(drink in list("Water", "Beer", "Ale", "Wine")) world << "[src] drinks some [lowertext(drink)]."</code> |