mIRC Home    About    Download    Register    News    Help

Print Thread
#166166 07/12/06 11:07 AM
Joined: May 2005
Posts: 54
M
Mlupu Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 54
Code:
on *:WALLOPS:*: { 
if !$window(@Wallops) { window -ae @Wallops }  
aline @Wallops 4 $nick  at $time (wallops) $1-
}
menu @Wallops {  
$style(2) Wallops { }
-
cmdshere
}



This code is for wallops.
When X responds to my commands I want it to send the notice in a new window named @Notice and not on the channel where I gave the command.
Can you help me dudes ? Thanks a lot.


/server IRC.RomaniaIRC.ORG
Mlupu #166168 07/12/06 11:38 AM
Joined: May 2006
Posts: 93
Babel fish
Offline
Babel fish
Joined: May 2006
Posts: 93
I didn't understand what you exactly want to do, maybe something like:
Code:
aline @notice your text

create the window with:
Code:
window @notice

Taggnostr #166171 07/12/06 12:08 PM
Joined: Oct 2003
Posts: 313
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
And probably use something like:

Code:
on X:NOTICE:*:?: { ... }


to catch notices from X (where I have assumed X's hostmask has been added to the userlevel X)


Sais
Sais #166196 07/12/06 04:07 PM
Joined: May 2005
Posts: 54
M
Mlupu Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 54
Code:
on X:NOTICE:*:?: { 
if !$window(@Notice) { window @Notice }  
aline @Notice $time (X) $1-
}
menu @Notice {  
$style(2) Notice { }
-
cmdshere
}



Is not working. I want all the notice who X send me, to be in a differend and single window. You understand what i'm trying to do ?


/server IRC.RomaniaIRC.ORG
Mlupu #166211 07/12/06 08:56 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
It works perfectly here if you have X in your userlist.

type:

/guser x x 5

on the command line and test it


I refuse to engage in a battle of wits with an unarmed person. wink
CtrlAltDel #166243 08/12/06 05:25 AM
Joined: May 2005
Posts: 54
M
Mlupu Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 54
I had added X in userlist, but is not working... frown
Is still something who don't want work....I do not know what!


/server IRC.RomaniaIRC.ORG

Link Copied to Clipboard