Alright, I use the switch command to allow me to show the user text and give them a list of what to reply, but the reply is always to long. I know that /n is used for alert, but what can I do to tab it down in the switch command.
ID:327023
Feb 22 2012, 2:34 pm
|
|
Feb 22 2012, 2:38 pm
|
|
Can you give an example?
|
switch(input("Oh, your [usr.name], heard you were a bit of a jerk.", text) in list ("I don't care about being liked.","Heh yah, having a bad day, I apologize.")) |
Seriously? No way to make numerous lines of text off of one little thing? Guess I will shorten the responses. Thx anyways.
|
I would use an interface for these or a pane ... and just a href each line of text.
Obviously they pick there response by clicking the text and then repeat. Up to you however interfaces allow for more customizability graphics styles colors etc. |
It is very possible, maybe you're doing it wrong.
mob/verb/myverb() |
Yeah, what he's trying to achieve is for each possible selection in the list to be broken up to take up more than one line. The only way I can think to do this would be with a custom designed interface element.
Edit: Example of what he's trying to do:
/* That, in an input window. |
Maybe you should make it a suggestion to be able to do so or to be able to make it automatically word wrap it to the next line if it's too long...but as far as I know you can't make it currently because the selection would have to expand to multiple lines of text & the control their using for selection just doesn't have that ability natively, they'd have to program their own control for selecting items from a list to add that function...
Even just the ability to resize the window might be nice though because seriously, if you could make it wider you could read the whole response...or if there was code to make the input window wider as an extra named paremeter passed to input(width) & it just opened wider... If you make your own interface though you can do it whatever way you want... Another way could be not to use input at all & click a response on-screen or possibly in the text output have it show the possible responses & make that clickable...have to do a little work so the actions carried out are valid since you can't exactly make the options un-clickable after.... |
I can't see them making something possible that users can already do if they simply make their own controls.
|
Alright, so how would I create an interface, I've been meaning to do that anyways. Any help on the subject would be greatly appreciated. Thanks in advance.
|
In response to Filthynate
|
|
Scroll down and look for guides dealing with the interface. Lummox JR has a full series: Lesson One, Lesson Two, Lesson Three, Lesson Four.
|
In response to Filthynate
|
|
I think you can create custom dialog boxes with some library out there, I don't recall. You can also use the browser to have displayed what you want in HTML. Albeit if you create an interface you have to redesign the complete UI and then you can add dialog boxes according to what you want/need.
|
You don't need to, but you can. His guide was great for the newbies to interfaces.
|