Search found 2 matches
- Thu Aug 20, 2015 10:13 pm
- Forum: Help Forum
- Topic: How to match with spaces?
- Replies: 3
- Views: 3395
How to match with spaces?
I'm trying to make a script where my character teleports when other people give the command, but I'm having a difficult time matching spaces. ^\w+ says 'tele to (\w+)'$ is what I have, and I want: send("c c t " .. matches[2]) Unfortunately, that will detect and match with one word location...
- Tue Jul 28, 2015 9:03 pm
- Forum: Scripts & Packages
- Topic: Total newbie, trigger question
- Replies: 5
- Views: 7497
Total newbie, trigger question
Probably the most common trigger that I used in zmud is for groups, and I have no idea how to make it here. I want a basic trigger that makes it so that when another player tells the group to attack a target, my character does so. EXAMPLE: Annie tells the group 'whack wolfman' kill wolfman How do I ...