[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  input in command window send to script

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

input in command window send to script

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Jing Wu   Australia  (35 posts)  [Biography] bio
Date Mon 16 Jul 2012 03:21 AM (UTC)  quote  ]
Message
Hi Nick,

Just wondering how to make any text input in command window send to a particular script function by default without typing any prefix to use script?

is there a command window input callback like that?


Kernel Development
[Go to top] top

Posted by Jing Wu   Australia  (35 posts)  [Biography] bio
Date Reply #1 on Mon 16 Jul 2012 03:33 AM (UTC)  quote  ]
Message
I know how now, thanks anyway.

<aliases>
<alias
match="^(.+)$"
enabled="y"
expand_variables="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>cmd:Send("%1")</send>
</alias>
</aliases>

Kernel Development
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


421 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]