 |
Rejar Newbie
Joined: 10 Nov 2002 Posts: 5
|
Posted: Sat Nov 23, 2002 10:15 pm
Multiple words in trigger wildcards |
Need help with this please, say for instance you have a trigger set up for a responce to a message and your pattern and value respectively looks like this
(%*) tells you 'where are you??'
tell %1 around
Now the problem is in the mud some characters have pretitles and the value wont send the tell to the correct person if they have one.
example: My characters name is Kalos, I have a pretitle of Honourable so my name always comes out as Honourable Kalos. Problem here is that with the above trigger is the value would end up sending it to "tell honourable kalos around" it wont work because you cant send it to the pretitle. I want the trigger to take out the pretitle if its there, and if there isnt one, then it wont so if it detects two words in the wildcard it'll take out the first one or something so the end result would be
Honourable Kalos tells you 'where are you??'
tell Kalos around
(The actual name will always be the word just before 'tells')
much thanks |
|
|
|
 |
trotterz Newbie
Joined: 23 Nov 2002 Posts: 2 Location: United Kingdom
|
Posted: Sat Nov 23, 2002 10:38 pm |
give this a try, seems to work
(%x)%stells you 'where are you??'
tell %1 here and there
That will work so long as you only have pretitles and not surnames. |
|
|
|
 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|