This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Mrc to TCL !!! (CTCP VERSIÓN)

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
O
ORATEGOD
Voice
Posts: 39
Joined: Mon Jun 08, 2020 5:50 pm

Mrc to TCL !!! (CTCP VERSIÓN)

Post by ORATEGOD »

When a user who occupies a mIRC Client join #mIRC-Chat it assigns him the mode +h

On @*:join:#mIRC-Chat:{
if $hget(ctcp_version,0).item > 10 { return }
.ctcp $nick version
hadd -mu20 ctcp_version $nick 1
}

On !*:ctcpreply:version *:{
if $hget(ctcp_version,$nick) {
if mIRC isin $2- && $nick isreg #chan {
mode #mIRC-Chat +h $nick
}
hdel ctcp_version $nick
halt
}
}


I appreciate your help ... have a great day
User avatar
CrazyCat
Revered One
Posts: 1236
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

I already made you a script based on version: forum.egghelp.org/viewtopic.php?p=110098
You can use it as example, or just adapt it to add what you need
Post Reply