Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. on *:text:*:#:{
  2. if ($1 = .title) {
  3. var %file $qt($+($mircdir,title.txt))
  4. var %lines $lines(%file)
  5. if ($2 <= %lines) {
  6. msg $chan title: $2 - $read(%file,nt,$2)
  7. }
  8. else { msg $chan title out bounds. titles: %lines }
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement