Define a variable with a trigger
Posted: Fri Jan 08, 2021 9:49 am
I am very new to Mudllet and come from using Z/Cmud.
I want to make a trigger that defines a variable that a second trigger will then pull from.
trigger 1
string=
Your Judge hit (.*) for
then create or modify a variable called target to the text after Hit and before For
The second trigger is
string=
You maw now use Judge again.
code
send ("judge " ..target)
I do not know the proper code to define / update the variable in the first trigger as I am very confused by the wild cards used mudlet. Can someone help?
I want to make a trigger that defines a variable that a second trigger will then pull from.
trigger 1
string=
Your Judge hit (.*) for
then create or modify a variable called target to the text after Hit and before For
The second trigger is
string=
You maw now use Judge again.
code
send ("judge " ..target)
I do not know the proper code to define / update the variable in the first trigger as I am very confused by the wild cards used mudlet. Can someone help?