mIRC Home    About    Download    Register    News    Help

Topic Options
#21227 - 27/04/03 09:13 PM !'s
MTech Offline
Fjord artisan

Registered: 05/03/03
Posts: 437
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?

Top
#21228 - 27/04/03 09:53 PM Re: !'s
Deep3D Offline
Fjord artisan

Registered: 09/12/02
Posts: 476
Loc: Norway
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]

Top
#21229 - 28/04/03 02:26 AM Re: !'s
Cheech Offline
Fjord artisan

Registered: 12/12/02
Posts: 332
Loc: Louisiana, USA
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):*: {

Top