Writs Remaining with Craft

Amadeus

The Maestro
Staff member
Someone was asking me to put in some sort of audible ding or other indication when you have completed all writs with /craft. However, I think the best thing would be for users to create a daemon themselves.

The variable you want is:
Code:
${Script[Buffer:Craft].Variable[CurrentWritCount]}
When that reaches zero, then you're done making writs.

So...a very simple script would be something like this (you could run it after typing /craft)

Code:
function main()
{
    do
    {
        wait 5
        if ${Script[Buffer:Craft].Variable[CurrentWritCount]} < 1
        {
            announce "All Writs have been completed!" 3 6
            do
            {
                waitframe
            }
            while ${Script[Buffer:Craft].Variable[CurrentWritCount]} < 1
        }
    }
    while ${Script[Buffer:Craft](exists)} && ${ISXEQ2(exists)}
}
You could also use that variable to add a HUD to your display while craft is running or a variety of other things.
 

alphazero

Active Member
You could also try to add this as a secondary method

{beginjoke

do

[add more then 5 writ count
]

else

[dont writ]

endjoke]

=)
 
Top Bottom