mIRC Home    About    Download    Register    News    Help

Print Thread
ctcp version msg $chan script help please?? #88752 01/07/04 02:10 PM
Joined: Jun 2004
Posts: 291
W
whatsthedillio Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
i want this script to on text !version <nick>
ctcp version them and then msg the ctcp reply into the channel this is how i tryed to do it can someone please help me out so that this script manages to work thankyou

On @*:TEXT:!version:{
if $hget(ctcp_version,0).item > 10 { return }
.ctcp $2 version
hadd -mu20 ctcp_version $2 1
}

On !*:ctcpreply:version *:{
if $hget(ctcp_version,$2) {
//msg $chan $2-
}
hdel ctcp_version $2
halt
}
}

Re: ctcp version msg $chan script help please?? #88753 01/07/04 02:40 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
On @*:text:!version:#:{
  • if $hget(ctcp_version,0).item > 5 { return }
    .ctcp $nick version
    hadd -mu20 ctcp_version $nick #
}

On !*:ctcpreply:version *:{
  • msg $$hget(ctcp_version,$nick) $2-
    hdel ctcp_version $nick
    halt
}

Re: ctcp version msg $chan script help please?? #88754 01/07/04 03:29 PM
Joined: Sep 2003
Posts: 261
S
Scorpwanna Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Eh, I just found out help is forbidden here, so you have to take it to mircscripts.org.


We don't just write the scripts, we put them to the test! (ScriptBusters)
Re: ctcp version msg $chan script help please?? #88755 01/07/04 06:16 PM
Joined: Jun 2004
Posts: 291
W
whatsthedillio Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
thanks alot for that man that works perfect cool
thankyou