ID:261742
 
Ok, I'm currently designing a .alt based game and i'm wonder how I might choose the style of the message box when you hit Tab.

Here's my code, quite simple.

mob/verb/Tab(M as message)
set hidden=1
world<<"<font color = red><b>[usr.name]</b><font color = black> : <font color = blue>[M]"


now, when I hit Tab, a large window comes up and I'd like it to be a smaller one, like when you input your name into the smaller box. Basically why I want that small one is because you just have to hit enter then the message is sent.
Mouse = Bad.
Keyboard = Good. :)
Please close your HTML tags, or use DM instead of CODE to enclose your code so it will strip them out.

Lummox JR
Instead of "M as message", you should have "M as text" as the argument to the verb... The type of input box that appears is based upon what type of input you're asking for... Message gives you that big box, text gives you the small, one-line box...
In response to SuperSaiyanGokuX
Ahhhh, stupid me :)
thanks alot for the help :).
In response to Lummox JR
Actually, I did close them.
/code is what I used, something wrong with that?
In response to Tamaka-san
You just edited your message to close it, and <code> is the same as <DM> I don't think Lummox knew that.
In response to Nadrew
Not quite, Nadrew. The dm tags strip out just about everything whereas code doesn't. Observe:

mob/verb/test()
world << "<u>Hello world.</u>"


<code>mob/verb/test() world << "Hello world."</code>
In response to tenkuu
Odd, <code> used to do the same as <DM>, but apprently something changed since I last checked.