I wanted to know how to make it so when the user clicks a verb it adds a "> " to the beginning of their input bar, and when they click another verb it deletes it.
Thanks!
ID:159937
Dec 16 2008, 1:53 pm
|
|
Dec 16 2008, 2:07 pm
|
|
Look up the command param in the skin ref.
|
In response to Jeff8500
|
|
Yes, but I was wondering how to code that verb...
|
In response to Hi1
|
|
Look up winset().
|
In response to Jeff8500
|
|
Hmm...so would I do:
mob ...? |
In response to Hi1
|
|
No, you have to give it a param to actually edit. Plus, if you read the skin ref. article, you would know that you have to put a !command in there somewhere.
|
In response to Jeff8500
|
|
winset(usr, "main.input1", "command=\"in \\\"> "") ? I'm confused...is that right? |
In response to Jeff8500
|
|
I think I get it, but it's still not working:
winset(usr, "main.input1", "command=insert > ") Can you help explain Winset? Cause the DM Ref is too confusing... |
In response to Hi1
|
|
I explained it here. Make sure that you place your new param value in double quotes (\"\") if it has a space in it. Note that you have to put an exclamation point before your command to display it, like the skin ref. said.
|
In response to Hi1
|
|
winset(usr, "main.input1", "command='!> '") Try that. You can use single quotes to surround the command, instead of trying escape double-quotes. |
In response to Xooxer
|
|
Doesn't work =(
|