Invitebot

By HeLL_MasTeR on Jun 21, 2007

wanna invite other people to your channels..? well this bot can help you.. juz copy this script and paste into your remote..

Comments

Sign in to comment.
Cheiron   -  Sep 24, 2008

part of hawkee rules on submitting snippets...
Your snippet will be deleted if you break any of the following rules:

* Snippet MUST WORK
* Minimum characters for snippet: 100
* Screenshot max width: 560 px
* Screenshot limit: 3
* Description needs to explain what the snippet does and how it is used.
* Must include URL to original script or snippet if you did not build it from scratch.
* DO NOT post new versions as new snippets. You must edit your previous snippet.
  (If you add Snippet v1.0 and Snippet v2.0 as two snippets Snippet v2.0 will be deleted.) 

if you have a snippet that dont work or need help with, then go to forum http://www.hawkee.com/phpBB2/
then go to mIRC Snippet Requests http://www.hawkee.com/phpBB2/viewforum.php?f=9
and post new topic asking for help

 Respond  
Jonesy44   -  Sep 24, 2008

i was gonna correct it.. but this is plain useless. and clearly untested :|

 Respond  
Kerian   -  Sep 24, 2008

haha Wannaknow, if with your fix i cant get this thing to work :(

 Respond  
Zmodem   -  Sep 24, 2008

Why has this still not been fixed? LoL It's obvious that it doesn't work, due to the trailing brace missing completely. Anyways, nice attempt, bad implementation :-)

 Respond  
WannaKnow   -  Sep 24, 2008

Even as a bracket error last alias ..

on 1:join:#: {
  if ($nick == ChanServ) || ($nick == $me) { halt }
  if (%inop == On) { invop } | if (%inop == Off) { halt }
  /msg $nick %inmsg }
}
alias invop {
  if ($nick isop $chan) || ($nick isvo $chan) { .msg $nick %inmsg }

That isent right

See the last rule from the on !:join part
msg $chan %inmsg }
Where do you get } from?

In the last alias i think you don't missed a } because you had on the join part 1 to much.

Change it to:

on 1:join:#: {
  if ($nick == ChanServ) || ($nick == $me) { halt }
  if (%inop == On) { invop } | if (%inop == Off) { halt }
  /msg $nick %inmsg
}
alias invop {
  if ($nick isop $chan) || ($nick isvo $chan) { .msg $nick %inmsg }
}
 Respond  
Kerian   -  Sep 24, 2008

Hehe yeah, I suck at scripting :D hehe

 Respond  
Cheiron   -  Sep 24, 2008

from mIRC help file.. on invites..

/INVITE nickname #channel

Invites a nickname to a channel that you are on.

this is a basic invite on join where you have to have ops for it to trigger

 on @:JOIN:#channel:{ /invite $nick #channel2 } 

your script has halt events but no else events for allowances for other type nicks. it might be worth having a rethink possibly or wait for one of the more knowledgable scripters to comment like napa, or EL, or mountaindew for example. the script has potential but needs some work done on it :)

 Respond  
Kerian   -  Sep 24, 2008

U know the complete version m8? :)

 Respond  
Kerian   -  Sep 24, 2008

:(((

 Respond  
Cheiron   -  Sep 24, 2008

it isnt complete either

 Respond  
Kerian   -  Sep 24, 2008

I just get a message Unknown Command. ? Any1 knows why?

 Respond  
HeLL_MasTeR   -  Jun 21, 2007

well first of all thankz for mention.. i will make a change..!!

 Respond  
Callison1   -  Jun 21, 2007

Another thing is that I don\'t think inviting everyone who joins any channel you are on is a good thing, maybe another menu function in which the user will enter the nick they want to invite would be better.

 Respond  
Callison1   -  Jun 21, 2007

First of all the alias invop uses the $nick identifer which, to my knowledge doesn\'t return anything in an alias, this means that in the msg in the alias, it is trying to message the value of %inmsg, and also the if condition is never true, so that should be changed to $me, and the $nick in the msg should be changed to %inbin. There is also a close bracket } missing from /invop

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.