mIRC Home    About    Download    Register    News    Help

Print Thread
Question about how to do something in aliases #101701 27/10/04 05:07 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Apologies for putting this in Scripts & Popups, since what I'm wanting is something to work from Aliases. Anyhow, a channel which I'm a regular in keeps track of people playing the game in a variable on a bot..to be recoognized by the bot, one has to type !play...however, one can stop playing simply by putting afk on the end of their nick...What I'm looking for is a way to have the !play command sent to the channel bot automatically when I remove the afk from the end of my nick.

Re: Question about how to do something in aliases #101702 27/10/04 05:29 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
on me:*:nick:{
  if (*afk !iswm $newnick) { msg <nickname> !play }
}


New username: hixxy
Re: Question about how to do something in aliases #101703 27/10/04 12:21 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
thanks...that uses coding that I wasn't able to find references to in the mIRC help file, which explains why I wouldn't have thought of it.