Functions list

Posted by Nick Gammon on Fri 28 Jul 2000 12:00 AM — 3 posts, 18,297 views.

Australia Forum Administrator #0

There is now a web page listing all "world" functions that can be called from PerlScript (and other languages). It lists in alphabetic order all methods/properties that are exposed by MUSHclient, with:

  • Description
  • Example code
  • Return values

This is at: http://www.gammon.com.au/mushclient/functions.htm

USA #1
The spacing in some of the code examples is messed up. Look at this from http://www.gammon.com.au/scripts/function.php?name=GetWorld :

<pre><font size=2>' --------------------------------------------------^M<br />
' Example showing sending a message to another world^M<br />
' --------------------------------------------------^M<br />

The code is enclosed in <pre> but it *also* has <br/> tags in addition to the line feeds which makes it do two newlines instead of one. Then, the ^M makes it do another newline in Opera 6.01 (but not Netscape or IE).

It should probably be like this (without the <br/> and without the ^M):

<pre><font size=2>' --------------------------------------------------
' Example showing sending a message to another world
' --------------------------------------------------
Australia Forum Administrator #2
Yes, I see what you mean. I have changed that. :)