Tiny half-evil REBOL script
October 31st, 2007I was waiting for someone on some forum today. Eagerly waiting so I kept reloading that page scrolling to the bottom, scanning for his name and it consumed my time and energy again and again.. So a REBOL one-liner came to my help…
>> ;open rebol shell and type this in, press enter
>> online?: func [name][ either find find read http://forums.hidden.com/ "Currently Active Users" name ["yes"]["no"]]
>> ;you defined a function that loads a page over http,
>> ;finds "Currently Active Users" because that name could appear above in the list of last topics
>> ;than from that point tries to find the name and prints yes or no accordingly
Then instead of reloading and scrolling every half of minute press up arrow and enter. You type it the first time
>> online? "JackieChan"
== "yes"
Aha .. I got you now! You you … *****
