[Home] [Downloads] [Search] [Help/forum]


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, 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.
 Entire forum ➜ MUSHclient ➜ General ➜ saving strings to be executed later

saving strings to be executed later

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


Posted by Artel   USA  (65 posts)  Bio
Date Sun 03 Apr 2005 07:44 AM (UTC)
Message
Not sure the best subject name for this, hope it's good. When a spell wears off, it leaves a unique message. I want to make an alias that will cast that spell again. I assume I would need a trigger for each spell's unique message. The main problem for me here is that I don't know how to save all of the spell names and cast all of these in one alias since there could be up to 50 or so spells.

Artel.
Top

Posted by Tsunami   USA  (204 posts)  Bio
Date Reply #1 on Mon 04 Apr 2005 03:47 PM (UTC)
Message
I have something of a similar nature going on with some of my commands. I store all the commands in a string deliminated by '|' and then strip the commands off one by one each time I recieve the proper trigger. I'll post some code once I get the chance to look for it.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #2 on Mon 04 Apr 2005 05:12 PM (UTC)
Message
Check the last post in this thread, it will deal with the sending and storing aspect. But yes, provided the messages are all unique (how unique are they?) you'll need to have a trigger for each.

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=5304&page=999999

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
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,347 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

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]