|
Zjacer Newbie
Joined: 15 Nov 2014 Posts: 2
|
Posted: Sun Nov 16, 2014 3:17 am
Button with 'insert text' option. |
Hi!
My button sends to MUD:
exec return find_player(~"%%~")->add_prop(~"_live_i_neverknown~", 1)~; (it's example)
I need %% to be variable which i insert after i click my button.
For example: I click button, then new window opens and i have to insert text. For example 'Legolas'. Button will send:
exec return find_player(~"Legolas~")->add_prop(~"_live_i_neverknown~", 1)~;
Could you help me? :) |
|
|
|
hogarius Adept
Joined: 29 Jan 2003 Posts: 221 Location: islands.genesismuds.org
|
Posted: Sun Nov 16, 2014 10:38 pm Re: Button with 'insert text' option. |
Zjacer wrote: |
Hi!
My button sends to MUD:
exec return find_player(~"%%~")->add_prop(~"_live_i_neverknown~", 1)~; (it's example)
I need %% to be variable which i insert after i click my button.
For example: I click button, then new window opens and i have to insert text. For example 'Legolas'. Button will send:
exec return find_player(~"Legolas~")->add_prop(~"_live_i_neverknown~", 1)~;
Could you help me? :) |
Take a look at the #PROMPT command.
http://forums.zuggsoft.com/modules/mx_kb/kb.php?page=3&mode=doc&k=356 |
|
|
|
Zjacer Newbie
Joined: 15 Nov 2014 Posts: 2
|
Posted: Wed Nov 19, 2014 5:21 pm |
Thanks! :)
|
|
|
|
|
|