Author Topic: mirc script conversion help  (Read 3403 times)

diggittydoo

  • Guest
mirc script conversion help
« on: June 15, 2008, 02:12:42 PM »
Hi, a friend of mine wrote me a script in mirc and I've tried using it on icechat but I get [14:11]  ->> ERROR:modScriptFunctions:pmscript.ice:Function:LoadScriptFile: Error Number:1002 : Syntax error
and
[14:11] -- Script Engine Error:1002:Syntax error:Line #1 --  on *:ACTION:*:*:{

Here's the script

on *:ACTION:*:*:{
if (slap isin $1-) && ($me isin $1-) {
/msg $chan That was't a wise idea to slap me, $nick $+ ... | /kill $nick Revengeslap by $me $+ ! }
}

If anyone could help me adapt it to icechat I'd be very grateful :)

And yes, it's an ircop script.  I am fully aware of that :P

DarkStar

  • Full Member
  • ***
  • Posts: 135
  • Scripts for Praise
    • CorpseCorp
Re: mirc script conversion help
« Reply #1 on: June 15, 2008, 04:23:13 PM »
First I just want to say... a kill for a slap? Harsh...

Code: [Select]
Sub ONACTION(Message,Channel,Nickname,Host,ServerNumber)
if instr(lcase(message),lcase(MyNickName)) and instr(lcase(message),"slap") then
  SendCommand "/msg " & channel & " That wasn't a wie idea to slap me, " & Nickname,ServerNumber
  SendCommand "/kill " & nickname & " Revengeslap by " & MyNickName,ServerNumber
end if
End Sub

Save this as a .Ice script (Icechat 5 style)
This message brought to you by the Wonderful Wizard of Oz.