Just a really Simple Autojoin script
Syntax:
ajoin add #channel (Add's the channel Obviously) ajoin del #channel ajoin list (Show's the channel's added with that certain network) ajoin help (show's the Help Section) On your Bot's mIRC you'll need to do /auser 1000 YOURNICKHERE In order for it to work. Hope everything is Alright with it. :) And i hope people like it. ```mirc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Bot Autojoin Script ;; ;; Made by GrimReaper ;; ;; irc.SPUNet.org #SPUNet ;; ;; irc.geekshed.net #hell ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; on 1000:TEXT:$($me Ajoin *):#: { if ($3 == help) { var %c = msg $nick %c Commands: %c $crlf %c HELP - Displays this help text. %c ADD - Adds a network to my autojoin list. (Note: the channel must include the pound (#) sign.) %c ADD-ALL - Adds all the channels I have joined to my autojoin. %c DEL - Deletes a channel from my autojoin. %c LIST - Lists the channels I have added to my autojoin. %c CLEAR - Deletes all channels from the network I are currently connected to (The active one (right now, the active one is $network )). } if ($3 == add) { if (#* iswm $4) { if ($+(%,AutoJoin.,$network) != $null) { if ($+(*,$4,*) !iswm %AutoJoin. [ $+ [ $network ] ]) { set $+(%,AutoJoin.,$network) $+(%AutoJoin. [ $+ [ $network ] ],$$4-,$chr(44)) | .timer 1 1 msg $chan $4 added to my Autojoin for $network $+ . } else { msg $chan That channel is already on my autojoin. } } else { set $+(%,AutoJoin.,$network) $$4 $+ $chr(44) } } else { msg $chan Please specify a valid channel name. } } if ($3 == add-all) { var %a = $chan(0) var %b = 1 goto nextadd :nextadd if (%b > %a) { halt } else { if ($+(%,AutoJoin.,$network) != $null) { if ($+(*,$chan(%b),*) !iswm %AutoJoin. [ $+ [ $network ] ]) { set $+(%,AutoJoin.,$network) $+(%AutoJoin. [ $+ [ $network ] ],$chan(%b),$chr(44)) } else { notice $nick That channel is already on your autojoin. } } else { set $+(%,AutoJoin.,$network) $chan(%b) $+ $chr(44) } } } if ($3 == clear) { unset %AutoJoin. [ $+ [ $network ] ] } if ($3 == network) { tokenize 44 %AutoJoin. [ $+ [ $network ] ] join $* } if ($3 == del) { if (#* iswm $4) { if (* $+ $4 $+ * iswm %AutoJoin. [ $+ [ $network ] ]) { set $+(%,AutoJoin.,$network) $remove(%AutoJoin. [ $+ [ $network ] ],$4 $+ $chr(44)) | .timer 1 1 msg $chan $4 deleted from my Autojoin for $network $+ . | .timer 1 2 part $4 Parting As Removed From AutoJoin! } else { msg $chan That channel is not on your auto-join. } } else { msg $chan Please specify a valid channel name. } } if ($3 == list) { tokenize 44 %AutoJoin. [ $+ [ $network ] ] msg $nick @AutoJoin List For $network $+ : $* } } on *:NOTICE:*Password accepted*:?:{ if ($nick == NickServ) { join %AutoJoin. [ $+ [ $network ] ] } } on ^*:NOTICE:*[#*]*:?:{ haltdef } ```