Originally Posted By: ERIC_ESOT
Deega

Ty for ur kindness - but i am a newb with no idea what to do once i hit Alt R
Really? If you press Alt+R you'll see an editbox that you can paste those lines into. crazy wink

Originally Posted By: ERIC_ESOT

i do want mIRC to play notify sounds, doing /whois on notify lookups etc
Code:
on ^*:notify:{
  ; Check if you want to /whois this nick
  if $notify($nick).whois { whois $nick }
  ; Check for a notify sound to play
  if $notify($nick).sound {
    ; If there is one, check if it is "beep" and /beep if it is
    if $v1 == beep { beep }
    ; Else it is a soundfile, so /splay it
    else splay $qt($v1)
  }
  ; Halt the default output
  haltdef
}

on ^*:unotify:{
  ; Have to read the mirc.ini entry for notify offline sounds
  var %a = $readini($mircini,notify,$+(n,$calc($notify($nick)-1))),%b
  ; Check for offline sound item
  if $pos(%a,Wave2:,1) {
    ; If found, find the position of it in the entry
    %b = $v1 + 7
    ; Check if it is beep, and beep if it is
    if $mid(%a,%b) == beep { beep }
    ; Otherwise it's a soundfile, so /splay it
    else splay $qt($v1)
  }
  ; Halt the default output
  haltdef
}