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?
Furcadia Triggers
Posted by KalmarLoridelon on Thu 05 Oct 2006 09:02 AM — 10 posts, 30,210 views.
I'm not quite sure what you are trying to do. Can you post what you tried so we can get the general idea?
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.
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.
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?
([ Kalmar|Loridelon whispers, "Say this bot." to you. ]
Thats the actual trigger I want it to react too.
Thats the actual trigger I want it to react too.
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.
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.
Well it worked for me. This was my trigger:
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.
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:
<triggers>
<trigger
custom_colour="2"
enabled="y"
match="([ Kalmar|Loridelon whispers, "*" 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?
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>
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. :)
The delay is set in world configuration -> Input -> Commands -> Speed Walking -> Delay.
I don't know about the other questions, maybe someone else does.
I don't know about the other questions, maybe someone else does.
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