Bahamut

Bahamut

Joined
Jun 05, 2008

Activity Stream

Bahamut commented on a Page, $iscaps - % of capital or lowercase   -  Jun 08, 2008

Eh, it works at the very least, but the coding is not really stunning. Perhaps only declare variables once? Also, there are some letters you are missing support for (A-ZŠŒŽÀ-ÖØ-ÞŸ).

Now besides the coding: I find that adding a % to the end of the returned value is completely useless. What if I wanted to use this for a caps kicker? I\'d have to use $remove or $left or so.

But in any case, this is a nice example of regex and how it can be used. Perhaps add a .count property to return the total matches (basically without a percentage)? Good luck.

 Respond  
Bahamut commented on a Page, To Do List - Dialog V2  -  Jun 06, 2008

The dialog itself functions properly, however there are a few scripting things you could change. /loadbuf -ro eliminates your /did -r; take a look at the helpfile and the /loadbuf switches a bit more. Your lack of error checking is not a good thing. You need to check things like:

If the user has selected an item before deleting it.
If the user has entered text into the textbox before adding it.
If the dialog is in use.

Not to mention, the concept and script is rather simple... I think you should have worked this out a little more before release.

 Respond  
Bahamut commented on a Page, "Bot ascii"  -  Jun 05, 2008

Mmm, not bad. The script works properly as it should. My only suggestion would be to decrease the interval between usage; it seems far too great to me. Perhaps a five second interval? The reason why is: if you have this script available for use in a large (for example, scripting channel), then I\'m sure you\'ll have a few users that\'ll want to use it for those forgetful ascii numbers.

Nice script.

 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.