Originally Posted By: genius_at_work
Put all the codes into the same file, and then click the [{}] button in the top right of the code window. You will see that your brackets don't match up properly. Correct the brackets, and your code should work.

-genius_at_work


This is how i have my code now:

Code:
on 1:text:*Be Right Back*:#: {
  if ($nick isop $chan) { bt $nick 3Please ensure that if you are going Away From Keyboard to downgrade yourself from Op Status and Op up another Op.  If you already have your status as a none Op there is nothing to do. :)
  }
on 1:text:*hi room*:#: {
  bt $chan 3 Welcome to $chan $nick .  Please vist this post to View Welcome Message.  4,1http://www.simonsforums.org/forum/viewtopic.php?p=432#432  3This will explain Site policy.
  }
on 1:text:*register nick*:#: {
  bt $chan 3 To Register you nick first you choose a nick by typing /nick Worzel then you register that nick by typing /nickserv register *a password of your choice* *your email*
  bt $chan 3 But you must not enter the * symbols, for example you would type /nickserv register 123456 worzel@gummidge.com
  bt $chan 3 If you already have a nick registered all you need type is /nickserv register *a password of your choice*
  bt $chan 3 But you must not enter the * symbols, for example you would type /nickserv register 123456
  bt $chan 3 Then to identify yourself you type /nickserv identify 123456
  bt $chan 3 123456 being YOUR password.
  }
on 1:text:*room rules*:#: {
  bt $chan 3Please refer to the room rules @ 3( 4,1http://simonsforums.org/forum/viewtopic.php?t=7 3)  Failure to Observe these Rules will result in a no warning BAN!!  Sorry for this Stance but it is for the pleasurable use of this service for it's regulars.   Thank you.
  }
on 1:text:*welcome to the room*:#: {
  bt $chan 3Please register on the $chan 's web site for latest news and bloggs and forums and help and advice. The address is 4http://www.simonsforums.org 3It is free to register, all we ask is you use it regular and spread the word to allow the room to grow from strength to strength. :)  Thank You.
  }
on 1:text:*please do not pvt me*:#: {
  bt $chan 3Please DO NOT pvt Users of $chan 's unless you have prior consent from that user.  Thank You.
  }
on 3:action:*see website for details*:#: {
  inc %websitedetails
  if (%websitedetails == 10) {
  bt $chan 3The Website is now broadcasting live media.  If you are a member of #Simons-Forums then please go to4 http://www.simonsforums.org/forum/viewtopic.php?p=709#7093 and view how to listen or Visit the home page if Registered.
  unset %websitedetails
  }
on *:Text:*funcommands:#: {
  if $1 == %c $+ funcommands {
  msg $chan !beer, !pepsi, !pizza, !whiskey, !guiness, !coke, !coffee, !wank, !iq, !owner, !tickle, !smoke, !playboy, !lager
  msg $chan !vodka, !baileys, !tea, !shandy, !choccy, !olive, !smack, !hump, !lamer, !spank, !phones, !closet, !settlers
  msg $chan !biccies, !looks, !chocomilk, !stella, !beefburger, !salute, !kebab, !galaxy, !slap, !donuts, !geisha, !gin, !soda
  }
}


and when i press the {} symbol i get the message:

" There seems to be a bracket mis-match somewhere around line 24 "

Which is:

Code:
{


Which is at the end of please do not pvt me.

Any help would be appreciated.

Thanks in advance.