Results for: autojoin

All Results / Threads / Snippets

blackvenomm666 commented on a Page, .commands for bot  -  Jan 01, 2013

yes i'm aware it's a chatspace type server. i meant what's the server addy. even if there is an autojoin on kick/ban if you ban them properly they won't be able to rejoin. give me the addy to the server you are using and what channel you're in and what nick you're using and i'll be able to help you out need to see how the server is set up

 Respond  
PuNkTuReD commented on a Page, mIRC Channel Protection Bot  -  Jul 20, 2012

This is made to run on it's own mIRC, not within yours. (Just incase you were not sure on that)

Bring the bot online, into a channel you own.

First we add you as bot owner,
type this in your BOTS mIRC: /addowner YOUR_NICK

Now we add you as the channel owner,
type this in YOUR mIRC: ?addowner YOUR_NICK

Now in the channel, type: ?commands
You will see all the commands that you are allowed to use.

To make a bot auto-join a server, type: ?server add SERVER-LINK
To remove that server from the autojoin, type: ?server del SERVER-LINK

Then you add channels for it to join.

Regarding the op stuff, and this is important.
Your bot is to run as channel owner status if you want it to run properly.

You then only add Op/Hop/Vop into the bot when those nicks are on the channels official ChanServ lists.

It's not a bot that maintains it's own user status's like other bots do,
this one is to protect the structure of the ChanServ lists.

Basically, so your Ops do not have DeOp wars and stuff.

I hope that helps some.

 Respond  
FelicianoX commented on a Page, Autojoin Channels Menu  -  Mar 01, 2012

Why not just 1 editbox with an 'Add' button to add the channel to autojoin, instead of 50 editboxes?

I also suggest you to take a look at /while, $iif, instead of all those if statements. (/help /while, /help $iif)

You might want to use $null, $isnull doesn't exist.

 Respond  
Jethro commented on a Page, Auto Join   -  Sep 23, 2011

Here is what I meant by what I said:

menu channel { 
  Auto Join ( $+ $iif(%aj,on,off) $+ ) 
  .on:set %aj on
  .off:unset %aj
  .- 
  .Add { hadd -m aj $network $&
      $addtok($hget(aj,$network),#,44)
  echo -s # added to autojoin } 
  .Del { hadd -m aj $network $&
      $remtok($hget(aj,$network),#,1,44) 
  echo -s # removed from autojoin } 
} 
on *:exit: hsave -o aj aj
on *:connect: if (%aj) && ($hget(aj)) join $hget(aj,$network) 
on *:start: if ($file(aj).shortfn) hmake aj 100 | hload aj $v1
on *:input:#:{ if ($regex($1,/^([+-])ajoin$|ajo(n|ff)$/iS)) {
    if ($regml(1) == ff) { unset %aj | echo -a AutoJoin Off }
    elseif ($regml(1) == n) { set %aj on | echo -a Autojoin On }
    else { var %h = $hget(aj,$network), %a = $addtok(%h,#,44)
      var %r = $remtok(%h,#,1,44) | hadd -m aj $network $&
        $iif($regml(1) == +,%a,%r) | echo -a # $iif($regml(1) != -,$&
    added to,removed from) autojoin for $server } }
}
 Respond  
Spoof commented on a Page, Auto Join   -  Sep 23, 2011

You have a typo on line 13
If ($$1 == +ajon) { inc %aj | echo -a Autojoin On }
"ajon" should be changed to ajoin

 Respond  
Jethro commented on a Page, Set mode  -  Aug 22, 2011

You can shorten this line:

(voice !isin $strip($2)) && (halfop !isin $strip($2)) && (op !isin $strip($2)) && (admin !isin $strip($2)) && (owner !isin $strip($2)) {

to:

elseif (!$istok(voice halfop op admin owner,$strip($2),32)) && ($3 !ison $chan)  {

And add the -n switch after the writeini command:

writeinin -n autojoin.ini ...

This way mIRC will attempt to write the ini command if it's over the size limit allowed...your ini will surely get bigger over time.

 Respond  
Jordyk19 commented on a Page, Invite Command  -  Jul 16, 2011

There are like 238 other scripts like this.
You can maybe try to add a user system who can use it.
This script is also very dangerous because there are "bad" channels where you can invite ppl to and if they got Autojoin on invite they are trapped.

 Respond  
Jethro commented on a Page, Auto-identify/auto-join by Hermes v2  -  Apr 02, 2011
join $left($regsubex($str($chr(44),$lines(AutojoinChannels.txt)),//g,$read(file.txt,\n)),-1)
 Respond  
_Dean_ commented on a Page, Auto-identify/auto-join by Hermes v2  -  Apr 02, 2011

Hermes, you should do something to turn it off on start event
by the way, the on connect event can be done with the regsubex

join $regsubex($str($chr(44),$lines(AutojoinChannels.txt)),//g,$read(AutojoinChannels.txt,\n))

nice one 7/10

 Respond  
Jethro commented on a Page, Auto-identify/auto-join by Hermes v2  -  Apr 02, 2011

Or you could do it with the binary way:

var %auto AutojoinChannels.txt
bread %auto 0 $file(%auto).size &auto
breplace &auto 13 44 10
join $bvar(&auto,1,$bvar(&auto,0)).text
 Respond  
MaSOuD commented on a Page, Auto-identify/auto-join by Hermes v2  -  Apr 02, 2011

I think in the ON CONNECT event, you could do like this:

var %x = 1,%chans
while (%x <= $lines(AutojoinChannels.txt)) {
  %chans = $addtok(%chans,$read(AutojoinChannels.txt,%x),44)
  inc %x
}
if (%chans) { join %chans }

So, in this way you're just sending ONE command to join all the channels instead of sending one command per each channel.

Another suggestion: some networks/services are don't support /msg NickServ. Like DALnet; you must type /NickServ or /msg NickServ@services.dal.net... So, it's better to use /NickServ itself.

 Respond  

oh yea and ryan7461035 instead of doing /timerJoin 1 1 /autoJoin
you can get rid of the /'s and just do .timerjoin 1 1 autojoin
the . will silence the timers just makes it a little less annoying

 Respond  

and here is yet another way to do it this one without any regex

and to teen

and the bootlicker blackvenom ( the guy that dont even know how to use vars )

look retard i used vars

alias autoJoin {
  if (%nmJoin isop %chJoin) {
    describe %chJoin -> [MOD] %nmJoin has joined.
  }
  else {
    describe %chJoin -> %nmJoin has joined.
  }
}

on *:join:#:{
  if (%awFlag == 1) {
    .set %checkchan $chan
    var %na $read(automsgchan.txt,w,%checkchan)
    if (%na = %checkchan) { halt }
    else { %chJoin = $chan
      %nmJoin = $nick
      .timerJoin 1 1 autoJoin
    }
  }
}
on *:part:#:{
  if (%awFlag == 1) {
    .set %checkchan $chan
    var %na $read(automsgchan.txt,w,%checkchan)
    if (%na = %checkchan) { halt }
    if ($nick isop $chan) {
      describe $chan -> [MOD] $nick has left.
    }
    else {
      describe $chan -> $nick has left.
    }
  }
}
on *:text:!start auto message:#:{
  %awFlag = 1
  describe $chan Auto join / leave massage started.
  .set %msgchan $chan
  var %na $read(automsgchan.txt,w,%msgchan)
  if (%na = %msgchan) { write -w $+ %msgchan automsgchan.txt 
  }
}

on *:text:!stop auto message:#:{
  describe $chan Auto join / leave message stopped.
  .set %nomsgchan $chan
  var %na $read(automsgchan.txt,w,%nomsgchan)
  if (%na = %nomsgchan) { halt }
  else { write automsgchan.txt $chan 
  }
}
 Respond  
Searinox commented on a Page, GhostKill NickProtection  -  Aug 12, 2010

Yes I meant reading the servers.ini for the password. Your little identify on connect addition fixed the problem though. Now the password is being sent before attempting to autojoin and +r channels are opening. I was not using any autojoin script, just mIRC's builtin autojoin.

This is great, now I can keep all my passwords in just the .hsh file. Thanks for the quick fix!

 Respond  
FordLawnmower commented on a Page, GhostKill NickProtection  -  Aug 11, 2010

@Searinox I'm a little lost here. It sounds like you want me to get the server password from servers.ini and use it for the nickname.
If this is what you are asking I don't think it will work because most people use a different password for their nick then they have for server login.
If you are referring to "perform", it's not a good idea to store passwords here because they are stored in plain text. In edition, you would have to parse the perform block and try to figure out which line is the identify line.

Please clear this up for me so I understand exactly what it is you are asking.

As for the autojoin issue, I think this should be addressed in a properly written autojoin script. If a channel is +R and doesn't let you join, the autojoin script should react by setting a timer and attempting to rejoin in 10 seconds or something.
I will add a on connect identify to this now. Let me know if that helps any.

@Cheiron are you getting a "nickname already in use error" in this case?
If so I'm adding a raw 443 check to address this. You'll have to let me know if it resolves this issue, as I have no way of simulating this situation. Normally the notify will kick in and ghostkill the nick.
I'll post an update now.

 Respond  
Searinox commented on a Page, GhostKill NickProtection  -  Aug 11, 2010

This addon is not the only one of its kind but after many searches it is the only one I've found that truly detects and corrects all possible scenarios of nick change, including internet dropout plus IP change. Awesome work you have there.

However I have a suggestion.

Think you can add a checkbox of sorts called "use password from mIRC settings" so that it uses the server password(s) stored in mIRC's settings? It's kind of redundant to have to input the password in both mIRC and NickProtection.

I would be using the password in NP alone but I can't because your script sometimes sends the password AFTER mIRC autojoins channels, so channels that require registration won't open, making me to still rely on mIRC's builtin password system.

Bottom line is a single password system is better. Either fix the script to register the nick BEFORE autojoin or add that checkbox I mentioned.

 Respond  
Jethro commented on a Page, Bot kicks  -  Aug 01, 2010

There is another way of doing this:

on $@*:text:/.k(s(tfu|pam)|commands|notwanted|ugly|(begg|troll|flood|annoy)ing|garbage|autojoin|respect)\b/iS:#:{
  var %c $regml(1), %n $strip($2), %2 $strip($2), %r $replace(%c,stfu,1,NotWanted,2,ugly,3,spam,4,begging,5,$&
    trolling,6,flooding,7,hopping,8,annoying,9,garbage,10,autojoin,11,respect,12,commands,13) 
  goto %r
  :1
  msg # Hmmm.. 12,1My friend,you talk too much shit :)
  .timer 1 2 msg # 9,1So, I'm afraid you have to GTFO ! 4D:< 
  .timer 1 3 kick # %2  4,1LEARN TO SHUT THE FUCK UP!!
  halt
  :2
  msg # 9,1Dont you realize you're not wanted here?
  .timer 1 2 kick # %2  4,1Go to #Q_Q and do your stuff
  halt
  :3
  msg # 9,1You're so ugly i cant stand seeing your nick in here x.x 
  .timer 1 2 kick # %2 4,1Try Uglypeople.com :)
  halt
  :4
  msg # spamming is not allowed here buddy :)
  .timer 1 2 kick # %2 no Spam In #main !!!
  halt
  ; so on and so forth
  ...

Or you can put all the commands and their message inside a text file. Then use the /play with the -c and -l# switch to execute according to each line. Thus you won't need any timer.

 Respond  
FordLawnmower commented on a Page, TwitFeed Twitter RSS Feed Poster  -  Feb 11, 2010

Ok I added a network alias and a few conditions here and there. Try the updated code at the top and let me know. If it doesn't work please post the results from the hashtable again.
I could sort this in a few minutes but that crazy network won't let me on.
connected to jtvchat
Your host is jtvchat
This server was created on Thu Feb 11 16:46:27 2010

irc.justin.tv 8.2.0 w n

irc.justin.tv 376 ford_lawnmower Some clients need an end-of-motd to autojoin. This is it.

[18:46:26] * [10053] Software caused connection abort

 Respond  
Ghost-writer commented on a Page, AutoOpScript  -  Nov 20, 2009

woah, ever heard of levels?

To change base levels or to give auto voice on join. you type /cs levels channel set type level Example. /cs levels #help set autovoice -1. Here is a list of levels.

autodeop autohalfop autoop autoprotectect autovoice autojoin signkick Acc-list acc-change akick set ban banme clear getkey halfop halfopme info kick kickme invite opdeop opdeopme protect protectme topic Unban Voice Voiceme memo assign badwords fantasia greet nokick say.

Just set autoop to -1.

 Respond  
_Daniel_ commented on a Page, Autojoin Network Based  -  Jul 21, 2009

looks like another autojoin

 Respond  
blitzz commented on a Page, Fast rejoin   -  May 29, 2009

jefshmpied what i mean here is test da code.. ex: use what is alias commnd etc..try 2 del n test 1 more..this can help to remove unused code
i recommnd u just use options 2 set da autojoin......

2 much code just for fastjoin ..just confusing..

how about someone who use broadbnd,gprs?...
i think rejoin da channel as asap is how fast ur connections 2 internet...

yup i still learing jefshmpied but there's no harm 2 share what i learn here..

 Respond  
napa182 commented on a Page, Best AutoJoin Script Ever  -  May 29, 2009

@ Draylin if you asking how do you open the dialog?
well do you see this

Menu Channel,Status {
  AutoJoin Dialog v6.0:dialog -m Autojoin Autojoin
}

that means you can either right click in a channel or in ur status window to open it.

 Respond  
Draylin commented on a Page, Best AutoJoin Script Ever  -  May 29, 2009

How do you launch the AutoJoin script to edit it?

 Respond  
Weasel commented on a Page, identify auto join  -  May 25, 2009

Buddy, cool but it's NS identify PASSWORD. pretty good though, but the autojoin would be a lot simpler (why not make it !setajoinchan { msg NickServ ajoin ADD # })?

 Respond  
sasza101 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 14, 2009

This looks very good, and in fact, I'm very much in need of such thing, but I can't make it work. I've configured it all properly (at least I think I have), but I keep on getting the

  • /join: insufficient parameters (line 190, autojoin.txt)

message :(

What should be done to make it work?
And btw - if the channel is password protected (the channel as such, not a nick via nickserv) where would I put the channels pwd?

TIA.

:sasza:

 Respond  
PuNkTuReD commented on a Page, Quakenet 'Q' Auth Dialog  -  Feb 04, 2009

i keep looking at it thinking your authing to the channels, i know they are auto join channels so maybe put that on the dialog, AutoJoin Channels
just a suggestion, its gd to see some quakenet snippets on here, it works hell differently to other servers.
8/10

 Respond  
Cheiron commented on a Page, Opped channel joiner  -  Feb 02, 2009

alot of servers will default the number of channels you are able to connect too so always remember that. alot of unreal ones will stop you at 10 channels at anyone time. nice different take though for the autojoin. one slight issue though..
you may wish to throttle the join times on connect. if you join more than so many channels at once you may also poof yourself off the server. add a little variable timer or something just to protect yourself. otherwise... gets a 7/10 from me

 Respond  
PuNkTuReD commented on a Page, Server Manager 1.3  -  Jan 20, 2009

how about 2 hash tables
one for server
example: Servers irc.icq.com irc.icq.com
one for your channels
example: AutoJoin $network channels
then when your on said network it will autojoin said channels

on *:start: {  
  if (!$hget(AutoJoin)) { hmake AutoJoin 20 }
  if ($exists(AutoJoin.hsh)) { hload AutoJoin AutoJoin.hsh } 
  if (!$hget(Servers)) { hmake Servers 20 }
  if ($exists(Servers.hsh)) { hload Servers Servers.hsh } 
  set -u5 %a 1
  set -u5 %b $hget(Servers,0).item
  while %a <= %b {
    if (%a == 1) { server $hget(Servers,%a).item | inc %a }
    else { server -m $hget(Servers,%a).item | inc %a }
  }
  else { haltdef }
}
on *:connect: { join $hget(Autojoin,$network) }

i come across the same problems with my bot

 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.