I am looking for help with an MIRC timer
This method works great for counting down to even number hours - how might I count down to half hours or even quarters or tens?
Thanks for any assistance!
There are $calc(21 - $gettok($asctime(HH:nn:ss),1,58)) Hours $calc(59 - $gettok($asctime(HH:nn:ss),2,58)) Mins $calc(59 - $gettok($asctime(HH:nn:ss),3,58)) Seconds until 9pm.
Ive discovered an issue - not sure if its just my remotes conflicting or if its this scripting - could you test this and verify?
random text is setting the script off and returning > That zip code is incorrect. Please try another one.
Example - type in a random word followed by random numbers. foxtrot 38919230 No trigger or nothing.
Previously it was .... ; Usage /weatherm 12345 or /weatherm 12345 forecast
That permitted me to do something like this
on *:text:!bhweather:#: {
/weatherm 90210
}
So users never knew how to call zipcodes they only knew how to call the trigger.
How would I structure the trigger coding for what you have given?
Would it be
on *:text:!bhweather:#: {
$weatherm(90210,W)
}
Ohhhhh and sorry to bother ya - how hard would it be to add in "humidity" and "wind" to the script ? I think the old script had those ...
Thanks again!
So is this working for you?
Also the previous version had some command lines >
; Usage /weatherm 12345 or /weatherm 12345 forecast
Would be great if this one used command lines as well so that I could set up the bot to use an alternate trigger - I dont want 500 people all trying to put in their zip codes ... if they only know 1 trigger
!givemeweather , and that called up the actual trigger it be awesome.