Author Topic: Add reaction  (Read 112 times)

Glow

  • Trial Moderator
  • Junior
  • ***
  • Posts: 69
  • Reputation +3/-4
  • Gimme -1! Newbie mIRC scripter
  • Location: Netherlands
    • View Profile
Add reaction
« on: February 08, 2011, 06:33:26 pm »
Code: [Select]
on 9999:TEXT:!addreact*:#: {
  if ($2 == $null || $3 == $null) { notice $nick Correct Syntax is: !reaction-add <triger/word> <reaction>
  }
  else {
    .write reaction.mrc on *:TEXT: $+ $2 $+ :#: { $3- }
    .notice $nick Reaction added successfully
    .load -rs reaction.mrc
  }
}
on 9999:TEXT:!delreact*:#: {
  if ($2 == $null) { notice $nick Correct Syntax is: !reaction-add <triger/word> <reaction>
  }
  else {
    .echo $read(reaction.mrc,w,* $+ $2 $+ *)
    .write -dl $+ $readn reaction.mrc
    .load -rs reaction.mrc
    .notice $nick Reaction removed successfully
  }
}

9999 is optional if you use 9999 in user tab.

The file gets created automaticly ;)

Share on Bluesky Share on Facebook


Jane

  • Management
  • Full
  • *******
  • Posts: 130
  • Reputation +1/-0
  • mIRC Scripters
    • View Profile
Re: Add reaction
« Reply #1 on: February 08, 2011, 06:54:11 pm »
So let me Clear it for new Pie's

1-Add the script above in your Remote.
2-go To your users tab and type 9999:YouNickHere
3-Press ok Then done!


Awesome script :)