Menu

#1 Cleaning up code and some new features

open
Rain Man
None
5
2003-07-17
2003-07-17
Anonymous
No

Use single quotes instead of double quotes (not with \n)

----

Use a switch (strtolower($cmd)) in torc.class.php,
instead of the if's and preg_matches

----

You can remove some {} , like:
if (a)
b();
else
c();

----

Add /quote as alias for /raw

----

Add a command /alias

----

If you want to say something, beginning with an '/' ,
do this: '/ /foo bar' or '/say /foo bar'

----

Michiel at michielv dot at dot cx

Discussion

  • Rain Man

    Rain Man - 2003-07-17
    • assigned_to: nobody --> rainman-dw
     
  • Rain Man

    Rain Man - 2003-07-17

    Logged In: YES
    user_id=823939

    Single quotes will be used from now on, existing will be changed soon.

    Switch statement put in.

    Some {} removed, I will remove more if I see them.

    Alias added.

    /alias will be added in future

    Second option will be added.

     

Log in to post a comment.