IceChat Forums

IceChat 7 => IceChat 7 Scripts => Topic started by: mina88 on October 30, 2010, 04:06:59 PM

Title: change mirc script for ghost protect
Post by: mina88 on October 30, 2010, 04:06:59 PM
hello,

i'm new to icechat. i already have experience in mirc scripting but i don't know how to write scripts for icechat. i found a script on the internet:

on *:notify: { if ($nick == clarknova) && ($nick != $me) { clarknova } }
on *:notice:*killed*:*: { if ($nick == NickServ) { nick clarknova } }

alias clarknova { if ($me != clarknova) {
    if ($network == SomeNet) { .msg nickserv ghost clarknova YOURPASSWORD }
    elseif ($network == DALnet) { .msg nickserv@services.dal.net ghost clarknova YOURPASSWORD }
    elseif ($network == LiQuidChat) { .msg nickserv ghost clarknova YOURPASSWORD }
  }
}

this script has following funktion: if someone uses the ghost command on your nick, this script kills your ghost and reconnects you again

can someone help change that script for icechat use?
Title: Re: change mirc script for ghost protect
Post by: Snerf on October 31, 2010, 12:47:49 AM
Those scripts wont work in IceChat, there is no support for alias with { } if statements.
There is no on notify.