mIRC Home    About    Download    Register    News    Help

Print Thread
#56376 20/10/03 08:40 PM
Joined: Dec 2002
Posts: 43
C
Cypris Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 43
why does $scid($cid).id activiate my perform list to an extent?
could this be a bug?


-Cypris
#56377 20/10/03 08:42 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
I don't suppose you have an alias called 'id' that identifies you with nickserv (or something similar)?

#56378 20/10/03 08:53 PM
Joined: Dec 2002
Posts: 43
C
Cypris Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 43
Just shoot me now, make it quick, i dont wanna feel it. lol, YES, i have an alias /id, im a lil tired, so explain to me how its calling /id.




-Cypris
#56379 20/10/03 08:58 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You can make custom identifiers with aliases, e.g.
Code:
alias hello {
  join #channelthatwontexist
  return hi
}

//echo -a $hello

When you call an alias this way all the commands in it are performed (just as if you had typed /hello).

From the mIRC helpfile:
$scid

If you specify a property which is an identifier, it returns the value of that identifier for that connection. This also works for custom identifiers.


So typing //echo -a $scid($cid).hello will also call the hello alias and perform all the commands in it.

#56380 21/10/03 07:54 AM
Joined: Dec 2002
Posts: 43
C
Cypris Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 43
ohhhh, DUH. lol.
thanks!


-Cypris

Link Copied to Clipboard