Amended on Fri 03 Nov 2006 05:33 AM (UTC) by Nick Gammon
Message
Well, a minor bit of scripting is needed to make decisions, however it can be done "inline" in your trigger or alias.
Assuming the trigger or whatever-it-is matches, your code would look something like this:
if r == 0 then
Send ("cast blind")
else
Send ("cure blind")
end -- if
The test of equality is "==" not "=", as "=" is used for assignment, eg.
a = 42 --> a is now 42
For this to work perfectly you need to establish a value for the variable "r".
You need to set the trigger or whatever you are making to "send to script" so that the script commands are executed as a script, and not just sent straight to the MUD.
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.