mIRC Home    About    Download    Register    News    Help

Print Thread
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.

Joined: Nov 2003
Posts: 2,327
T
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
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.


Link Copied to Clipboard