This may seem like a awful way to link block, but
on *:text:*.com*:#:{
if ($read(textfile.txt,nw,$nick)) return
Msg # .timeout $nick 1
Msg # Stop posting links!
}
on *:text:*www.*:#:{
if ($read(textfile.txt,nw,$nick)) return
Msg # .timeout $nick 1
Msg # Stop posting links!
}
Also other on TEXT commands like http, https, info, uk, etc.
EDIT: the other script gives error LINKPOST unknown command