This snippet was made because some people wanted to have a unique way to go into a room.
The bot has to be in the room in order to invite the person
!Heaven Activates it.
Have fun.
Feel free to change the room name and chan msg to w/e u like
on *:text:!Heaven:#:{
.ignore -cu5 $nick 2
.msg $chan You have earned a way to Heaven ;D
.invite $nick #Heaven
}
That's beside the point. You ought to learn the proper way in coding with a thorough consideration, which the snippet lacks a trigger control to safeguard the client running the code being flooded out..
on *:text:!Heaven:#:{
.ignore -cu5 $nick 2
.msg $chan You have earned a way to Heaven ;D
.invite $nick #Heaven
}
One of these days you're gonna find yourself bumping into errors if you place the brackets the way you've done.