Command line

Posted by Nightstalian on Tue 20 Feb 2007 10:22 PM — 2 posts, 14,322 views.

#0
How would I retrieve information from the command list?

Example...
Quote:

User enter command-1st command

Mud sent text- Beep,Beep, Beep

User Enter command- 2nd command

More mud sent text - BEEP...

set off trigger that activates a function that uses the line of code that repeats command - 1st command.


In Lua the code for what I'm looking for is

GetCommandList(#)

Is it the same with VBS?
USA #1
yes, it's exactly the same. The script commands for MUSHclient do not vary much from language to language. They are the same command name, take the same arguments, and really are only adjusted for base differences in the languages themselves. A good spot to look up any questions about a script command is http://www.gammon.com.au/scripts/function.php which is a list of all inbuilt script functions, as well as examples of how to use them in most of the supported languages.