Author Topic: change mirc script for ghost protect  (Read 2878 times)

mina88

  • Newbie
  • *
  • Posts: 2
change mirc script for ghost protect
« 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?

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: change mirc script for ghost protect
« Reply #1 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.
The IceChat God