mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2004
Posts: 291
W
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
}
}

Joined: Dec 2002
Posts: 1,922
O
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
}

Joined: Sep 2003
Posts: 261
S
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)
Joined: Jun 2004
Posts: 291
W
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
thanks alot for that man that works perfect cool
thankyou


Link Copied to Clipboard