Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Perlscript ➜ Functions list

Functions list

Posting of new messages is disabled at present.

Refresh page


Posted by Nick Gammon   Australia  (23,122 posts)  Bio   Forum Administrator
Date Fri 28 Jul 2000 (UTC)
Message

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


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Philip Mak   USA  (35 posts)  Bio
Date Reply #1 on Fri 12 Apr 2002 06:59 PM (UTC)
Message
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
' --------------------------------------------------
Top

Posted by Nick Gammon   Australia  (23,122 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 12 Apr 2002 09:36 PM (UTC)
Message
Yes, I see what you mean. I have changed that. :)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


13,917 views.

Posting of new messages is disabled at present.

Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.