mIRC Home    About    Download    Register    News    Help

Print Thread
#21707 30/04/03 11:42 PM
Joined: Apr 2003
Posts: 3
M
MaTTiE Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Apr 2003
Posts: 3
it would be good if on input wasn't evaluated if the first character/s is / or //, i know it would probably be possible to script fixes but not evaluating would be good

#21708 01/05/03 02:37 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
But maybe some people want it to trigger for / commands. I see no reason to remove this support other than you don't want to take the time to add an extra if statement.

#21709 01/05/03 01:27 PM
Joined: Apr 2003
Posts: 3
M
MaTTiE Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Apr 2003
Posts: 3
well / will trigger a command anyway...
/rar will run the rar alias (unless you have an on input) so there isnt much point in using it for this

Last edited by MaTTiE; 01/05/03 01:27 PM.
#21710 01/05/03 07:18 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Code:
on 1:INPUT:*: {
  if ($left($1, 1) != $readini(mirc.ini, text,commandchar)) {
    ;commands
  }
}


That will void the '/' character, making alias execution possible, but allow the input to hand everything else.


-KingTomato

Link Copied to Clipboard