mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2005
Posts: 3
U
Self-satisified door
OP Offline
Self-satisified door
U
Joined: Apr 2005
Posts: 3
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,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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