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 ➜ Furcadia Triggers

Furcadia Triggers

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


Posted by KalmarLoridelon   (5 posts)  Bio
Date Thu 05 Oct 2006 09:02 AM (UTC)
Message
Not sure if I put this in the right area but I have a furcadia question. It so simple I feel stupid. I want to be able to whisper my bot and have it repeat what I just said to it in whisper. Everything I have attempted has failed. Anyone know how to do it?
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 05 Oct 2006 12:19 PM (UTC)
Message
I'm not quite sure what you are trying to do. Can you post what you tried so we can get the general idea?

- Nick Gammon

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

Posted by KalmarLoridelon   (5 posts)  Bio
Date Reply #2 on Fri 06 Oct 2006 03:36 AM (UTC)
Message
So far I had:

Trigger: ([ Kalmar|Loridelon whispers, "*" to you. ]
Send: "%1

But its not doing anything. The trigger is spelled write and everything but the bot isnt reacting at all.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Fri 06 Oct 2006 04:09 AM (UTC)
Message
OK, now can you copy and paste the actual MUD output, so I can see exactly what the line is that you are trying to trigger on?

- Nick Gammon

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

Posted by KalmarLoridelon   (5 posts)  Bio
Date Reply #4 on Fri 06 Oct 2006 04:33 AM (UTC)
Message
([ Kalmar|Loridelon whispers, "Say this bot." to you. ]

Thats the actual trigger I want it to react too.
Top

Posted by KalmarLoridelon   (5 posts)  Bio
Date Reply #5 on Fri 06 Oct 2006 04:54 AM (UTC)
Message
While I'm at it there are one or two other questions regarding furcadia mushclient codes. Like, is there a way to stack and delay a command? Like making a bot move on its own more slowly. For example making it move is m1 in the send. To move alot its m1
m1
m1
m1
ect in the send.
Can a delay be added in there between the m1's to slow it down? So it would move then wait 1 or 2 seconds and move again. Like:
m1
pause
m1
pause
Or something like that.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #6 on Fri 06 Oct 2006 09:36 PM (UTC)
Message
Well it worked for me. This was my trigger:


<triggers>
  <trigger
   custom_colour="2"
   enabled="y"
   match="([ Kalmar|Loridelon whispers, &quot;*&quot; to you. ]"
   sequence="100"
  >
  <send>"%1</send>
  </trigger>
</triggers>


I set it to colour the line so I could see it matching, and then pushed through a test trigger with Game menu -> Test Trigger, and it fired. Make sure regular expressions are not checked.

Also check the MUD output to see if there is a trailing space in it, if so, put that space in the trigger.

Quote:

Like, is there a way to stack and delay a command?


You can use the speedwalk delay perhaps, and then make the alias "Send to world - speedwalk delay". If you make the speedwalk delay 2 seconds that will achieve it.

Or, with a small bit of Lua scripting you could write a script that does DoAfter to make commands come out after a pause, like this:


<aliases>
  <alias
   match="move"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>
count = 5  -- how many to send
secs = 2   -- how long to wait between each one
what = "m1" -- what to send

for i = 1, count do
  DoAfter (i * secs, what)
end -- loop</send>
  </alias>
</aliases>


- Nick Gammon

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

Posted by KalmarLoridelon   (5 posts)  Bio
Date Reply #7 on Sun 08 Oct 2006 04:07 AM (UTC)
Message
Thanks Nick. Turned out it was just a space and thats why it wasnt working. *Feels stupid* The world delay worked as we well though I dont see anywhere to set the delay time. Do you know how to change the species and colors of the furcadia bot avatar? Seems to be stuck in default. Your advice so far has helped lots. :)
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #8 on Sun 08 Oct 2006 05:47 AM (UTC)
Message
The delay is set in world configuration -> Input -> Commands -> Speed Walking -> Delay.

I don't know about the other questions, maybe someone else does.

- Nick Gammon

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

Posted by Raiken   (1 post)  Bio
Date Reply #9 on Tue 27 Feb 2007 12:00 PM (UTC)
Message
You can solve your color scheme issue by making your bot normally in the furcadia character editor.. saving the .ini file and then opening the character .ini file in a notepad, theres a colorcode in the .ini file the second line down all you have to do is copy that and then when you connect using mushclient you use THIS format connect name password colorcode desc if applicable
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.


21,515 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.