Unknown2005-08-21 07:29:12
Ok I know there is an avialbe free system for mushclient but I would rather try to build one myself. Allthough until I buy my new computer i wont be taking part in very much combat due to the lag. But in any case was wondering how to make a basic targeting system and if I could use the large list of affliction and unaffliction lines for mushclient triggers.(Switching over from MM2k)
Unknown2005-08-21 10:36:59
CODE
Â
 enabled="y"
 variable="Target"
 send_to="9"
 sequence="100"
 >
Â
Â
Copy and paste this into your aliases (on the configuration dialog) and it will allow you to set a Target variable with 't whatever' as the command.
CODE
Â
 enabled="y"
 expand_variables="y"
 regexp="y"
 sequence="100"
 >
Â
Â
This is an example alias for attacking a target. Replace it with an attack you want to use.
I have developed (somewhat) a free system for MUSHclient with many affliction and defense triggers. You're welcome to try it out and use it as a reference, but it's not supported by me or even completely finished yet.
http://cvs.sourceforge.net/viewcvs.py/achaeacure/Mush/
(Hint: look in the ire/lcp folder for plugins with triggers and scripts.)
Unknown2005-08-22 02:17:56
thanks for the help, is there any place I can read on how to code in Mushclient after I read a bit i should pick it up fast. Just needed a targeting thing for the moment
Unknown2005-08-22 10:56:55
Three places I recommend you read/search:
1. MUSHclient help files, especially the script functions documentation.
2. MUSHclient forums. Nick and others answer many common questions and post cool scripts.
3. Any site with a tutorials and documentation on the scripting language you've chosen to use, such as http://www.lua.org/pil for Lua.
1. MUSHclient help files, especially the script functions documentation.
2. MUSHclient forums. Nick and others answer many common questions and post cool scripts.
3. Any site with a tutorials and documentation on the scripting language you've chosen to use, such as http://www.lua.org/pil for Lua.
Unknown2005-08-25 04:43:04
how do you get mushclient to insert a random number so I can get how much health I bleed highlited. Also how do you get it to read part of a line when you put it in a trigger?
Unknown2005-08-25 11:14:42
You need to use a wildcard in your trigger pattern. The basic pattern would be "You bleed * health." and whatever the * matches is stored in %1. The regular expression would be "You bleed \\d+ health\\." and the number you bleed is again stored in %1.
Not sure what you mean by 'read part of a line.'
Not sure what you mean by 'read part of a line.'
Unknown2005-08-25 16:36:48
ok I got a question what do I change if I want to see a message I wrote in the trigger but dont want it sent to the world I just want it on the screen?
Unknown2005-08-27 07:28:21
bumping my question
Unknown2005-08-27 17:07:34
Send to output, or send to script and use the Note type functions.
Unknown2005-08-27 17:19:39
ok thanks when making an auto sipper would I use the two messages you get related to health then set up a variable?
Unknown2005-08-28 14:44:21
bumping my question on how to make an auto sipper and then turn it on and off