mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 313
S
Sais Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
Code:
alias santa {
  var %list = santaslist.txt
  while (%i < $nick($chan,0)) { 
    inc %i  
    write %list $nick($chan,%i) $level($ial($nick($chan,%i),5)) 
  } 
  if ($exists(%list) && $exists(%list)) { 
    window -l @nice       | filter -gfw %list @presents /nice/ 
    window -l @nopresents | filter -gfw %list @nopresents /naughty/ 
  }
  amsg Santa Claus is coming to #Town | join #Town
}

Last edited by Sais; 22/12/06 03:50 PM.

Sais
Joined: Apr 2006
Posts: 400
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Apr 2006
Posts: 400
lol, this is the only command it performed for me.
Code:
  amsg Santa Claus is coming to #Town | join #Town


-Kurdish_Assass1n
Joined: Oct 2003
Posts: 313
S
Sais Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
You were obviously on the 'naughty' list....


Sais
Joined: Apr 2006
Posts: 400
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Apr 2006
Posts: 400
haha, nice one :P


-Kurdish_Assass1n
Joined: Dec 2006
Posts: 3
D
Self-satisified door
Offline
Self-satisified door
D
Joined: Dec 2006
Posts: 3
I'm just curious; why would you check to see if list $exists twice?

Joined: Apr 2006
Posts: 400
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Apr 2006
Posts: 400
to double check? lol, j/k, i don't know why he did it, maybe made a mistake. It doesn't matter to me though, I'm on the 'Naughty' list frown


-Kurdish_Assass1n
Joined: Oct 2003
Posts: 313
S
Sais Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
Santa always checks his list twice, don't you know the carol?


Sais
Joined: Dec 2006
Posts: 3
D
Self-satisified door
Offline
Self-satisified door
D
Joined: Dec 2006
Posts: 3
Touche! smile


Link Copied to Clipboard