Author Topic: cant run code?  (Read 2945 times)

Swan

  • Newbie
  • *
  • Posts: 4
cant run code?
« on: September 28, 2008, 03:54:11 PM »
Ok so I opened the script editor via ctl+S

on * : TEXT: !help: #suck-o: {
/say $chan Hello $nick, what may I help you with today?

}



Whenever I try and save that....keeps saying I have a syntax error. I also copied the default example provided same problem. I used the built in on TEXT command to give me the code....no joy. What am i doing wrong?

Windows_95

  • Newbie
  • *
  • Posts: 31
  • Who's cool and has two thumbs? This guy!
Re: cant run code?
« Reply #1 on: September 28, 2008, 04:19:38 PM »
Code: [Select]
on *:TEXT:!help:#suck-o: {
/msg $chan Hello $nick, what may I help you with today?
}

u just had spaces where they shouldn't be
also u should use /msg $chan
I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use. Galileo Galilei

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: cant run code?
« Reply #2 on: September 28, 2008, 04:26:16 PM »
Code: [Select]
on *:TEXT:!help:#suck-o:/msg $chan Hello $nick, what may I help you with today?
The IceChat God