Search found 14 matches

by khiren
Mon May 14, 2018 5:11 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

To have things you send to the game check aliases, you need to use the expandAlias function, rather than the send function. Hi Jor'Mox I know you are trying to help me, and I am really thankful, but when you tell me something like this I don't know what to do with it :( I am pretty new here I still...
by khiren
Mon May 14, 2018 4:57 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

Vadi wrote:
Mon May 14, 2018 4:54 pm
I think you'll find the send() documentation helpful here! https://wiki.mudlet.org/w/Manual:Basic_Essentials#send
Thanks I will check it!
by khiren
Mon May 14, 2018 4:56 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

To have things you send to the game check aliases, you need to use the expandAlias function, rather than the send function. Hi Jor'Mox I know you are trying to help me, and I am really thankful, but when you tell me something like this I don't know what to do with it :( I am pretty new here I still...
by khiren
Mon May 14, 2018 4:47 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

Yeah, the fact that Mudlet runs all triggers whereas TinTin++ only runs one and there is a 10 level priority system (default 5) to help to decide which one gets run catches out some people - as does the different ways to introduce time delays to running things (Mudlet, as a GUI application does not...
by khiren
Mon May 14, 2018 3:57 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

I have heard of clients (or was it servers themselves - they might do) that accept multiple movement commands like that... ... it ought to be possible to do something to handle that - do you need a small time delay between each step or between each change of direction to prevent triggering an anti-...
by khiren
Mon May 14, 2018 3:54 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

Jor'Mox wrote:
Sun May 13, 2018 7:11 pm
An alias, not a trigger. Only aliases look at what you are sending, while triggers look at what you are receiving from the game.
Okay I will try it as alias. Thanks
by khiren
Sun May 13, 2018 6:40 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

So, first, I would recommend using some character as an indicator that a string of directions follows. I'll give an example, but you can obviously choose whatever you want. Here is a pattern that should work: ^\>([\dnsewud]+) Then, you can use some code like this to pull the directions apart and se...
by khiren
Sun May 13, 2018 8:00 am
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

Another how-to question :)

How to setup mudlet so when I type 10w my character moves ten times w?

also I tend to use multiple chains like 10w5w2nd something along those lines..
by khiren
Sun Apr 29, 2018 5:33 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

Jor'Mox wrote:
Sun Apr 29, 2018 5:08 pm
Try this. Pattern: ^spells(?: (.*))?$
Code:

Code: Select all

if matches[2] then
    send("abil -| spell " .. matches[2])
else
    send("abil -| spell ")
end
Perfect - it works, thanks! :)
by khiren
Sun Apr 29, 2018 4:52 pm
Forum: Help Forum
Topic: how-to
Replies: 23
Views: 3754

Re: how-to

nesferatu wrote:
Sun Apr 29, 2018 4:23 pm
Have you tried:
if(matches[2] == "")
?
I just tested it now and it doesn't work.