IceChat Forums

IceChat 7 => IceChat 7 Scripts => Topic started by: TSWR on August 27, 2012, 09:32:44 AM

Title: Request for a script conversion
Post by: TSWR on August 27, 2012, 09:32:44 AM
Hello, I know  since im new to the fourms no one will probably help bit its worth a try. Basically I have an Mirc script and am asking for someone to convert it to IceChat  format. It would be very much appreciated If you help me out.

Code: [Select]
alias resolve {
  msg $active Attempting to get the real IP of $1- $+ ...
  dns direct-connect. $+ $1-
  dns cpanel. $+ $1-   
  dns direct. $+ $1-
  dns ftp. $+ $1-
  dns mail. $+ $1-
}

on *:DNS:{
  var %n = $dns(0)
  while (%n > 0) {
    msg $active $dns(%n).ip
    dec %n
  }
}
Title: Re: Request for a script conversion
Post by: Snerf on August 27, 2012, 04:34:23 PM
Sorry, but IceChat 7 does not have any means to resolve IP addresses, there is no ON DNS script event.
Title: Re: Request for a script conversion
Post by: TSWR on August 28, 2012, 03:33:49 PM
Ah ok thanks
Title: Re: Request for a script conversion
Post by: Snerf on August 28, 2012, 05:04:03 PM
Yes, it could be done in IceChat 9 with a plugin though.