Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias -l txt { return C:\Users\hifin\Desktop\mibbitnames\badnick.txt }
- alias -l mychan { return #testings }
- ON *:TEXT:!add *:$($mychan): {
- write $qt($txt) $2
- msg $chan 4ADD Watched nick - $2
- }
- ON *:TEXT:!del *:$($mychan): {
- write -d $qt($txt) $2
- msg $chan 3DELETED Watched nick - $2
- }
- ON *:TEXT:!viewlist:$($mychan): {
- var %t = $lines($txt)
- if (!$file($txt)) { msg $chan The file is empty! | return }
- msg $chan 6LIST Incoming PM
- msg $nick Start of file.. - (Lines: %t $+ )
- var %i = 1
- while (%i <= %t) {
- var %r = $read($txt,n,%i)
- if (%r) { msg $nick %r }
- inc %i
- }
- msg $nick End of file. - (Size: $bytes($file($txt).size).suf $+ )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement