mIRC Homepage

Question about how to do something in aliases

Posted By: RusselB

Question about how to do something in aliases - 27/10/04 05:07 AM

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.
Posted By: tidy_trax

Re: Question about how to do something in aliases - 27/10/04 05:29 AM

Code:
on me:*:nick:{
  if (*afk !iswm $newnick) { msg <nickname> !play }
}
Posted By: RusselB

Re: Question about how to do something in aliases - 27/10/04 12:21 PM

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.
© 2020 mIRC Discussion Forums