mcdanielnc89 Posted December 16, 2008 Report Share Posted December 16, 2008 Hey, Whenever I open mIRC, how can I create a timer where it will join the servers I specify when loading mirc? Link to comment Share on other sites More sharing options...
Guest Travis Posted December 16, 2008 Report Share Posted December 16, 2008 On start event. Really this event is when the individual script file is loaded, but that's what happens when you start mirc. Link to comment Share on other sites More sharing options...
mcdanielnc89 Posted December 16, 2008 Author Report Share Posted December 16, 2008 Thanks Travis, I'll have to check out the onstart events. I'm back at ground zero with scripting again, lol. Link to comment Share on other sites More sharing options...
Deanne Posted December 17, 2008 Report Share Posted December 17, 2008 lol that is a cute signature picture nat Link to comment Share on other sites More sharing options...
Kronicdreamer Posted December 17, 2008 Report Share Posted December 17, 2008 alias koach /server irc.koach.com on *:CONNECT: { if ($network == Koach.com) { /ns identify *password* /join #tg007 /join #koachsworkshop /join #bruce /join #irchainscriptz /join #essex_house /join #test /join #irpg } } This is mine, its not on Start but when mirc opens i just type /koach and it joins the rooms. Replace *password* w/ your pass for most irc servers, (Unreal) i believe is used on koach. All you havta do is replace 'alias koach' w/ the on START coding and itll connect then Link to comment Share on other sites More sharing options...
Guest Travis Posted December 17, 2008 Report Share Posted December 17, 2008 (edited) So you would just say: on *:start:koach or on *:start:{ if (%koach) { koach } } menu menubar { - $iif(!%koach,$style(1)) Koach:{ $iif(!%koach,set,unset) %koach $true } } Edit: Hey Kronic, you know you can say: /join #chan1,#chan2,#chan3,#chan4 Edited December 17, 2008 by Travis Link to comment Share on other sites More sharing options...
mcdanielnc89 Posted December 17, 2008 Author Report Share Posted December 17, 2008 lol that is a cute signature picture nat LOL. Thanks! Thanks for the code help too. I almost had it right, HAHA Link to comment Share on other sites More sharing options...
mcdanielnc89 Posted December 17, 2008 Author Report Share Posted December 17, 2008 Ok, I needed somethign a lil different, LOL.. I got it to partially work,but can't get he others to work. When I connect i want it to join the following servers, Somehow i believe I'm goign to hsve to sit up an If/elseif statemtn. on *:START: { /server -m irc.wyldryde.org /ns identify forevermore /join #geekstogo } on *:START: { /server -m irc.mozilla.org /ns identify forevermore /join #firefox,#addons } on *:START: { /server -m irc.freenode.com /ns identify forevermore /join #xhtml,#html,#css,#php,#javascript,#phpBB } on *:START: { /server -m irc.deviantart.com /ns identify forevermore /join #devart } Link to comment Share on other sites More sharing options...
Guest Travis Posted December 17, 2008 Report Share Posted December 17, 2008 You can only have one event per file. What you need to do is use /scon and $scon. You connect to a server, then you connect to another server and set scon or scid to that connection which makes mIRC focus on that connection. Otherwise it will be doing the commands to the first connection. When you want to write scripts that switch around to your different connections (different servers) you have to make the connection you want active first using /scid or /scon. Then after it's active you can do any commands for that connection. When you type server thats attempting to connect to a server. It doesnt mean you are connected and unless you are connected and that server is the active server you cannot send nameserv requests. Typically you monitor a connect event for that server and auth on this. Link to comment Share on other sites More sharing options...
Kronicdreamer Posted December 17, 2008 Report Share Posted December 17, 2008 Here is a 1 minute code, should work perfect as long as the networks names are right, so thatll be where to change if their different... goodluck on *:START: { /wyldryde /mozilla /freenode /deviantart } alias wyldryde /server irc.wyldryde.org alias mozilla /server -m irc.mozilla.org alias freenode /server -m irc.freenode.com alias deviantart /server -m irc.deviantart.com on *:CONNECT: { if ($network == wyldryde) { /join #geekstogo } elseif ($network == mozilla) { /join #firefox,#addons } elseif ($network == freenode) { /join #xhtml,#html,#css,#php,#javascript,#phpbb } elseif ($network == deviantart) { /join #devart } } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now