Public paste
Undefined
By: f | Date: Dec 21 2006 09:51 | Format: None | Expires: never | Size: 719 B | Hits: 650

  1. on :TEXT:news *:?:{
  2.   if ($readini(database/userlist.ini,$3,$address($nick,2)) == owner) || ($readini(database/globals.ini,global,$address($nick,2)) == owner) || ($readini(database/userlist.ini,$3,$address($nick,2)) == master) {
  3.     if ($2 == add) {
  4.        write news.txt : $4-
  5.          notice $nick added $4- as news for channel $3
  6.     }
  7.   }
  8. }
  9.  
  10. on *:TEXT:newslist *:?:{
  11.   if ($readini(database/userlist.ini,$2,$address($nick,2)) == owner) || ($readini(database/globals.ini,global,$address($nick,2)) == owner) || ($readini(database/userlist.ini,$2,$address($nick,2)) == master) {
  12.    var %i = 1 | while ($read(quotes.txt,%i)) {
  13.     notice $nick Quote $chr(35) $+ %i $+ . $ifmatch | inc %i
  14.    }
  15.  }
  16. }
Latest pastes
16 hours ago
16 hours ago
2 days ago
2 days ago
3 days ago