; –––––––––––––––––––––––––––––––––––––––– ; NoNameScript v4.2 - aliases - coded by greeny & mute ; Don't edit anything in here unless you REALLY know what you're doing! ; –––––––––––––––––––––––––––––––––––––––– beats { tokenize 58 $wd($asctime($calc($gmt -3600+ $daylight)),4) return @ $+ $int($calc(($1 *3600+ $2 *60+ $3)/86.4)) } loaddefcmds { didtok $1-2 44 Run netstat (/netstat),Clipboard editor (/cbedit),Show power (/power),Open nnscript.com (/news),Auth on QuakeNet (/q.doauth),Identify on UnderNet (/x.doauth),Identify on GameSurge (/gs.doauth),File info (/finfo),Directory info (/dinfo),Application quicklaunch (/cprog),Check for updates (/checkver),Advertise script (/advertise),Close queries (/close -m),Alarm timer (/alarm),DCC relay (/dccrelay),DCC history (/dcchist),Kick/ban history (/kbhist),IP2nick (/ip2nick),Close all @windows (/closewins),Close all DCCs (/close -cfgis) didtok $1-2 44 Clear all windows on this server (/clr -e),Clear all windows on all servers (/clr -c),System information (/sysinfo),Show MOTD (/motd),Show server info (/info),RGB list (/nn.rgb),ASCII table (/ascii),Channel central (/cc),DCC monitor (/dccs),Clone scanner (/cscan),Script statistics (/stat),Command list (/cmdlist),Clear window (/clear),Say URL (/surl),Help (/help),About (/nnabout),Blacklist (/black),Away system (/aw),Set back (/back),Theme setup (/themes),Script setup (/setup),Window arrangement (/winarr),mIRC options (/mircopt),Channels list (/chanlist),Channels folder (/chanfolder),Log viewer (/viewlog) } mkdir.recursive { if ($right($1-,1) != \) { tokenize 32 $1- $+ \ } if ($isdir($1-)) { return } var %d = $noqt($1-),%i = 1,%t = $numtok($1-,92) while (%i <= %t) { var %o = $gettok(%d,1- $+ %i,92) if (!$isdir(%o)) { mkdir $qt(%o) } inc %i } } convertfontsize { if ($prop == pixels) { if ($1 <= 6) { return 8 } elseif ($1 == 7) { return 10 } elseif ($1 == 8) { return 11 } elseif ($1 == 9) { return 12 } elseif ($1 == 10) { return 14 } elseif ($1 == 11) { return 15 } elseif ($1 == 12) { return 16 } elseif ($1 == 13) { return 18 } elseif ($1 == 14) { return 20 } elseif ($1 == 15) { return 21 } elseif ($1 == 16) { return 22 } elseif ($1 == 17) { return 23 } elseif ($1 >= 18) { return 24 } } else { if ($1 <= 8) { return 6 } elseif ($1 == 9) { return 7 } elseif ($1 == 10) { return 7 } elseif ($1 == 11) { return 8 } elseif ($1 == 12) { return 9 } elseif ($1 == 13) { return 10 } elseif ($1 == 14) { return 10 } elseif ($1 == 15) { return 11 } elseif ($1 == 16) { return 12 } elseif ($1 == 17) { return 13 } elseif ($1 == 18) { return 13 } elseif ($1 == 19) { return 14 } elseif ($1 == 20) { return 14 } elseif ($1 == 21) { return 15 } elseif ($1 == 22) { return 16 } elseif ($1 == 23) { return 17 } elseif ($1 >= 24) { return 18 } } } chkme { if ($me != $null) { return $me } else { return yournick } } wait { var %o = $calc($nnticks + $1) while ($nnticks < %o) { } } nntip { return $tip($trnum,$1,$2,,scripts\pics\nn.ico,,,) } tryremove { .remove $1- return :error reseterror write -c $1- } numonlyedit { var %f = $did($1,$2),%g = $did($1,$2,1).selstart if ($mid(%f,%g,1) !isnum) { did -ra $1-2 $remove(%f,$v1) did -c $1-2 1 %g } } surl { if (($dde(opera,WWW_GetWindowInfo)) || ($dde(firefox,WWW_GetWindowInfo)) || ($dde(netscape6,WWW_GetWindowInfo)) || ($dde(iexplore,WWW_GetWindowInfo,1))) && ($regex(url,$v1,/^"([^"]+)"\x2C"([^"]*)"(?:\x2C".*")?$/)) { say $sbr(Currently browsing) $regml(url,1) $iif($regml(url,2),$nbr($v1)) } else { thmerror -a No browser found. } } nnticks { if (%precisetiming) { if ($nndll(PerformanceCounter)) { return $v1 } else { unset %precisetiming thmerror -s Precise timing is not available on your PC. Option unset. return $calc($ticks /1000) } } else { return $calc($ticks /1000) } } loadhash { var %tb = scripts\tables\topichist.tbl scripts\tables\pexclude.tbl scripts\tables\black.tbl scripts\tables\awaypreset.tbl scripts\tables\peaks.tbl scripts\tables\rss.tbl scripts\tables\rssdone.tbl themes\data\vthm.tbl themes\data\thmcmp.tbl themes\data\thmprep.tbl while (%tb) { var %utb = $wd(%tb,1),%t = $left($nopath(%utb),-4) _hmake %t if ($isfile(%utb)) { hload -b %t %utb } %tb = $deltok(%tb,1,32) } } anyconnection { var %x = 0 scon -at1 var % $+ x = 1 return %x } thmdisp { if ($status == connected) { if ($ [ $+ [ $1 ] ]) { return $v1 } else { return Unknown } } else { return Not connected } } createpass { var %a if ($1 == -alnum) { %a = 1 tokenize 32 $2- } var %i = $iif($1 isnum 5-50,$int($1),$rand(10,15)),%r,%t,%z,%o while (%i) { %t = $r(1,$iif(%a,4,5)) if (%t isnum 1-2) { %z = $r(0,9) } elseif (%t == 3) { %z = $r(a,z) } elseif (%t == 4) { %z = $r(A,Z) } else { %z = $mid([]()<>?!+-*:=~$&/_|%#,$r(1,21),1) } if (%o !=== %z) && ($count(%r,%z) < 2) { %r = %r $+ %z } else { continue } %o = %z dec %i } $iif($isid,return,thmecho -a Created random $iif(%a,alpha-numeric) password:) %r } randslap { if ($1) { var %s = $read(scripts\txt\slaps.txt,n) if (%s) { [ [ $gettok(%s,2-,58) ] ] } else { me slaps $iif($1 == $me,himself,$1) around a bit with a large trout } } } bncnick { var %a = $psybnc.nick($1),%b = $sbnc.nick($1) return $iif(%a || %b,1,0) } bold { tokenize 44 $2- mdx SetFont $dname $* 14 700 Tahoma } osgen { if (!$istok(95 98 NT Me,$os,32)) { return 1 } } listsel { var %d = $iif($2,$1,$dname),%o = $iif($2,$2,$iif($1,$1,$did)),%i = $did(%d,%o).lines,%r while (%i > 1) { if (s isin $wd($did(%d,%o,%i),2)) { %r = %r %i } dec %i } return %r } remsfs { var %i = 2,%r = $gettok($1-,1,9) while ($gettok($1-,%i,9)) { %r = $+(%r, ,+ $wd($v1,2-)) inc %i } return %r } notice.chkwin { var %w = $specialcidwin(Notices) if (!$window(%w)) { window -nk0v %w thmecho %w Notice window for $thmhl($curconserv) opened on $thmhl($longtime) echo %w  } } mkfullfn { var %r = $remove($iif(!$regex($1-,/^"?[a-z]\:(\\.*)?/i),$mircdir) $+ $1-,") if ($prop == noqt) { return %r } else { return $qt(%r) } } relpath { var %f = $mkfullfn($1-) if ($+(",$mircdir,?*") iswm %f) { return " $+ $mid(%f,$calc($len($mircdir) +2) $+ -) } else { return %f } } hop { var %c = $iif($1,$1,$active) if (%c !ischan) { thmerror -a Invalid window! } else { if (%c == $active) { thmecho %c Attempting to rejoin $thmhl(%c) $+ ... } .hop %c $2- } } csauth.edit { set %cs.edit 1 noop $dialog(cs.add,cs.add,-4) if (%cs.chan) && (%cs.pass) { unset %pass.cs. $+ $did(settings,211).seltext set %pass.cs. $+ %cs.chan %cs.pass did -oc settings 211 $did(settings,211).sel %cs.chan } unset %cs.edit %cs.pass %cs.chan } awlog.edit { did -oc settings 85 $did(settings,85).sel $$eddialog(Enter the changed away log trigger!,$did(settings,85).seltext) set %away.log.trigger $mkregex($didtok(settings,85,44)) } awmsg.edit { did -oc settings 632 $did(settings,632).sel $$eddialog(Enter the changed away message exclude!,$did(settings,632).seltext) set %away.ad.excl $didtok(settings,632,44) } kickmsg.edit { did -oc settings 2333 $did(settings,2333).sel $$eddialog(Enter the changed kick message!,$did(settings,2333).seltext) savebuf -o $dname 2333 scripts\txt\kickmsg.txt prevbmp settings 2335 344 kick 2 $did(settings,2333).seltext } quitmsg.edit { did -oc settings 2323 $did(settings,2323).sel $$eddialog(Enter the changed quit message!,$did(settings,2323).seltext) savebuf -o $dname 2323 scripts\txt\quitmsg.txt prevbmp settings 2325 344 quit 2 $did(settings,2323).seltext } slaps.edit { var %x = $$eddialog(Enter the changed slap!,$did(settings,653).seltext) if (?*:?* iswm %x) { tokenize 58 %x did -d settings 653 $did(settings,653).sel did -ac settings 653 $1 $+ : $2- saveslaps prevbmp settings 658 344 action 2 * $chkme $replace($gettok($did(settings,653).seltext,2-,58),,$randnick) } else { errdialog slaps must be in the format "title: text", for example: "Crevasse: pushes into a crevasse" } } exclude.edit { var %o = $did(settings,332).seltext,%x = $$eddialog(Enter the changed exclude!,%o) if (%o != %x) { if (*!*@* !iswm %x) { errdialog you have to enter an exclude in nick!ident@host format! } elseif ($hget(pexclude,%x)) { errdialog you already added this exclude! } else { did -oc settings 332 $did(settings,332).sel %x hdel pexclude %o hadd pexclude %x 1 hsave -ob pexclude scripts\tables\pexclude.tbl } } } 8ball { if ($right($1-,1) != ?) { thmerror -a You have to ask a yes/no question! :) } else { var %a = $+(",$gettok(Signs point to yes|Yes|Reply hazy $+ $chr(44) try again|Without a doubt|My sources say no|As I see it $+ $chr(44) yes|You may rely on it|Concentrate and ask again|Outlook not so good|It is decidedly so|Better not tell you now|Very doubtful|Yes - definitely|It is certain|Cannot predict now|Most likely|Ask again later|My reply is no|Outlook good|Don't count on it,$r(1,20),124),.") if ($1 == -s) { say The 8-Ball's answer to $qt($2-) is: %a } else { thmecho -a The 8-Ball's answer to $thmhl($1-) is: %a } } } loadfonts { nndll GetFonts var %t = $hget(fonts,0).item while (%t) { did -a $1-2 $replace($hget(fonts,%t).item,,$chr(32)) dec %t } if ($hget(fonts)) { hfree fonts } } isfont { nndll GetFonts var %r = 0 if ($hget(fonts,$replace($1,$chr(32),))) { %r = 1 } if ($hget(fonts)) { hfree fonts } return %r } clr { if ($1 == -a) { clear $active } elseif ($1 == -e) { var %i = $window(*,0),%a while (%i) { %a = $window(*,%i) if (!$vwin(%a)) { clear %a } dec %i } } elseif ($1 == -c) { scon -a clr -e } } server.dlg { server $1 $$eddialog(Please enter a server to connect to.) } popdll.color { xpopup -p $1 $rgb(hilight) $rgb(face) $rgb(3dlight) $rgb(shadow) $rgb(shadow) $rgb(shadow) $rgb(3dlight) $rgb(shadow) $rgb(shadow) $rgb(text) } popdll.new { set %xpopup.tmpname $trnum xpopup -c %xpopup.tmpname office2003 popdll.color %xpopup.tmpname } popdll.add { xpop -a %xpopup.tmpname $gettok($1-,1,1) if ($gettok($1-,2-,1)) { set %xpopup.tmpcmd. [ $+ [ $wd($gettok($1-,2-,9),2) ] ] $v1 } } popdll.disp { xpopup -s %xpopup.tmpname +lt $nndll(MousePos) xpopup -d %xpopup.tmpname unset %xpopup.tmpname %xpopup.tmpcmd.* } q.changepass { var %x = $$epdialog(Enter your new password) .msg q newpass $decode(%pass.q,m) %x %x thmecho -a Changing Q password... set %pass.q $encode(%x,m) } randnick { var %c = $chan($r(1,$chan(0))),%n = $nick(%c,$r(1,$nick(%c,0))) if (%n) && (%n != $me) { return %n } else { return $wd(someone dude pal guy greeny mute,$r(1,6)) } } cmdlist { nndlg -m cmdlist if ($1 == -l) { did -f cmdlist 2 loadbotcmds l } elseif ($1 == -b) { did -f cmdlist 7 loadbotcmds b } elseif ($1 == -x) { did -f cmdlist 11 loadbotcmds x } elseif ($1 == -q) { did -f cmdlist 1 loadbotcmds q } elseif ($1 == -s) { did -f cmdlist 13 loadbotcmds s } else { loadbotcmds n } } loadbotcmds { did -r cmdlist 3 did -ra cmdlist 4 Please choose a command! filter -k scripts\txt\cmdlist.txt loadbotcmds.filter $+([,$1,_?*]) } loadbotcmds.filter { did -a cmdlist 3 $mid($1-,4,-1) } server { if ($regex($1,/^-[sar]+$/)) { !server $1- } else { var %prm = $1,%g = $1-,%ä,%ö,%ü = $1,%m,%x,%n,%q,%s,%nm = $iif($me,$me,NNUser),%na = $iif($anick,$anick,[NNUser]),%ne = $iif($emailaddr,$v1,nn@us.er),%nf = $iif($fullname,$v1,NoNameScript user) if (-* iswm $1) { %n = $2 } else { %n = $1 } if (%autoconserv. [ $+ [ %n ] ]) { tokenize 32 $v1 if ($gettok(%nsset. [ $+ [ %n ] ],5,32)) { %s = $v1 } if ($1- != $null) && (($1 != &null) || ($2 != &null) || ($3 != &null) || ($9- != &null)) { %x = -i $iif(%awretain && $gettok(%away.status,3,32),$v1,$iif($1 != &null,$1,$iif(%s,%s,%nm))) $iif($2 != &null,$2,%na) $iif($3 != &null,$3,%ne) $iif($9- != &null,$9-,%nf) } if ($8 != &null) { %n = $8 } %q = $+($iif($6,$+($iif(p !isincs %prm,p),$iif(f !isincs %prm,f),$iif(o !isincs %prm,o))),$iif($7 && $sslready,e),$iif(-* iswm %ü,$mid(%ü,2-))) if ($regex(sr1,%g,/( -i [^ ]+ [^ ]+ [^ ]+ [^ ]+)/)) { %ö = $regml(sr1,1) } if ($regex(sr2,%g,/( -jn [^ ]+(?: [^ ]+)?)/)) { %ä = $regml(sr2,1) } noop $regsub(%n,:,$chr(32),%n) $regsub(%n,:,$chr(32),%n) !server $iif(%q,- $+ %q) %n $iif(%ö,%ö,$iif(%x,%x,$iif(%s,-i %s %na %ne %nf))) %ä } else { !server $1- } } } savetitlebar { var %s,%o = %titlebar,%e = %titlebar.edit set %titlebar.edit $strip($did(settings,2380)) set %titlebar $replaceidents(%titlebar.edit) if (@* iswm %titlebar) { set %titlebar $!chr(64) $iif($mid(%titlebar,2,1) != $chr(32),$!+) $mid(%titlebar,2) } titlebar.ctmr } edlen { var %i = $did($1,$2).lines,%r = 0 while (%i) { inc %r $len($did($1,$2,%i)) dec %i } return %r } edtxt { var %i = $did($1,$2).lines,%r while (%i) { %r = $did($1,$2,%i) $+ %r dec %i } return %r } _do { $1- } _hmake { if ($hget($1)) { hfree $1 } hmake $1- } ad { advertise } advertise { var %x = 12( NoNameScript $replace(%version,.,.) 12:: by greeny & mute 12:: www.nnscript.com 12:: www.regroup-esports.com 12) me $iif($cchan($active),$strip(%x),%x) } aidle { var %t = $timer(0) while (%t) { if ($+(ialq.,$cid,.*) iswm $timer(%t)) || ($uptime(server,3) < 60) { return } dec %t } .msg $me AIDLE } anydcc { var %g = $get(0),%s = $send(0) while (%g) { if ($get(%g).status == active) { return 1 } dec %g } while (%s) { if ($send(%g).status == active) { return 1 } dec %s } } chkrgb { return $iif($regex($1,/^\d+\x2C\d+\x2C\d+$/),$rgb( [ $1 ] ),0) } ascii { nndlg -m ascii } asecho { return $iif($cid == $activecid,-a,-s) } authchk { if ($status == connected) { if (!%q.auth.nick) || (!%pass.q) { if ($ydialog(You forgot to set your Q auth settings in the options dialog! Would you like to set them up now?)) { setup -c 4 2 } halt } elseif (!%q.authed. [ $+ [ $cid ] ]) { errdialog you're not authed! Please auth before using this feature. halt } } else { errdialog you're not connected to the server! halt } } savenetdata { var %s = $iif($remove($did(settings,121),$chr(32)),$v1,&null) $iif($remove($did(settings,122),$chr(32)),$v1,&null) $iif($remove($did(settings,120),$chr(32)),$v1,&null) $did(settings,123).state $did(settings,124).state $did(settings,125).state $did(settings,324).state $iif($did(settings,136).sel != 1,$remove($gettok($did(settings,136).seltext,2,160),$chr(32)),&null) $iif($remove($did(settings,92),$chr(32)),$did(settings,92),&null) if (%s != &null &null &null 0 0 0 0 &null &null) { set %autoconserv. $+ $did(settings,961).seltext %s } else { unset %autoconserv. $+ $did(settings,961).seltext } if ($remove($did(settings,121),$chr(32))) { set %nick.def. $+ $did(settings,961).seltext $v1 } else { unset %nick.def. $+ $did(settings,961).seltext } if ($did(settings,1579).seltext == $did(settings,961).seltext) { if ($did(settings,121)) { did -ra settings 637 Default nick (from favs) did -bra settings 81 $v1 } else { did -ra settings 637 Default nickname did -era settings 81 %nick.def. [ $+ [ $did(settings,961).seltext ] ] } } } loadnetdata { var %n = $1 did -ra settings 71 Network data $iif(%n,$nbr(%n)) if (!%n) { did -b settings 71,72,74,75,91,123,124,92,120,121,122,125,134,136,128,324 did -r settings 136 } else { did -e settings 71,72,74,75,91,123,124,125,134,136,128 if ($sslready) { did -e settings 324 } tokenize 32 %autoconserv. [ $+ [ %n ] ] did -era settings 121 $iif($1 != &null,$1) did -era settings 122 $iif($2 != &null,$2) did -era settings 120 $iif($3 != &null,$3) did $iif($4,-c,-u) settings 123 did $iif($5,-c,-u) settings 124 did $iif($6,-c,-u) settings 125 did $iif($7,-c,-u) settings 324 did -ra settings 136 > Random server if ($isfile($serversini)) { window -h @loadprefservs loadbuf -tservers @loadprefservs $serversini filter -k @loadprefservs lnet.serv n?*=?*SERVER:?*GROUP: $+ %n close -@ @loadprefservs } if (!$8) || ($8 == &null) { did -c settings 136 1 } else { if ($didwm(settings,136,* $+ $8,1)) { did -c settings 136 $v1 } else { did -a settings 136 Unknown $+($nbr($gettok($8,1-2,58)),$str( ,200),$8) if ($didwm(settings,136,* $+ $8,1)) { did -c settings 136 $v1 } } } did -era settings 92 $iif($9- != &null,$9-) } } autocon { if ($1 == -a) { var %x = 960,%y = 961 } else { var %x = 961,%y = 960 } var %d = $did(settings,%x).sel,%v = $did(settings,%x).seltext if (%d) { if ($1 == -a) && (($numtok(%autoconservs,32) > 50) || ($len(%autoconservs %v) > 600)) { errdialog you cannot add any more networks to the list. } else { if ($1 != -a) { unset %autoconserv. [ $+ [ %v ] ] did -b settings 971,972 if ($did(settings,1579).seltext == $did(settings,961).seltext) { did -ra settings 637 Default nickname did -era settings 81 %nick.def. [ $+ [ $did(settings,961).seltext ] ] } } set %autoconservs $ [ $+ [ $iif($1 == -a,add,rem) ] $+ ] tok(%autoconservs,%v,32) did -a settings %y %v did -d settings %x %d if ($did(961).sel) { did $iif($did(settings,961).sel == $did(settings,961).lines,-b,-e) settings 972 did $iif($did(settings,961).sel == 1,-b,-e) settings 971 } else { did -b settings 971,972 } did -b settings $calc(%x +2) loadnetdata $did(settings,961).seltext } } } c.add { var %x if (! !isin $1) && (@ !isin $1) { %x = $1 $+ !*@* } elseif (! isin $1) && (@ !isin $1) { %x = $1 $+ @* } elseif (! !isin $1) && (@ isin $1) { %x = *! $+ $1 } else { %x = $1 } return $remove(%x,$chr(32),$chr(44)) } cap { return $upper($left($1-,1)) $+ $lower($right($1-,-1)) } cchan { if (c isincs $gettok($chan($1).mode,1,32)) { return 1 } } joinretry.do { if (!%joinretry. [ $+ [ $cid ] ]) { .timerjoinretry. $+ $cid off } else { join -n %joinretry. [ $+ [ $cid ] ] } } nickretry.do { if (!%nickretry. [ $+ [ $cid ] ]) { .timernickchg. $+ $cid off } else { nick %nickretry. [ $+ [ $cid ] ] 1 } } channel { cc $1- } specialday { var %d = $asctime(ddmm) if (%d == 0101) { return Happy new year to you! } elseif (%d == 1402) { return Want to be my valentine? <3 } elseif (%d == 1703) { return It's St. Patrick's day, time to get some booze! } elseif (%d == 1205) { return Happy $ord($calc($asctime(yyyy) -1984)) birthday greeny! :) } elseif (%d == 3110) { return Trick or treat? } elseif (%d == 0612) { return Beware of Santa Claus! } elseif (%d == 2412) || (%d == 2512) || (%d == 2612) { return We wish you a merry christmas... *sings* } } chgday { thmecho -a Day changed to $thmhl($asctime(dddd $+ $chr(44) mmmm doo yyyy)) $+ . $specialday .timerdcre 1 300 .timerdc -io 00:00 1 0 chgday } wd { return $gettok($1,$2,32) } nomsg { if ($status != connected) || (($active !ischan) && (!$query($active)) && (!$chat($mid($active,2)))) { return 1 } } closewins { var %i = $window(0) while (%i) { if (!$vwin($window(%i))) { close -@ $window(%i) } dec %i } } chkdccs { if ($isfile($2-)) { dcc send $1- } else { thmerror -a The file $2- does not exist anymore! } } chkhlwin { var %w = $specialcidwin(Highlight) if (!$window(%w)) { window -nk0v %w thmecho %w Highlight window for $thmhl($curconserv) opened on $thmhl($longtime) echo %w  } } chkmdir { var %x noop $regsub($mircexe,\s+,$chr(32),%x) return $isfile(%x) } chkudir { var %d = $nndll(GetEV,AppData) if (!%d) { return $true } var %x noop $regsub(%d,\s+,$chr(32),%x) return $isdir(%x) } chkqcls { var %x = $query(0) while (%x) { if (%qcls.ls. [ $+ [ $cid ] $+ ] . [ $+ [ $query(%x) ] ] isnum) && ($calc($ctime - $v1) >= %qcls.secs) && (!$istok(message highlight,$window($query(%x)).sbcolor,32)) && ($query(%x) != $active) { close -m $query(%x) } dec %x } } chnm { if ($1 isincs $wd($chan($2).mode,1)) { return 1 } } cpdsel { return $iif($did(settings,$1).sel,$v1,1) } cprog { nndlg -m cprog } open { var %g if ($1 == -g) { %g = 1 tokenize 32 $2- } if ($cr $+ * iswm $1-) { errdialog no path specified. } else { tokenize 13 $1- var %f = $mkfullfn($1) if ($exists(%f)) { if (%g) { showmirc -m } run -p %f $2 } else { errdialog the specified path/file $nbr(%f) does not exist. Perhaps you forgot to enclose the path in quotation marks? } } return :error reseterror errdialog $1- could not be launched. } cprogrun { run $1- return :error reseterror errdialog $1- could not be launched. } cs.chanauth { var %c = $$1 tokenize 32 %pass.cs. [ $+ [ $network ] $+ ] . [ $+ [ %c ] ] if ($1-) { $iif(!$wd(%nsset. [ $+ [ $network ] ],1),!.msg) !chanserv identify %c $decode($1,m) } } curconserv { if ($status == connected) && ($network !isnum) { if ($network) { return $network } else { return $server } } else { return disconnected } } dayavg { var %z = $calc($1 /(($ctime - %install.time)/86400)) if ($2 != $null) { %z = $round(%z,$2) } return %z } dbclick { var %x = $right($1,1) tokenize 32 $2- if ($mouse.key & 2) { if (%dbc. [ $+ [ %x ] $+ ] .ctrl) { .timer 1 0 _do [ [ $v1 ] ] } } elseif ($mouse.key & 4) { if (%dbc. [ $+ [ %x ] $+ ] .shift) { .timer 1 0 _do [ [ $v1 ] ] } } else { if (%dbc. [ $+ [ %x ] $+ ] .def) { .timer 1 0 _do [ [ $v1 ] ] } } } mailnum { return $iif(%email.checker,$iif($int(%mail.curin) isnum,$v1,n/a),n/a) } loadidents { didtok $1-2 44 1 + 0 0 0 + 0 0 0 The amount of lines and data currently in your clipboard,1 + 0 0 0 + 0 0 0 The first three lines currently in your clipboard,1 + 0 0 0 + 0 0 0 The number of channels you have joined on the current connection,1 + 0 0 0 + 0 0 0 The duration you have been connected to the current server,1 + 0 0 0 + 0 0 0 The current date,1 + 0 0 0 + 0 0 0 You current DCC download bandwidth,1 + 0 0 0 + 0 0 0 Your current idle time,1 + 0 0 0 + 0 0 0 Your current IP address,1 + 0 0 0 + 0 0 0 Your lag on the current server in milliseconds,1 + 0 0 0 + 0 0 0 The mIRC version you're using,1 + 0 0 0 + 0 0 0 The network you're currently connected to,1 + 0 0 0 + 0 0 0 Your current nickname,1 + 0 0 0 + 0 0 0 The NoNameScript version you're using,1 + 0 0 0 + 0 0 0 The latest RSS news received didtok $1-2 44 1 + 0 0 0