There is someone I came across recently. it's not that huge problem. but I would like to see it in the future.
When I try to write a multiple-line command "event" the bracket
{ comes after it and then if I want an
if condition statement normally it will be the second line after the event itself. but if I tried to put the
if condition after the event directly (I meant between the event and the
{ bracket it won't work. try both examples:
on *:input:*:{
if /* !iswm $1 {
msg $active x $1-
halt
}
}
We've all seen this before. it will work. now see the other one with the small difference I tried.
on *:input:*:if /* !iswm $1 {
msg $active x $1-
halt
}
It won't!!
Keep in your mind that this thing doesn't only happen in the on input event. but that's what I tried to do and I would like you to test/try.