SHOW:
|
|
- or go back to the newest paste.
| 1 | #http://ylilauta.fi/fit/res/64216.html#i64646 -> http://ylilauta.fi/fit/res/64216.html#64646 | |
| 2 | putlog "#iXXXXXX --> #XXXXXX" | |
| 3 | ||
| 4 | bind pubm -|- * phraseListProcPub | |
| 5 | ||
| 6 | proc phraseListProcPub {nick host hand channel text} {
| |
| 7 | - | if {[string match -nocase "*ylilauta.fi/" $text] && [string match -nocase "*#i*" $text] } {
|
| 7 | + | if {[string match -nocase "*ylilauta.fi/" $text] && [string match -nocase "*#i*" $text] } {
|
| 8 | - | regsub "#i" $text "" $newurl |
| 8 | + | regsub "#i" $text "" $newurl |
| 9 | - | putserv "PRIVMSG $channel : $newurl" |
| 9 | + | putserv "PRIVMSG $channel : $newurl" |
| 10 | } | |
| 11 | return 0; | |
| 12 | } |