Top

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 
  Bookmark and Share

Introduction

Yes ive heard many people say they never saw a decent invite script so im going to try give it a wack and see what you guy's think of my invite script :D

Grab the Code

Comments

  (9)  RSS
Olliegod
Comments: 74
 
mIRC Snippet:  The Invite Snippet
Posted on Jul 21, 2007 8:41 am
It's missing a closing bracket at the end of the on join event.
Olliegod
Comments: 74
 
mIRC Snippet:  The Invite Snippet
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.
Anti
Comments: 305
 
mIRC Snippet:  The Invite Snippet
Posted on Jul 21, 2007 8:59 am
Fixed
Olliegod
Comments: 74
 
mIRC Snippet:  The Invite Snippet
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.
Mushufasa
Comments: 18
 
mIRC Snippet:  The Invite Snippet
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
Anti
Comments: 305
 
mIRC Snippet:  The Invite Snippet
Posted on Jul 23, 2007 3:19 pm
:P Then wouldnt that be a welcomer/inviter?
Mushufasa
Comments: 18
 
mIRC Snippet:  The Invite Snippet
Posted on Jul 24, 2007 3:45 am
'optional', deary.
Anti
Comments: 305
 
mIRC Snippet:  The Invite Snippet
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 :)
SnapeisntEvil
Comments: 18
 
mIRC Snippet:  The Invite Snippet
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

Please Register or Login to start posting comments.
Bottom