Using An Alias In A Trigger

Posted by Apollon on Sat 15 Nov 2008 12:06 PM — 2 posts, 10,650 views.

#0
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

Netherlands #1
Either use Send To Execute, or in your script, use world.Execute("do gf").