mIRC Home    About    Download    Register    News    Help

Print Thread
#60209 13/11/03 06:34 PM
Joined: Jul 2003
Posts: 19
K
Pikka bird
OP Offline
Pikka bird
K
Joined: Jul 2003
Posts: 19
I made a notice script so that every notice will be shown in a custom window, but when a user called mIRC noticed me there was an error,
* /window: invalid parameters (line 532, theme.ini)
Appearantly mIRC does not allow windows to be called @mIRC...
Bug or just a no-no? smile

#60210 13/11/03 06:48 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Code:
on ^*:NOTICE:*:*:{
 if ($window(@mIRC) == $null) { window -ng1 @mIRC }
echo @mIRC $1- | haltdef
}

this code will halt the default notice text.. and echo it to @mIRC.. if you want to see the default notice text too, then just remove: | haltdef

and the code going in to remote.. ALT + R in your mirc..

Last edited by sparta; 13/11/03 06:51 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#60211 13/11/03 06:57 PM
Joined: Apr 2003
Posts: 414
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
Only Khaled know wink Seem to be a bug.. Maybe some protection..


mIRC Chm Help 6.16.0.3 Full Anchored!
#60212 15/11/03 10:45 AM
Joined: Oct 2003
Posts: 25
Z
Ameglian cow
Offline
Ameglian cow
Z
Joined: Oct 2003
Posts: 25
some protections i think
note that @mdi and another win (i can't remember the name) are unavailable too


Link Copied to Clipboard