log2commented on mIRC Snippet: On Join
-
Feb 10, 2008
haha no problem ;) just get it right next time :P just joking, I really wouldn't have cared normally, but I was just really bored, lol
log2commented on mIRC Snippet: On Join
-
Feb 10, 2008
on 1:JOIN:#:/msg $chan Welcome $nick
123456789012345678901234567890123456 (36)
Spaces are characters too, chr(32) in mIRC or ASCII 32 is a space, and space is a character. =D
log2commented on mIRC Snippet: Calculator
-
Feb 10, 2008
log2?
log2commented on mIRC Snippet: On Join
-
Feb 10, 2008
EL I don't know where you got your degree, but I count 36 Characters, but this can be improved:
Code
log2commented on mIRC Snippet: User Bot
-
Feb 10, 2008
"and don't d/l it if you don't know how to use a bot script.. You also have to edit it for some commands"
First of all, your bot script should not need to be used, it should come naturally, the user also shouldn't have to see any code, so you should use things like $?="Enter Question here" Or better yet, make a dialog to that automatically runs the first time a script is installed, Dialogs are easy as pie, "/help dialogs" for more help on dialogs, but a dialog is perfect for a script that when loaded multiple settings have to be changed
You shouldn't recall your database at the top of the page, it should be hidden, and in an htaccess directory so people can't see your information (There are ways of downloading PHP files)
Because that would exchange everything even if there weren't spaces... let's say someone wanted to say: Today:do something; do something else...
It would replace the :d
Also you could have put this in a form that the user can read, example, Internet Explorer 6, or FireFox. Because not everyone know how to read things like: Mozilla/4.0 (Compatible, MSIE/4, Windows NT 5.1)
It's pretty good, basic though, and I personally don't really use to many functions in Ruby, I know they help and most of the time are needed, but I seem to find ways around using two maybe even three per script
It doesn't work correctly... I tried doing some calculations with it, like 1, 5, -2... so the equation would be: -5 +/- (sqrt)5^2 - 4 (1)(-2) wich gives you two roots: x1 = 5.3723 and x2 = -0.3723... When I did it in your calc, I got: NONREAL and NONREAL
well you can't display the results to the channel first off, second off this is right in mIRC, so instead of assigning a short-cut key to it, why not just do this... and third... I don't have shortcut keys on my keyboard