Botmail
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 6.5 |
| Scores Submitted | 8 |
| Date Added | Jan 06, 2007 |
| Last Updated | Jun 11, 2007 |
| Tags | bot mail messages |
|
|
Introduction
Some commands accept one or more parameters (ie: You can read multiple messages by specifying the message numbers)
Contact information is located at the beginning of the script
Slight re-write to attempt to accomodate problems and request.
Script now tracks when a message is left.
Script works, but there is an occasional timing problem when reading the messages, where the message actually gets displayed before the information regarding who it's from and when it was left, rather than the other way around.
Additionally, if messages are deleted in an order other than last to first, there will be blank messages displayed, even though the count is correct. I'm not sure how to get around this at the moment, but I will keep working on it.
As always, suggestions and comments are more than welcome.
mIRC Snippet:
Botmail
Posted on Jan 13, 2007 7:51 pm
Posted on Jan 13, 2007 7:51 pm
\"elseif $1 == !del:{\" suspicious :o and more on that note pretty sure won\'t trigger, I know if statements trigger without () but process faster with them so there is less prediction needed for the client to process, and I would have to press the fact that, hash shouldn\'t be used really for long term storing of data, it could, butt it shouldn\'t because it uses RAM which you prolly have alot of but some people JUST BARELY have enough RAM to keep their operating system good, and Therefore I use them only for sockets and such where its opened and closed within seconds, and, as a alternative to hash tables, I really like ini, and I kinda find them to work better, and they are way more organised, I say that because hash never stays in order, the item name may stay the same but when you loop through a table it will NEVER stay the same order UNLESS its a smaller scale table, and even still you can\'t be too certain, but ini is better in that department. $ini == $readini\'s lil counterpart and together you can incorperate awesome amounts of data into scripts which might require that much. hope Any of my advice helps :s
mIRC Snippet:
Botmail
Posted on Jan 20, 2007 10:50 am
Posted on Jan 20, 2007 10:50 am
RussellReal: Nice catch on the : in that elseif...I\'m not sure how that got in there, but I have removed it. Regarding RAM, if someone is running that close on the amount of RAM in their system, then they should get more. I like using hash tables for things like this, as ini files (or any type of file that requires disk access) is a lot slower than a hash table.
If you want to do a re-write of my script so that it uses ini files, please be my guest. I only request that you include a line noting that your script is based on mine.
If you want to do a re-write of my script so that it uses ini files, please be my guest. I only request that you include a line noting that your script is based on mine.
mIRC Snippet:
Botmail
Posted on Apr 8, 2007 2:51 pm
Posted on Apr 8, 2007 2:51 pm
* Invalid format: $gettok (line 47, script5.txt)
-
* Invalid format: $gettok (line 47, script5.txt)
-
* Invalid format: $gettok (line 47, script5.txt)
-
* Invalid format: $gettok (line 47, script5.txt)
-
[03:49] <PaNDa[ro]> I have messages for you
[03:49] <PaNDa[ro]> Use: /msg PaNDa[ro] !list to list them, /msg PaNDa[ro] !read <message number(s)> to read the message(s), /msg PaNDa[ro] !del <message number(s)> to delete the message(s), or /msg PaNDa[ro] !delall to delete all messages
[03:49] <PaNDa\\Tido> !list
[03:49] <PaNDa[ro]> Message #1 from PaNDa\\Tido
[03:49] <PaNDa\\Tido> !read 1
[03:50] <PaNDa\\Tido> !read #1
[03:50] <PaNDa\\Tido> !read #1 from PaNDa\\Tido
[03:50] <PaNDa\\Tido> !read 1 from PaNDa\\Tido
i got that :D any repair?
-
* Invalid format: $gettok (line 47, script5.txt)
-
* Invalid format: $gettok (line 47, script5.txt)
-
* Invalid format: $gettok (line 47, script5.txt)
-
[03:49] <PaNDa[ro]> I have messages for you
[03:49] <PaNDa[ro]> Use: /msg PaNDa[ro] !list to list them, /msg PaNDa[ro] !read <message number(s)> to read the message(s), /msg PaNDa[ro] !del <message number(s)> to delete the message(s), or /msg PaNDa[ro] !delall to delete all messages
[03:49] <PaNDa\\Tido> !list
[03:49] <PaNDa[ro]> Message #1 from PaNDa\\Tido
[03:49] <PaNDa\\Tido> !read 1
[03:50] <PaNDa\\Tido> !read #1
[03:50] <PaNDa\\Tido> !read #1 from PaNDa\\Tido
[03:50] <PaNDa\\Tido> !read 1 from PaNDa\\Tido
i got that :D any repair?
mIRC Snippet:
Botmail
Posted on Jun 3, 2007 4:36 pm
Posted on Jun 3, 2007 4:36 pm
i like the script but i found tht if u typed !read #1 it give u this msg Message ##1 From:
and on bot u can see
* /msg: insufficient parameters
but if u typed !read 1 or 2 it work
the problem is deleting cas it giving this bug
* /hdel: insufficient parameters (line 64, msg.txt)
and its not deleting it >:|
and on bot u can see
* /msg: insufficient parameters
but if u typed !read 1 or 2 it work
the problem is deleting cas it giving this bug
* /hdel: insufficient parameters (line 64, msg.txt)
and its not deleting it >:|






