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
➜ Enchant weapon trigger
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Whit
(3 posts) Bio
|
Date
| Sat 15 Jul 2006 03:33 PM (UTC) |
Message
| Trying to make a trigger that when someones gives me a weapon and they say enchant weapon i cast a spell on the weapon and give it back to them, something like this:
Sonic gives you a dagger. Sonic says enchant dagger. then i cast enchant weapon on dagger and You give a magical dagger to Sonic.
any help will be greatly appreciated | Top |
|
Posted by
| NeoFryBoy
USA (42 posts) Bio
|
Date
| Reply #1 on Sat 15 Jul 2006 10:26 PM (UTC) |
Message
| Some MUDs would call that botting. If not then fine, but otherwise I suggest you just setup an alias and use old fashioned typing to do it.
example
enitem * *
c 'enchant weapon' %1
give %1 %2 | Top |
|
Posted by
| Whit
(3 posts) Bio
|
Date
| Reply #2 on Sun 16 Jul 2006 01:00 AM (UTC) |
Message
| Botting is not a problem, i have a healing bot that's on all the time, the problem i'm having is in the *says 'enchant ?'* part, what do i put in the ? part, thanks for the reply btw | Top |
|
Posted by
| NeoFryBoy
USA (42 posts) Bio
|
Date
| Reply #3 on Sun 16 Jul 2006 01:59 AM (UTC) |
Message
| (.*?) says \'enchant (.*?)\'
John says 'enchant tube' | Top |
|
Posted by
| Whit
(3 posts) Bio
|
Date
| Reply #4 on Mon 17 Jul 2006 08:50 PM (UTC) |
Message
| here's the trigger:
trigger: *says 'enchant*'*
send: cast 'enchant weapon' %2 \ngive %2 %1
was overthinking it way too much, so easy, thanks for the reply's though | 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.
14,946 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top