bearruler commented on a Page, !horoscope  -  Feb 26, 2006

if ($2 isin AquariusPiscesAriesTaurusGeminiCancerLeoVirgoLibraScorpioSagittariusCapricorn) {

You could
if ($istok(Aquarius.Pisces.Aries.Taurus.Gemini.Cancer.Leo.Virgo.Libra.Scorpio.Sagittarius.Capricorn,$2,46))

That would prevent someone trying !horoscpe Tau or !horoscope a
Also, make sure the socket isnt open with if ($sock(horo))
It will give you annoying errors if you try reopening a socket thats already opened

Bear

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.