Register forum user name 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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ World.note

World.note

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Garak   (1 post)  Bio
Date Fri 09 Dec 2005 07:05 PM (UTC)
Message
Greetings all!

I just switched to MUSHclient from Java, and I was trying out how to get something to work. In java there is a function called ECHO. Echo is a type of trigger. For example, the trigger line would be

You are bleeding

In the command entry box for the trigger I would put

#echo clot

Then whenever the message "You are bleeding" came up on the game window, the message "clot" would appear under that. I was told mush clients version of this is called the note function. I can't figure out how to get it to work. Any pms or responses that could help me set up a system like the one described above would be greatly appreciated!
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 09 Dec 2005 11:50 PM (UTC)

Amended on Fri 09 Dec 2005 11:51 PM (UTC) by Nick Gammon

Message

<triggers>
  <trigger
   enabled="y"
   match="You are bleeding"
   sequence="100"
  >
  <send>clot</send>
  </trigger>
</triggers>


Also read:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=6030

If you don't want to send "clot" to the MUD, change the trigger "send to" to "output".

- 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.


9,295 views.

It is now over 60 days since the last post. This thread is closed.     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.