;;Seedtimer made by Ryan from SwiftIRC for use in herb farming. ;;Only change if you're positive you know what you're doing. ;;To use the timer, type "/seedtimer" and it will start the timers. ;;After 90 minutes, you will recieve a message saying your herbs are done. ;;If at any time you wish to check how much time is left on the herbs, type "/seedcheck" ;;For questions or comments, contact me on the SwiftIRC network #RShelp channel (ask for Ryan) ;;or leave me a memo on SwiftIRC by using the "/ms send Ryan " alias seedtimer { timer 1 5400 echo 4 -a It has now been 90 minutes since you planted your herbs. You should check and see if they're done. timer 1 5400 beep 1 set %seedtimer -z 5400 timer 1 5402 /set %seedtimer 0 } alias seedcheck { //echo 4 -a Your seeds currently have: { if (!%seedtimer == $null) { goto done } else { if (%seedtimer >= 60) { goto minutes } else { if (%seedtimer < 60) { goto seconds } } } :done { //echo 4 -a * No time remaining. } :minutes { //echo 4 -a * $calc( %seedtimer / 60 ) minutes remaining. } :seconds { //echo 4 -a * %seedtimer seconds remaining. } } }