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
➜ Using An Alias In A Trigger
Using An Alias In A Trigger
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Apollon
(1 post) Bio
|
Date
| Sat 15 Nov 2008 12:06 PM (UTC) |
Message
| Having problems with my queue alias "do"(this isn't my own alias, it's from a system I got and am familiar to what it does). I need this:
TRIGGER: "^You have slain a (.*?)\.$"
SCRIPT: do gf
But it just sends "gf" in a tell to someone with a name that starts with "do".
Aliases:
^\s*do\s+(.+?)\s*$
SCRIPT: todo:add(php:explode("|", "%1"))
gf
SCRIPT: get fink
| Top |
|
Posted by
| Worstje
Netherlands (899 posts) Bio
|
Date
| Reply #1 on Sat 15 Nov 2008 01:46 PM (UTC) |
Message
| Either use Send To Execute, or in your script, use world.Execute("do gf"). | 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.
8,436 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top