Id: 2764; Nick: Jqson; Timestamp: 2007-12-15 10:45:12; Pasted as: mIRC
Description: dictionary
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
on *:text:?? *:#:{ 
  if ($readini(stamper.ini, setup, $address($nick, 0)) == 5) {
    ;dictionary
    if ($1 != ??) return 
    if ($2 iswm add) && ($3-4) { 
      while (!$readini(bot.ini,words,$3)) { 
        writeini -n bot.ini words $3 $4-
        timer 1 0 notice $nick definition for $3 has been saved!
        timer 1 1 notice $nick $3 $+ : $4-
        halt
      }
      if ($readini(bot.ini,words,$3)) { 
        timer 1 0 notice $nick definition for $+(',$3,') is already known
        timer 1 1 notice $nick if this is incorrect, use !delword $3 and !addword $3 <definition>
        halt 
      }
    }
    if ($1 != ??) return
    if ($2 iswm del) && ($3) { 
      while ($readini(bot.ini,words,$3)) { 
        remini bot.ini words $3
        notice $nick definition for $3 has been deleted.
        halt
      }
      if (!$readini(bot.ini,words,$3)) { 
        timer 1 0 notice $nick failed to delete $+(',$3,') from the dictionary
        timer 1 1 notice $nick $3 wasn't found
        halt
      }
    }
    if ($1 != ??) return
    if ($2 iswm edit) && ($3-4) { 
      while ($readini(bot.ini,words,$3)) { 
        writeini -n bot.ini words $3 $4-
        timer 1 0 notice $nick definition for $3 has been changed.
        timer 1 1 notice $nick
        halt
      }
      if (!$readini(bot.ini,words,$3)) { 
        notice $nick Definition $+(',$3,') isn't in the dictionary!
        halt
      }
    } 
    if ($1 != ??) return
    if ($2 iswm viewdictionary) { 
      run bot.ini
    } 
    if ($2) { 
      while ($readini(bot.ini,words,$2)) { 
        notice $nick ( $+ $2 $+ ) $readini(bot.ini,words,$2)
        halt
      }
      if (!$readini(bot.ini,words,$2)) { 
        notice $nick Definition $+(',$2,') isn't in the dictionary!
        halt 
      }
    } 
  }
}
Options: New, Download,
, mIRC Parser;
Copyright © 2006 by Zyberdog - Some rights reserved. (Browse/Disclaimer/Stats/About)
Nothing to see here.