The Invite Snippet
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 2.0 |
| Scores Submitted | 3 |
| Date Added | Jul 21, 2007 |
| Last Updated | Aug 13, 2007 |
| Tags | invite simple |
|
|
Introduction
mIRC Snippet:
The Invite Snippet
Posted on Jul 21, 2007 8:41 am
Posted on Jul 21, 2007 8:41 am
It's missing a closing bracket at the end of the on join event.
mIRC Snippet:
The Invite Snippet
Posted on Jul 21, 2007 8:54 am
Posted on Jul 21, 2007 8:54 am
Also with the on join event, it will greet all people who join any channel with that. That person very well might have not been invited to that channel.
mIRC Snippet:
The Invite Snippet
Posted on Jul 21, 2007 7:12 pm
Posted on Jul 21, 2007 7:12 pm
Ok I see you changed the on join to on invite, this will not work at all because it triggers when you are invited to a channel. You need to simply drop the second event and just send the notice in the on text event.
mIRC Snippet:
The Invite Snippet
Posted on Jul 23, 2007 2:35 pm
Posted on Jul 23, 2007 2:35 pm
Or alternativly have this instead;
on @:text:!Invite*:#: {
set %inviteuser $2-
invite $2- $chan
}
on *:JOIN:#: {
if ($nick == %inviteuser)
.Notice $Nick Hello $nick you have been invited to $chan you must be pretty special!
}
With that you could add an optional welcome message to the script for those who weren't invited, for example;
/join #chan
Mushufasa has joined #chain!
<bot> Oh hi!
As opposed to the greet message. O.O
on @:text:!Invite*:#: {
set %inviteuser $2-
invite $2- $chan
}
on *:JOIN:#: {
if ($nick == %inviteuser)
.Notice $Nick Hello $nick you have been invited to $chan you must be pretty special!
}
With that you could add an optional welcome message to the script for those who weren't invited, for example;
/join #chan
Mushufasa has joined #chain!
<bot> Oh hi!
As opposed to the greet message. O.O
mIRC Snippet:
The Invite Snippet
Posted on Jul 23, 2007 3:19 pm
Posted on Jul 23, 2007 3:19 pm
:P Then wouldnt that be a welcomer/inviter?
mIRC Snippet:
The Invite Snippet
Posted on Jul 24, 2007 3:45 am
Posted on Jul 24, 2007 3:45 am
'optional', deary.
mIRC Snippet:
The Invite Snippet
Posted on Aug 8, 2007 9:27 pm
Posted on Aug 8, 2007 9:27 pm
ROFL i am not your deary i am a guy, and i fixed it thanks to olliegod i never got the time to fix thanks ollie god and for all your comments :)
mIRC Snippet:
The Invite Snippet
Posted on Jun 24, 2008 8:49 pm
Posted on Jun 24, 2008 8:49 pm
the only thing about what mushufasa said about 'set %inviteuser $2' is that u also need to have a 'timer 1 1 unset %inviteuser' so that it wont say that whenever that person joins the channel









