Public feed #527770

Mine

public text v1 · immutable
Raw Edit
·published 2007-06-01 12:30 UTC
rendered paste body
compare { if (& !isin $2-) { notice $nick 6You must compare the two items using a7 & { halt } }
  { if ($3 == &) { 
      /set %items $2
      /set %items2 $4-
    }
    { if ($4 == &) {
        /set %items $2-3
        /set %items2 $5-
      }
      { if ($5 == &) { 
          /set %items $2-5
          /set %items2 $6-
        }
        { if ($6 == &) { 
            /set %items $2-5
            /set %items2 $7-
          }
          { if ($7 == &) { 
              /set %items $2-6
              /set %items2 $8-
            }
            { if ($read(attbonus.txt,w,$+(*,%items,*))) { /set %attack1 $replace($ifmatch,|,7|6,||, ) | if ($read(defbonus.txt,w,$+(*,%items,*))) /set %defence1 $replace($ifmatch,|, 7|6,||, ) | if ($read(otherbonus.txt,w,$+(*,%items,*))) /set %other1 $replace($ifmatch,|, 7|6,||, )
                if ($read(attbonus.txt,w,$+(*,%items,*))) { /set %attack2 $replace($ifmatch,|,7|6,||, ) | if ($read(defbonus.txt,w,$+(*,%items,*))) /set %defence2 $replace($ifmatch,|, 7|6,||, ) | if ($read(otherbonus.txt,w,$+(*,%items,*))) /set %other2 $replace($ifmatch,|, 7|6,||, )