auto-add functions
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Aug 30, 2007 |
| Last Updated | Sep 03, 2007 |
| Tags | add auto function |
|
|
Introduction
Directions:
1- Type: /addnick (voice,hop,op,greet,kick,kickban,ignore) (nick) (voice,hop,op,kickban,ignore,kick) or (greetmsg,kickmsg,kickbanmsg here) if you are adding a message.
2- You could also use the menu: menubar -> auto-functions table -> add/open
Updates:
Dialoged
Function to kickban and ignore
Menubar selection
mIRC Snippet:
auto-add functions
Posted on Aug 30, 2007 8:36 pm
Posted on Aug 30, 2007 8:36 pm
1. mIRC already has aop/avoice functions.
2. You ON JOIN event will trigger all joins. Basically if you are not oped, you will be getting an error.
2. You ON JOIN event will trigger all joins. Basically if you are not oped, you will be getting an error.
mIRC Snippet:
auto-add functions
Posted on Aug 30, 2007 8:48 pm
Posted on Aug 30, 2007 8:48 pm
Fixed. It now checks if you are an op in the channel, and the $readini checks if the nick isin the ini file. So if there is no nick, it will not trigger anything. And yes, I am aware that there is an auto-op and auto-voice function. I added an options to add a hop but I felt that I should include the others in the snippet to make it have a more complete feel.
mIRC Snippet:
auto-add functions
Posted on Sep 1, 2007 12:20 am
Posted on Sep 1, 2007 12:20 am
Any other feedback?
mIRC Snippet:
auto-add functions
Posted on Oct 1, 2007 8:30 pm
Posted on Oct 1, 2007 8:30 pm
what if u wanted to give them a greet and a voice?
u should set it up like
[voice]
ghost=yes
mountaindew=yes
[ho]
mountaindew=yes
just a suggestion
u should set it up like
[voice]
ghost=yes
mountaindew=yes
[ho]
mountaindew=yes
just a suggestion
mIRC Snippet:
auto-add functions
Posted on Oct 1, 2007 9:40 pm
Posted on Oct 1, 2007 9:40 pm
This snippet seems to be divided in three different sections. If you wanted to give a user a voice and a greet, you could. There is an auto-act section and an auto-greet section. So you could technically do what you are asking. This snippet isn\'t all to great. You might as well use hash tables for all the data. And why create a separate text file just for the use of dialog? I think $ini would work for that, I\'m not too sure, but it should. /help $ini. There are a few error checking bits you are missing. In your add nick alias, you forget to include an if ($1 && $2) to check if the user actually typed the strings. If I forgot to add the second, it would add it to the text & ini file. You also forget to check if the dialog name is in use when you type the command to open the dialog. Try adding an if ($dialog(nicksview)). And how about adding an edit option? It seems a bit of work to delete and then type the parameters. Nice concept, but not really good coding.
--Roy
--Roy



