| Message |
It isn't complicated in MUSHclient these days, as you can "send to script".
Here is an example, using Lua scripting, however VBscript would be very similar:
<aliases>
<alias
match="looptest"
enabled="y"
send_to="12"
sequence="100"
>
<send>for i = 1, 10 do
Note ("item ", i)
end</send>
</alias>
</aliases>
You can copy and paste that into MUSHclient, but the important part is, in your "send" box put:
for i = 1, 10 do
Note ("item ", i)
end
That loops 10 times doing something. The alias must be set to "send to script" for the commands to be evaluated like that.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|