mIRC Homepage
Posted By: MTech !'s - 27/04/03 08:13 PM
on *:TEXT:! $+ $me:*: {
if ( %fld >= 1 ) {
if ($away ) { /msg $nick Im away for: $awaymsg :: $awaytime | /notice $nick i was in $active }
else { /msg $chan hold on | /notice $nick im in $active }
set -u30 %fld 1
}


dun work at all, can anyone help me plz?
Posted By: Deep3D Re: !'s - 27/04/03 08:53 PM
I think this works.. laugh
Code:
on *:TEXT:*:*: {
  if ($1 == ! $+ $me) {
    if ( %fld >= 1 ) { 
      if %awy == on {
        msg $nick Im away for: $awaymsg :: $awaytime
        notice $nick i was in $active
      }
      else {
        msg $chan hold on
        notice $nick im in $active
      }
      set -u30 %fld 1
    }
  }
}


Code:
raw 305:*: {
  set %awy off
}


[/code]raw 306:*: {
set %awy on
}[/code]
Posted By: Cheech Re: !'s - 28/04/03 01:26 AM
not sure but you might try using
$(...)
This identifier can only be used in the text match section of an event definition. It allows you to create a match parameter dynamically.

on *:TEXT:$(! $+ $me):*: {
© mIRC Discussion Forums