mIRC Home    About    Download    Register    News    Help

Print Thread
#60209 13/11/03 06:34 PM
K
kamelion
kamelion
K
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,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
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.
#60211 13/11/03 06:57 PM
Joined: Apr 2003
Posts: 413
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 413
Only Khaled know wink Seem to be a bug.. Maybe some protection..

#60212 15/11/03 10:45 AM
Z
Zerg
Zerg
Z
some protections i think
note that @mdi and another win (i can't remember the name) are unavailable too


Link Copied to Clipboard