Ask The Trades
https://www.askthetrades.co.uk/cgi-bin/yabb/YaBB.pl
Public Forum >> The Forum >> Is it a bid odd that ...
https://www.askthetrades.co.uk/cgi-bin/yabb/YaBB.pl?num=1180939935

Message started by RabbitRabbit on Jun 4th, 2007, 7:52am

Title: Is it a bid odd that ...
Post by RabbitRabbit on Jun 4th, 2007, 7:52am

...you can send yourself a PM on this forum.

Not that I mind, the best, witiest, cleverest, smartest, superbest, brilliantest PM's I have ever had were sent to me by me  :-D :-D

Title: Re: Is it a bid odd that ...
Post by Lectrician on Jun 4th, 2007, 8:05am

Well, when your bored.....

It could very easily be ommited, with a


Code:
if ($username eq $recipient){stop the prick sending himself mail};


type of thing ;D

Title: Re: Is it a bid odd that ...
Post by RabbitRabbit on Jun 4th, 2007, 8:19am

unless..

if ($username eq $recipient and $username eq 'rabbitrabbit') then
  sendmessage
else
  $printmessage  :P to ($username eq Lectrician)
endif

Standby for the messages Lec  :-D

Title: Re: Is it a bid odd that ...
Post by Lectrician on Jun 4th, 2007, 4:42pm

Just for you RR :


Code:
 if ($FORM{'to'} eq $username){
       &LoadUser($username);
           $display_name = ${$uid.$username}{'realname'};
       $hold_message = $message;
       $ammend_message = qq~Not sure why you are sending a message to yourself $display_name, but here it is below!<br /><br />~;
           $ammend_message .= $hold_message;
           $message = $ammend_message;
     }



;D

Title: Re: Is it a bid odd that ...
Post by RabbitRabbit on Jun 4th, 2007, 6:31pm

lol Very good Lec  ;D

Title: Re: Is it a bid odd that ...
Post by Lectrician on Sep 2nd, 2007, 2:12pm

I forgot I added this code to the forum - I was testing a PM just now, and was surprised when I read it to find that text at the top......and then it dawned on me!

Ask The Trades » Powered by YaBB 2.3!
YaBB © 2000-2008. All Rights Reserved.