Author Topic: Notes Script  (Read 2680 times)

Socom

  • Guest
Notes Script
« on: May 04, 2009, 08:32:52 AM »
I did the notes script in the tutorial...

I can add notes, delete notes..

When someone comes in the room, it shows me the note, but does not print it to the channel or send them a message.

I dont know why, I do not receive any errors.

By the way.. really like the script.. tho I wish you could right click on someone and add them to your notify list.

Morio

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 256
Re: Notes Script
« Reply #1 on: May 04, 2009, 12:02:55 PM »
If you copied the message directly the problem is this line
Code: [Select]
if len(note) > 0 then SendCommand "/print " & channel & " [NOTES:" & nickname & "] " & note, ServerNumber '2
to send the message to the channel change it to:
Code: [Select]
if len(note) > 0 then SendCommand "/msg " & channel & " [NOTES:" & nickname & "] " & note, ServerNumber '2
"I don't know what World War 3 will be fought with, but I know World War 4 with be fought with sticks and stones." - Albert Einstein

Socom

  • Guest
Re: Notes Script
« Reply #2 on: May 04, 2009, 01:03:32 PM »
thanks that worked.