goi-litE`1b
Posted by conelli
Sunday, August 27, 2006
Description:

on *:text:.bot *:#channel: {
if ($2- == is jimmy cal-o) {
msg $chan omg no, jimmy r teh sux0rz
}
else {
$read(answers.txt)
}
}
Subject line
Posted by conelli
Sunday, August 27, 2006 07:09am PDT
To add more questions, copy

if ($2- == is jimmy cal-o) {
msg $chan omg no, jimmy r teh sux0rz
}

to a new line right below it (below the }) and just change "is jimmy cal-o" to your new question and "msg $chan omg no, jimmy r teh sux0rz" to new response.
Why
Posted by Log1x
Monday, August 28, 2006 10:41am PDT
? :(
8ball script?
Posted by Technique
Tuesday, August 29, 2006 07:33pm PDT
I dont know if its a ghetto 8ball script or what. but here is 1 i just made. If its 1 of your first scripts then :).

on *:TEXT:*:#:{
  if ($1 == .8ball) {
    if (!$2) {
      notice $nick Syntax: $1 [QUESTION]
      halt
    }
    else {
      msg $chan $nick $+ : $read(answers.txt)
    }
  }
  if ($1 == .add) {
    if (!$2) {
      notice $nick Syntax: $1 [REPLY]
      halt
    }
    else {
      write answers.txt $2-
      notice $nick Added.
    }
  }
}
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world