| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> good nite cya <1> what is a code in $1- raws without strip of spaces? who knows and can help:) <2> eh? <2> try rephrasing that, it didn't make much sense <3> so like for on open? * <3> If ($nick). <3> Nd /echo $nick Stuff like common channels with $nick. <3> Am I to /echo $color(background) $nick. <3> As opposed to /echo $nick $nick, 3nd $nick returns the $nick. <3> 2nd* <3> Like a snail. <3> Blames it on my right eye today. <4> snails type? <2> slowly <2> :>
<3> I'm trying to /echo text the color of backround in query for on open. <2> echo background $nick <stuff> <3> Okay, using /echo $color(background) $nick Common channels: $comchan($nick,1). <3> Oh. <3> No $color()? <2> oops <2> echo -c background $nick <stuff> <3> K. <2> or echo $colour(background) $nick <stuff> <2> either should work <3> Ah okay, I had it reversed. <2> /echo [color] [-cdeghiNtsaqlbfnmr] [color name] [#channel|[=]nick] <text> <2> although I don't see much point in echoing things in the b/g colour. :) <4> makes things clearer <2> /clear does, too <2> :D <3> Well. <3> It's just so if I wanted to know comchans. <3> I'd just highlight up. <3> And it'd be there. <3> Otherwise it's just like any ordinary private message window opening. <3> Hey sais. <3> //if $chan echo -a $true | else echo -a $false <3> * /if: 'echo' unknown operator <2> try using () and {} <2> it is having problems parsing the line without them <3> /q Sais <3> * /queryrn: invalid window <3> if ($query($active)) echo $true { <2> use a target with echo, maybe <3> I have a /q alias, for if (!$query($active)) { and if ($query($active)) {. <3> And it's triggering for if ($query($active)). <3> //if ($query($active)) echo $true { <--That won't work, but if I put it in an alias, it will. <3> So I typed /q Sais and in here it echo's $true. <3> So mIRC apparently can't differentiate between if (!$query($active)) and ($query($active)). <3> /q { <3> if (!$query($active)) { <3> if ($2 == $null) { <3> /query $$1 <3> } <3> if ($2 != $null) { <3> /queryrn $query($active) $2 <3> } <3> } <3> if ($query($active)) echo $true { <3> /queryrn $query($active) $$1 <3> } <3> } <3> So /q Sais will /echo $true. <3> :((. <5> why do you keep using $active? <3> If in channel I type /q it will /query $$1. <3> But in query, it will /queryrn ruqerynick $. <3> But /q nick will /query nick and /queryrn.. <3> But here it isn't $query($active). <3> So I duno why it triggers it. Heh. :/ <3> <3> if (!$query($active)) { <---Added an echo $true <3> So when I /q nick. <3> I get $true twice. <3> So it triggered for both (!$query($active)) and ($query($active)).
<5> um.. <3> I was hoping the! Would negate.. <2> have you checked what $active is? <3> #mirc <2> hmm <5> if you open a query window, chances are that it will become $active <3> Yes. <2> so you have a query to #mirc? <3> No. <3> /q nick does /query nick <5> you should consider using elseif <2> or just else <3> //if (!$query($active)) echo $true <--That works fine, but i dont know why the alias triggers for ($query($active)) <3> *shrug..* <5> i also don't understand the /queryrn $query($active) if (!$query($active)) <5> if the active window isn't a query, then rename the active query window.... <3> Woops, $1. <3> Er woops $1 $2. <3> So in #mIRC, /q nick = /query nick and /q word1 word2 = /queryrn querynick newquerynick. <3> But I still don't get the other. <5> if (!$query($active)) { <5> if ($2 == $null) { <5> query $$1 <5> } <5> } <5> if ($query($active)) { ... <3> /q if (!$query($active)) echo $true { ... } | if ($query($active)) echo $true { ... } <3> Echoes $true for both. <3> Sec. <5> you create a query, which becomes active <5> then the 2nd if is true <3> But then it wouldn't /echo $true in the channel. <5> the echo should go inside the {}'s, btw <3> It would have to echo $true in the query? <3> K. <5> what are you wanting to do again?L <3> The if ($query($active)) should not even have been triggered when I typed /q random here. <5> q { <5> if (!$query($active)) { <5> if ($2 == $null) query $$1 <5> else queryrn $1 $2 <5> } <5> else { <5> if (!$query($1)) query $$1 <5> else queryrn $1 $$2 <5> } <5> } <3> Bleh okay else is ugly. <2> why make mIRC do more work than it needs to? <6> its my little mule <3> Oh okay...if ($query($1). <7> Neal what are u trying to do <2> pspking: Good question :D <7> i went thru that code and didnt understand the point of it <2> tbh I only glanced at it. <7> sais u remember the script that i told u that i wanted to write... <7> its gonna be a lot of work.. <2> pspking: My memory is clouded by drink :) <2> what script was that? <7> in my mirc folder i have a folder called myscripts which contains all of my mirc scripts that ive written <7> i want to be able to sync it between an ftp server every time i open and close mirc <2> ahh <2> How far have you got with ti? <2> it* <7> ive written the code to download it from the ftp server but theres a lot of things to consider <7> and i downloaded the command line version of 7-zip which is a good freeware compression program <3> Pspking. <6> sp? <3> To ave mIRC differentiate between if ($query($active)) and if (!$query($active)). <3> have* <3> I used echo true1 and echo true2 and it echo'd both so I'll probably submit that to mirc forums. <3> Not sure why the if's inside it had anything to do with it. <3> Off to get haircut. <7> Sais if i want to download the mirc scrips but not perform the onload command for each, then would i have to also sync the mirc ini
Return to
#mirc or Go to some related
logs:
remove public/pickup: Permission denied postfix #computers salary for oceanologist
#hardware #stocks #politics #nhl #windows #nhl villageladies+hack
|
|