Guest User

Untitled

a guest
Sep 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.46 KB | None | 0 0
  1. on $*:INPUT:#: {
  2.   if ($regex($1,/^[!](w|weather|forecast|forecast5|alert|alerts|alertinfo|alertsinfo|time|current)/Si)) wunderground $1-
  3. }
  4.  
  5. on $10:text:/^[!](w|weather|forecast|forecast5|alert|alerts|alertinfo|alertsinfo|time|current)/Si:#: {
  6.   ((%asdf == $null) || ($calc((%asdf + 20) - $ctime) < 0)) {
  7.     wunderground $1-
  8.     set -u20 %asdf $ctime
  9.   }
  10.   else {
  11.     notice $nick Wait $calc((%asdf + 20) - $ctime) second(s) before trying !w again.
  12.   }
  13. }
Add Comment
Please, Sign In to add comment