Fisher
xTeam
If a Stamped Ever Happens to Run at You, Never Stop and Shout Jumangi, it Doesn't Work!!!!
Posts: 3,187
|
Post by Fisher on Aug 3, 2003 16:11:29 GMT -5
i finally got the switchbar docked..thanx...now i cant figure out this partbr]raw 311:*:{ window -k @Whois " $+ $mircexe $+ " 0 aline @Whois 14 Start of /Whois for $2 halt } above is the code to say the start of a whois in an @window...i want to get it to say in a dialog....i cant figure it out...this is what i triedbr]raw 311:*:{ did -a $dname 2 $irc(2) }
btw $irc($2) is my name decoder...i wrote my own instead of using vincullas or decode.dll
|
|
|
Post by Cybah (Omega) on Aug 3, 2003 17:17:18 GMT -5
First br]$dname only works on a dialog event (on *: dialog ... ) so you'll have to put the name of the dialog. Second br]you don't want to get a dialog error everytime you do a whois so put and $dialog in the raw if ($dialog(dialogname)) { code } The result should be something like this raw 311:*:{ if ($dialog(dialogname)) { did -a dialogname 2 $irc($2) } }
|
|
Fisher
xTeam
If a Stamped Ever Happens to Run at You, Never Stop and Shout Jumangi, it Doesn't Work!!!!
Posts: 3,187
|
Post by Fisher on Aug 4, 2003 10:26:37 GMT -5
|
|
|
Post by Cybah (Omega) on Aug 4, 2003 14:54:51 GMT -5
Raws ...
raw 311:*:{ if ($dialog(switchbar)) { did -a switchbar 21 $irc($2) did -a switchbar 22 $iif($remove($6,:),$ifmatch,$null) did -a switchbar 23 $3- } } raw 312:*:{ if ($dialog(switchbar)) { did -a switchbar 25 $3- } } raw 317:*:{ if ($dialog(switchbar)) { did -a switchbar 26 $asctime($4) did -a switchbar 27 $3 secs } } raw 319:*:{ if ($dialog(switchbar)) { did -a switchbar 24 $3- } }
Reset and ID Use the -r flah when adding the new text. did -ra switchbar 1 newtext and old will disapear
If you just use did -r switchbar 1 it will clear the ID without adding somethin.
|
|
Fisher
xTeam
If a Stamped Ever Happens to Run at You, Never Stop and Shout Jumangi, it Doesn't Work!!!!
Posts: 3,187
|
Post by Fisher on Aug 4, 2003 15:00:08 GMT -5
i think i get it...this?br]raw 312:*:{ if ($dialog(switchbar)) { did -ra switchbar 25 $3- } }
|
|
|
|
Post by Cybah (Omega) on Aug 4, 2003 16:23:45 GMT -5
Eurm,so you want the control panel (that's open) in your witchbar?
Why don't you give me a priv msg with ur mail and I add you.Just send the file with the whole code and I'll try to doit for ya mkay?
|
|
|
Post by DestroyerX on Aug 4, 2003 22:25:16 GMT -5
where the hell is ur nicklist . And Switchbar..
|
|
|
Post by Cybah (Omega) on Aug 5, 2003 3:32:13 GMT -5
He doesn't have a nicklist because he ain't in a room ;D
|
|
|
Post by Dangermouse on Aug 5, 2003 3:39:59 GMT -5
Why isnt this in mirc, hes not having problems with the dll, hes having problem with the dialogs alias ownerkey { if ($2 == ownerkey) { return $3- } } $ownerkey(blah,ownerkey,wee) Would return wee
|
|
|
Post by Cybah (Omega) on Aug 5, 2003 4:07:52 GMT -5
why would u use that alias :x
alias ownerkey { if ($2 == ownerkey) { return $3- } }
echo -a $ownerkey(blah,ownerkey,wee)
returns wee but if you just use 'echo -a wee' it also works ;D
Explain what you're gonna do with that alias,use and example.
|
|
Fisher
xTeam
If a Stamped Ever Happens to Run at You, Never Stop and Shout Jumangi, it Doesn't Work!!!!
Posts: 3,187
|
Post by Fisher on Aug 5, 2003 11:19:55 GMT -5
i got that part fixed its here because its a problem with the dll i think.... ok...im currently formating my comp and this is my mas comp, il pm you and send the file once i get mines fixed, thanx
|
|