Register forum user name Search FAQ

Gammon Forum

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 ➜ Plugin error "Failed: nothing to repeat at offset 90"

Plugin error "Failed: nothing to repeat at offset 90"

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by NeoFryBoy   USA  (42 posts)  Bio
Date Sun 30 Jul 2006 05:28 AM (UTC)
Message
I get this error, but it pops up in a message box as compared to a special window like normal.

As far as I can tell, it's this trigger:

<trigger
enabled="y"
expand_variables="y"
group="CPHighlight"
match="^Find and kill \d \* (.*) \(.*\)$"
regexp="y"
send_to="10"
sequence="100"
script="CPAdder"
>
<send></send>
</trigger>

breaking on one of these lines...

Find and kill 1 * a flying donkey???!!! (The Land of Oz)
tell
Find and kill 1 * the great sorcerer (The Isle of Quake)
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 30 Jul 2006 06:40 AM (UTC)
Message
Testing that trigger on your test data does not raise that error.

Why do you have "expand variables" checked, when there are no variables in the trigger?

Possibly the error is in the CPAdder function.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by NeoFryBoy   USA  (42 posts)  Bio
Date Reply #2 on Mon 31 Jul 2006 04:58 AM (UTC)
Message
Figured it out.
The line:
Find and kill 1 * a flying donkey???!!! (The Land of Oz)

triggers a capture of the a flying donkey???!!! which is placed in a variable and then another trigger uses
(@!mob_name)$.

The problem was the third ? was breaking the regexp so I just added another function to comment out special characters.
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.


11,109 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.