mIRC Home    About    Download    Register    News    Help

Print Thread
#121754 01/06/05 11:47 AM
V
Valo
Valo
V
well i wanted to make an auto msg for all users who are not ops or voice i know that it is something with command on join but i cant figure out can u help me guys?

#121755 01/06/05 12:45 PM
D
defiant
defiant
D
Right, dunno if this is against forum policies, however here comes

Code:
on *:JOIN:#: { .timer 1 3 msg.check $nick # }

alias msg.check {
  if !$2 { halt}
  if ($1 isreg $2) { msg $1 <MSG HERE> }
  else { halt }
}


What this does:
Person A joins channel, after 3 seconds the alias is called to see if Person A is a normal user on that channel, if so.. it will msg that person.

The 3s delay is so that during that time, Person A gets opped / voiced in that channel by bots or whatever.

#121756 01/06/05 01:17 PM
V
Valo
Valo
V
thx but theres a problem this script send only to reg users but i need this script for web chat users well u understand it means that lots of them havent registered their nick

#121757 01/06/05 01:29 PM
Joined: Jun 2003
Posts: 4,670
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 4,670
isreg means "is a regular", regular in that they have no status (op/voice/halfop/whatever) on the channel. This includes IRC Operators that are not opped/voiced.

It has nothing to do with any form of registration, which has nothing to do with mIRC.

Regards,


Link Copied to Clipboard