Rook
January 14th, 2010, 05:31 AM
Basically I have a script file in the mIRC folder, which was previously edited/made by someone atleast 3 years ago or more... Anyway I edited the file so when mIRC loads instead of opening irc.darkmyst.org and joining #hidden-street it opens irc.gamesurge.net and joins #newegg.l4d2 automatically. However I would like to edit the script file so when mIRC is loaded it opens 2 server windows (irc.gamesurge.net and another irc server) and other channels under each server.
Any help would be appreciated!
(gamesurge was edited in on line n1 and #newegg.l4d2 was edited in on line n19)
[script]
n0=on *:start:{
n1= server irc.gamesurge.net
n2= %nick = $mnick
n3= nick %nick
n4=
n5=}
n6=
n7=on *:connect:{
n8= if (%firstrun == 0) {
n9= nsreg $?="What would like your NickServ password to be?" $emailaddr
n10= %firstrun = 1
n11= }
n12= msg nickserv kill %nick %nspass
n13= if (%status == 0) { nick %nick }
n14= if (%status == 1) { nick %nick $+ |Sleep }
n15= if (%status == 2) { nick %nick $+ |Busy }
n16= if (%status == 3) { nick %nick $+ |Away }
n17= if (%status == 4) { nick %nick $+ |Out }
n18= timer 1 2 identify %nspass
n19= timer 1 2 join #newegg.l4d2
n20= if (%seenhelp != 1) { helpme }
n21= %seenhelp = 1
n22=}
n23=
n24=on *:nick:{
n25= if (($newnick == %nick) && ($newnick != $me)) {
n26= msg nickserv kill %nick %nspass
n27= }
n28=}
n29=
n30=alias F2 {
n31= if (%away == 0) {
n32= %away = 1
n33= %status = 1
n34= %oldnick = $me
n35= scon -a nick $me $+ |Sleep
n36= goto done
n37= }
n38= if (%away == 1) {
n39= %away = 0
n40= scon -a nick %oldnick
n41= %status = 0
n42= goto done
n43= }
n44= :done
n45= scon -a id
n46=}
n47=
n48=alias F3 {
n49= if (%away == 0) {
n50= %away = 1
n51= %oldnick = $me
n52= scon -a nick $me $+ |Busy
n53= %status = 2
n54= goto done
n55= }
n56= if (%away == 1) {
n57= %away = 0
n58= scon -a nick %oldnick
n59= %status = 0
n60= goto done
n61= }
n62= :done
n63= scon -a id
n64=}
n65=
n66=
n67=alias F4 {
n68= if (%away == 0) {
n69= %away = 1
n70= %oldnick = $me
n71= scon -a nick $me $+ |Away
n72= %status = 3
n73= goto done
n74= }
n75= if (%away == 1) {
n76= %away = 0
n77= scon -a nick %oldnick
n78= %status = 0
n79= goto done
n80= }
n81= :done
n82= scon -a id
n83=}
n84=
n85=alias F5 {
n86= if (%away == 0) {
n87= %away = 1
n88= %oldnick = $me
n89= scon -a nick $me $+ |Out
n90= %status = 4
n91= goto done
n92= }
n93= if (%away == 1) {
n94= %away = 0
n95= scon -a nick %oldnick
n96= %status = 0
n97= goto done
n98= }
n99= :done
n100= scon -a id
n101=}
n102=
n103=ctcp *:*:*: notice $nick 3I see you 1:) | /halt
n104=
n105=alias oink {
n106= say 0..11/\/\
n107= say 0 11/ 3OO11 \ 7~Oink!
n108= say 011| 11[1oo11] |
n109= say 0 11\ 15TT11 /
n110=}
n111=
n112=on ^*:TEXT:*:*:{
n113= if (%ignorepuds == 1) { halt }
n114=}
n115=
n116=alias slap {
n117= describe $chan $read(slaps.txt)
n118=}
n119=
n120=alias addslap {
n121= if ($$1- != $null) { write slaps.txt, $$1- }
n122= echo -a Slap added!
n123=}
n124=
n125=alias nsreg {
n126= if (($$1 != $null) && ($$2 != $null)) {
n127= msg nickserv register $$1 $$2
n128= %nspass = $$1
n129= }
n130=}
Any help would be appreciated!
(gamesurge was edited in on line n1 and #newegg.l4d2 was edited in on line n19)
[script]
n0=on *:start:{
n1= server irc.gamesurge.net
n2= %nick = $mnick
n3= nick %nick
n4=
n5=}
n6=
n7=on *:connect:{
n8= if (%firstrun == 0) {
n9= nsreg $?="What would like your NickServ password to be?" $emailaddr
n10= %firstrun = 1
n11= }
n12= msg nickserv kill %nick %nspass
n13= if (%status == 0) { nick %nick }
n14= if (%status == 1) { nick %nick $+ |Sleep }
n15= if (%status == 2) { nick %nick $+ |Busy }
n16= if (%status == 3) { nick %nick $+ |Away }
n17= if (%status == 4) { nick %nick $+ |Out }
n18= timer 1 2 identify %nspass
n19= timer 1 2 join #newegg.l4d2
n20= if (%seenhelp != 1) { helpme }
n21= %seenhelp = 1
n22=}
n23=
n24=on *:nick:{
n25= if (($newnick == %nick) && ($newnick != $me)) {
n26= msg nickserv kill %nick %nspass
n27= }
n28=}
n29=
n30=alias F2 {
n31= if (%away == 0) {
n32= %away = 1
n33= %status = 1
n34= %oldnick = $me
n35= scon -a nick $me $+ |Sleep
n36= goto done
n37= }
n38= if (%away == 1) {
n39= %away = 0
n40= scon -a nick %oldnick
n41= %status = 0
n42= goto done
n43= }
n44= :done
n45= scon -a id
n46=}
n47=
n48=alias F3 {
n49= if (%away == 0) {
n50= %away = 1
n51= %oldnick = $me
n52= scon -a nick $me $+ |Busy
n53= %status = 2
n54= goto done
n55= }
n56= if (%away == 1) {
n57= %away = 0
n58= scon -a nick %oldnick
n59= %status = 0
n60= goto done
n61= }
n62= :done
n63= scon -a id
n64=}
n65=
n66=
n67=alias F4 {
n68= if (%away == 0) {
n69= %away = 1
n70= %oldnick = $me
n71= scon -a nick $me $+ |Away
n72= %status = 3
n73= goto done
n74= }
n75= if (%away == 1) {
n76= %away = 0
n77= scon -a nick %oldnick
n78= %status = 0
n79= goto done
n80= }
n81= :done
n82= scon -a id
n83=}
n84=
n85=alias F5 {
n86= if (%away == 0) {
n87= %away = 1
n88= %oldnick = $me
n89= scon -a nick $me $+ |Out
n90= %status = 4
n91= goto done
n92= }
n93= if (%away == 1) {
n94= %away = 0
n95= scon -a nick %oldnick
n96= %status = 0
n97= goto done
n98= }
n99= :done
n100= scon -a id
n101=}
n102=
n103=ctcp *:*:*: notice $nick 3I see you 1:) | /halt
n104=
n105=alias oink {
n106= say 0..11/\/\
n107= say 0 11/ 3OO11 \ 7~Oink!
n108= say 011| 11[1oo11] |
n109= say 0 11\ 15TT11 /
n110=}
n111=
n112=on ^*:TEXT:*:*:{
n113= if (%ignorepuds == 1) { halt }
n114=}
n115=
n116=alias slap {
n117= describe $chan $read(slaps.txt)
n118=}
n119=
n120=alias addslap {
n121= if ($$1- != $null) { write slaps.txt, $$1- }
n122= echo -a Slap added!
n123=}
n124=
n125=alias nsreg {
n126= if (($$1 != $null) && ($$2 != $null)) {
n127= msg nickserv register $$1 $$2
n128= %nspass = $$1
n129= }
n130=}