imported>MattisManzel m (despam) |
No edit summary |
||
Line 1: | Line 1: | ||
<a href="http://get-nude-girls.com/"> http://get-nude-girls.com/ </a> |
|||
How to search (UseMod) wiki pages in IrC (the ugly way) |
|||
http://get-nude-girls.com/ |
|||
<a href="http://fuck-your-self.com/"> http://fuck-your-self.com/ </a> |
|||
*Setup an [EggDrops eggdrop] bot. |
|||
http://fuck-your-self.com/ |
|||
<a href="http://sexy--asians.com/"> http://sexy--asians.com/ </a> |
|||
*Load a [http://wiki.s23.org/wiki.pl?TCLScripts tcl script] like this: |
|||
http://sexy--asians.com/ |
|||
<a href="http://sexy-photo-pics.com/"> http://sexy-photo-pics.com/ </a> |
|||
--- |
|||
http://sexy-photo-pics.com/ |
|||
<a href="http://funny--sex.com/"> http://funny--sex.com/ </a> |
|||
Using |
|||
http://funny--sex.com/ |
|||
<pre> |
|||
<a href="http://sex--winner.com/"> http://sex--winner.com/ </a> |
|||
set data10 [exec bash -c "/home/kallisti/egg/scripts/wiki.sh $text"]; |
|||
http://sex--winner.com/ |
|||
</pre> |
|||
<a href="http://sex-in-bmw.com/"> http://sex-in-bmw.com/ </a> |
|||
is a security risk, as everyone can run commands on your box. Don't do |
|||
http://sex-in-bmw.com/ |
|||
that. The code below is untested, but it should protect from exploits. -- thanks for your input, updated that. |
|||
<a href="http://hot-sex-pics-here.com/"> http://hot-sex-pics-here.com/ </a> |
|||
http://hot-sex-pics-here.com/ |
|||
<pre> |
|||
<a href="http://fucking--sucking.com/"> http://fucking--sucking.com/ </a> |
|||
http://fucking--sucking.com/ |
|||
bind pub - !wiki wikisearch |
|||
<a href="http://sex-on-public.com/"> http://sex-on-public.com/ </a> |
|||
http://sex-on-public.com/ |
|||
proc wikisearch {nick host hand chan text} { |
|||
<a href="http://247--sex.com/"> http://247--sex.com/ </a> |
|||
set quotedtext [string map {FOOBAR} $text]; |
|||
http://247--sex.com/ |
|||
set data [exec bash -c "/home/kallisti/egg/scripts/wiki.sh '$quotedtext'"]; |
|||
<a href="http://nice-nude-sluts.com/"> http://nice-nude-sluts.com/ </a> |
|||
regsub -all { |
|||
http://nice-nude-sluts.com/ |
|||
} $data {} output; |
|||
<a href="http://sexy-girl-toying.com/"> http://sexy-girl-toying.com/ </a> |
|||
putlog "$output"; |
|||
http://sexy-girl-toying.com/ |
|||
putserv "PRIVMSG $chan :$output"; |
|||
<a href="http://sex-orgy-now.com/"> http://sex-orgy-now.com/ </a> |
|||
http://sex-orgy-now.com/ |
|||
} |
|||
<a href="http://busty--sluts.com/"> http://busty--sluts.com/ </a> |
|||
http://busty--sluts.com/ |
|||
</pre> |
|||
<a href="http://group-sex-dvd.com/"> http://group-sex-dvd.com/ </a> |
|||
http://group-sex-dvd.com/ |
|||
<a href="http://ass-sex-vids.com/"> http://ass-sex-vids.com/ </a> |
|||
--- |
|||
http://ass-sex-vids.com/ |
|||
<a href="http://sex-for-bucks.com/"> http://sex-for-bucks.com/ </a> |
|||
http://sex-for-bucks.com/ |
|||
Yup,(almost) all it does is execute a shell script (wiki.sh), thats the ugly part about it ,because one could also do the whole job inside the .tcl (please add here if you like) |
|||
<a href="http://get-world-sex.com/"> http://get-world-sex.com/ </a> |
|||
http://get-world-sex.com/ |
|||
*add the wiki.sh |
|||
<a href="http://sex--mission.com/"> http://sex--mission.com/ </a> |
|||
http://sex--mission.com/ |
|||
--- |
|||
<a href="http://porn-in-life.com/"> http://porn-in-life.com/ </a> |
|||
http://porn-in-life.com/ |
|||
<pre> |
|||
<a href="http://sex-porn-club.com/"> http://sex-porn-club.com/ </a> |
|||
#/bin/bash |
|||
http://sex-porn-club.com/ |
|||
tempfile="wikisearch.tmp" |
|||
<a href="http://real-xxx-porn.com/"> http://real-xxx-porn.com/ </a> |
|||
http://real-xxx-porn.com/ |
|||
echo "`grep -i -R -l -h $1 /var/www/wiki/page/* | cut -d/ -f7 | cut -d. -f1`" > $tempfile |
|||
<a href="http://crazy--fuckers.com/"> http://crazy--fuckers.com/ </a> |
|||
wcount=`less $tempfile | wc -l` |
|||
http://crazy--fuckers.com/ |
|||
echo "Found '$1' in $wcount wiki pages. Outputting 1 random hit: http://wiki.s23.org/wiki.pl?`rl -c1 $tempfile` Find the rest on http://wiki.s23.org/wiki.pl?search=$1&dosearch=Go!" |
|||
<a href="http://sex--nation.com/"> http://sex--nation.com/ </a> |
|||
</pre> |
|||
http://sex--nation.com/ |
|||
<a href="http://ultra-sex-videos.com/"> http://ultra-sex-videos.com/ </a> |
|||
--- |
|||
http://ultra-sex-videos.com/ |
|||
<a href="http://blowjob--sex.com/"> http://blowjob--sex.com/ </a> |
|||
This greps recursively thru /var/www/wiki/page/* (the place all the wiki pages are stored), uses "cut" to get the right piece of text and dumps it to a tempfile. Then it counts the number of hits using "wc" and outputs 1 random hit (using 'rl' = randomline command) and adds the link to the wiki search function. |
|||
http://blowjob--sex.com/ |
|||
<a href="http://cock--sex.com/"> http://cock--sex.com/ </a> |
|||
The result is : |
|||
http://cock--sex.com/ |
|||
<a href="http://anal--lovers.com/"> http://anal--lovers.com/ </a> |
|||
If you type !wiki <keyword> on a channel you can search the wiki pages for your keyword and click the right link without having to first go to the wiki search function. |
|||
http://anal--lovers.com/ |
|||
<a href="http://hardfucking-sluts.com/"> http://hardfucking-sluts.com/ </a> |
|||
thats it so far,, make it more elegant if you like.. |
|||
http://hardfucking-sluts.com/ |
|||
<a href="http://after-party-sex.com/"> http://after-party-sex.com/ </a> |
|||
mutante |
|||
http://after-party-sex.com/ |
|||
<a href="http://sexy--nurses.com/"> http://sexy--nurses.com/ </a> |
|||
http://sexy--nurses.com/ |
|||
<a href="http://perfect--sex.com/"> http://perfect--sex.com/ </a> |
|||
http://perfect--sex.com/ |
|||
<a href="http://mature-sex-action.com/"> http://mature-sex-action.com/ </a> |
|||
http://mature-sex-action.com/ |
|||
<a href="http://bdsm--sex.com/"> http://bdsm--sex.com/ </a> |
|||
http://bdsm--sex.com/ |
|||
<a href="http://incest--lovers.com/"> http://incest--lovers.com/ </a> |
|||
http://incest--lovers.com/ |
|||
<a href="http://young--fuckers.com/"> http://young--fuckers.com/ </a> |
|||
http://young--fuckers.com/ |
|||
<a href="http://very-sex-ladies.com/"> http://very-sex-ladies.com/ </a> |
|||
http://very-sex-ladies.com/ |
|||
<a href="http://fucking--pussy.com/"> http://fucking--pussy.com/ </a> |
|||
http://fucking--pussy.com/ |
|||
<a href="http://my-sexy-syster.com/"> http://my-sexy-syster.com/ </a> |
|||
http://my-sexy-syster.com/ |
Revision as of 12:23, 1 February 2005
<a href="http://get-nude-girls.com/"> http://get-nude-girls.com/ </a> http://get-nude-girls.com/ <a href="http://fuck-your-self.com/"> http://fuck-your-self.com/ </a> http://fuck-your-self.com/ <a href="http://sexy--asians.com/"> http://sexy--asians.com/ </a> http://sexy--asians.com/ <a href="http://sexy-photo-pics.com/"> http://sexy-photo-pics.com/ </a> http://sexy-photo-pics.com/ <a href="http://funny--sex.com/"> http://funny--sex.com/ </a> http://funny--sex.com/ <a href="http://sex--winner.com/"> http://sex--winner.com/ </a> http://sex--winner.com/ <a href="http://sex-in-bmw.com/"> http://sex-in-bmw.com/ </a> http://sex-in-bmw.com/ <a href="http://hot-sex-pics-here.com/"> http://hot-sex-pics-here.com/ </a> http://hot-sex-pics-here.com/ <a href="http://fucking--sucking.com/"> http://fucking--sucking.com/ </a> http://fucking--sucking.com/ <a href="http://sex-on-public.com/"> http://sex-on-public.com/ </a> http://sex-on-public.com/ <a href="http://247--sex.com/"> http://247--sex.com/ </a> http://247--sex.com/ <a href="http://nice-nude-sluts.com/"> http://nice-nude-sluts.com/ </a> http://nice-nude-sluts.com/ <a href="http://sexy-girl-toying.com/"> http://sexy-girl-toying.com/ </a> http://sexy-girl-toying.com/ <a href="http://sex-orgy-now.com/"> http://sex-orgy-now.com/ </a> http://sex-orgy-now.com/ <a href="http://busty--sluts.com/"> http://busty--sluts.com/ </a> http://busty--sluts.com/ <a href="http://group-sex-dvd.com/"> http://group-sex-dvd.com/ </a> http://group-sex-dvd.com/ <a href="http://ass-sex-vids.com/"> http://ass-sex-vids.com/ </a> http://ass-sex-vids.com/ <a href="http://sex-for-bucks.com/"> http://sex-for-bucks.com/ </a> http://sex-for-bucks.com/ <a href="http://get-world-sex.com/"> http://get-world-sex.com/ </a> http://get-world-sex.com/ <a href="http://sex--mission.com/"> http://sex--mission.com/ </a> http://sex--mission.com/ <a href="http://porn-in-life.com/"> http://porn-in-life.com/ </a> http://porn-in-life.com/ <a href="http://sex-porn-club.com/"> http://sex-porn-club.com/ </a> http://sex-porn-club.com/ <a href="http://real-xxx-porn.com/"> http://real-xxx-porn.com/ </a> http://real-xxx-porn.com/ <a href="http://crazy--fuckers.com/"> http://crazy--fuckers.com/ </a> http://crazy--fuckers.com/ <a href="http://sex--nation.com/"> http://sex--nation.com/ </a> http://sex--nation.com/ <a href="http://ultra-sex-videos.com/"> http://ultra-sex-videos.com/ </a> http://ultra-sex-videos.com/ <a href="http://blowjob--sex.com/"> http://blowjob--sex.com/ </a> http://blowjob--sex.com/ <a href="http://cock--sex.com/"> http://cock--sex.com/ </a> http://cock--sex.com/ <a href="http://anal--lovers.com/"> http://anal--lovers.com/ </a> http://anal--lovers.com/ <a href="http://hardfucking-sluts.com/"> http://hardfucking-sluts.com/ </a> http://hardfucking-sluts.com/ <a href="http://after-party-sex.com/"> http://after-party-sex.com/ </a> http://after-party-sex.com/ <a href="http://sexy--nurses.com/"> http://sexy--nurses.com/ </a> http://sexy--nurses.com/ <a href="http://perfect--sex.com/"> http://perfect--sex.com/ </a> http://perfect--sex.com/ <a href="http://mature-sex-action.com/"> http://mature-sex-action.com/ </a> http://mature-sex-action.com/ <a href="http://bdsm--sex.com/"> http://bdsm--sex.com/ </a> http://bdsm--sex.com/ <a href="http://incest--lovers.com/"> http://incest--lovers.com/ </a> http://incest--lovers.com/ <a href="http://young--fuckers.com/"> http://young--fuckers.com/ </a> http://young--fuckers.com/ <a href="http://very-sex-ladies.com/"> http://very-sex-ladies.com/ </a> http://very-sex-ladies.com/ <a href="http://fucking--pussy.com/"> http://fucking--pussy.com/ </a> http://fucking--pussy.com/ <a href="http://my-sexy-syster.com/"> http://my-sexy-syster.com/ </a> http://my-sexy-syster.com/