Author Topic: Test reply script  (Read 3446 times)

DougsTech.com

  • Newbie
  • *
  • Posts: 6
Test reply script
« on: May 27, 2007, 10:14:06 AM »
Here is the script I have.

Code: [Select]
on *:TEXT:!test:#:/notice $nick Your test is successful.
When someone sends a message with "!test" I want the test message echoed to the whole room, not just a PM to  the user.
Thanks!

yves_982

  • Newbie
  • *
  • Posts: 6
Re: Test reply script
« Reply #1 on: May 27, 2007, 10:18:47 AM »
this would be

Code: [Select]
on *:text:!test:#:/msg $nick Your test is successful

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Test reply script
« Reply #2 on: May 27, 2007, 10:31:06 AM »
Not quite, that will still send a message to the user. To message to the channel, msg to $chan.

Code: [Select]
on *:TEXT:!test:#:/msg $chan Your test is successful
The IceChat God

DougsTech.com

  • Newbie
  • *
  • Posts: 6
Re: Test reply script
« Reply #3 on: May 27, 2007, 10:45:54 AM »
Thanks, the last one worked.