Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: warn for !/m(e|sg) in CB?

by tcf22 (Priest)
on Aug 20, 2003 at 14:36 UTC ( #285207=note: print w/replies, xml ) Need Help??


in reply to warn for !/m(e|sg) in CB?

I hate when it happens to me, but love when it happens to someone else. So how about something like this
if(($line =~ /^\s*\/m(\w*)/) && ($1 !~ /^e|sg/) && ($username eq 'tcf22')){ print "Don't know how to '/m$1', maybe you meant /me or /msg?\n"; }else{ &post_message; }

Ok, now my serious response.

I agree with liz. Perhaps we could make it a user option that could be turned on/off.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://285207]
help
Chatterbox?
[talexb]: Does the mis-spelled title "SSL Apgrade failed" bug anyone else? Wish the authour would fix it. This is the node I'm talking about.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-07-25 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (376 votes). Check out past polls.