mIRC Home    About    Download    Register    News    Help

Print Thread
U
userinvalid
userinvalid
U
Hey there I was trying to write an alias that performed a /ctcp uptime on all [invalid]* nicks in the channel when i type something like /iruptime . I'm really stuck with it though so would greatly appreciate anyone who could help!

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Code:
alias uptime {
  var %x = $nick($$1,0)
  while (%x) {
    if ([invalid]* iswm $nick($1,%x)) { ctcp $nick($1,%x) uptime }
    dec %x
  }
}


/uptime #Channel

Last edited by SladeKraven; 24/04/05 06:51 PM.

Link Copied to Clipboard