Example:
mob/verb/Hi(msg as text)
set hidden = 1//Strictly for the skin's usage
world << "[msg]"
And then be-able to pass the arguments through a button's command.
Command: Hi("How are you doing?!")
ID:156533
![]() Sep 12 2010, 10:50 am
|
|
How do you, pass verb arguments into a custom skin's button command?
Example: mob/verb/Hi(msg as text) And then be-able to pass the arguments through a button's command. Command: Hi("How are you doing?!") |
First and foremost I recommend if you haven't already reading Lummox Jr's great tutorial on the Interface layout. Here
But when you do make your input bar and you place the verb name which in your case is "Hi". Doing this will pass whatever the user places in there threw that verb and then do what it needs to in your case output text" Also I personally recommend doing this: mob/verb/Hi(msg as null|text)//Adding the null will not allow the user to just hit enter with blank text. |
Kaiochao wrote:
Just like how you'd type them into the input bar. Ah! Well that was embarrassing. Thanks alot. |
Smokymcpot wrote:
First and foremost I recommend if you haven't already reading Lummox Jr's great tutorial on the Interface layout. Here > mob/verb/Hi(msg as null|text)//Adding the null will not allow the user to just hit enter with blank text. Oh and i apologize for my bad example,but I didn't plan on using the verb to allow a player to input text. However, I really appreciate the help though. |
Command: Hi "How are you doing!?"