Mudlet channie targeting script

... sit down, kick back and relax, and talk about anything that doesn't belong on one of the other forums.
Post Reply
Venum
Posts: 113
Joined: Mon Mar 07, 2016 2:49 pm

Mudlet channie targeting script

Post by Venum » Thu Nov 30, 2023 9:20 pm

I made my first channeler, and I made a weave targeting script for Mudlet. It is simply, 'm' is the action button (or you can change this to whatever you want), and you set the target by typing 'target x', and you set the weave by typing 'wv name of weave'. Then 'm' will do channel 'name of weave' x.

In mudlet, you just need to set 5 aliases:

Pattern: ^target (.+)$
code:
target = matches[2]
cecho("Target set to: "..target.."\n")

Pattern: ^m$
code:
send("channel '"..weave.."'".." "..target)

Pattern: ^wv (.+)$
code:
weave = matches[2]
cecho("Weave set to: "..weave.."\n")

Pattern: ^target$
code:
cecho("Target set to: "..target.."\n")

Pattern: ^wv$
code:
cecho("Weave set to: "..weave.."\n")

Post Reply