Guestbook

By Trav on May 31, 2007

Ok this is a pretty good guestbook which is extremely simple you can write, read, and type !guestbook for help

This is how it works :D

Type !guestbook and it'll tell you, using my timer from scratch :D which luckily worked ;p , to type

!addgb {yourtexthere}
To add a guestbook message and
!readgb
To read a random guestbook message!

It's as simple as that so again the commands are
!guestbook
Get instructions
!addgb {yourtexthere}
Add a guestbook entry
!readgb
Read a random entry!

on *:text:!guestbook:#: {
  .timer 1 1 notice $nick 12Guestbook-4Type 12!Addgb (yourtexthere)4 to write a message in the guestbook!
  .timer 1 2 notice $nick 4Type 12!Readgb4 to read a random message!
  .timer 1 3 notice $nick 4For help type 12/msg $me
}

on *:text:!addgb*:#: {
  write guestbook.txt $2- < Added by $nick > === Random guestbook message
}

on *:text:!readgb*:#: {
  msg $chan $read(guestbook.txt) 
}

Comments

Sign in to comment.
napa182   -  May 10, 2008

the way it\'s set up it will read random messages

 Respond  
Mitchell   -  May 10, 2008

any way that will show all guest book messages?

 Respond  
guest598594   -  Sep 17, 2007
on *:text:*:#:{
  if ($1 == !guestbook) {
    .timer 1 1 notice $nick 12Guestbook-4Type 12!Addgb (yourtexthere)4 to write a message in the guestbook!
    .timer 1 2 notice $nick 4Type 12!Readgb4 to read a random message!
  }
  if ($1 == !addgb && $2) write guestbook.txt $2- < Added by $nick > === Random guestbook message
  if ($1 == !readgb) msg $chan $read(guestbook.txt)  
}
 Respond  
ermansanidhya   -  Sep 17, 2007

very simple i like it Lol:)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.