you need to put the string you have in sub. into pattern.
(also the pattern line should be renamed to something like command/stuff you write/ect since, pattern is also used in triggers but there it is something you catch from the mud and not something you write yourself, well mostly)
Search found 4 matches
- Fri Apr 16, 2010 11:26 pm
- Forum: Help Forum
- Topic: Stygian help
- Replies: 4
- Views: 3564
- Thu Apr 15, 2010 7:41 pm
- Forum: Help Forum
- Topic: Help with my first simple trigger?
- Replies: 22
- Views: 13792
Re: Help with my first simple trigger?
insted of:
try
this should allow for a string of word, insted of a single word
Code: Select all
Pattern: ^af (\w+)$
Script: target = matches[2]
Code: Select all
Pattern: ^af (.+)$
Script: target = matches[2]
- Thu Apr 15, 2010 7:35 am
- Forum: Help Forum
- Topic: Help with my first simple trigger?
- Replies: 22
- Views: 13792
Re: Help with my first simple trigger?
I think the problem atm is that the manual is fairly technical for people with no prio programming/scripting experince and as such makes it hard for them to use mudlet atm, but im sure with time a more "newbie" friendly version will come out. Regarding your attempt to make another trigger ...
- Wed Mar 31, 2010 9:39 pm
- Forum: General Forum
- Topic: What Mud do you play?!
- Replies: 26
- Views: 20354
Re: What Mud do you play?!
I am from Islands of myth, use to be called Reddragon but it changed name.