mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2004
Posts: 13
S
Pikka bird
OP Offline
Pikka bird
S
Joined: Mar 2004
Posts: 13
on ^*:text:*[[/b]*]*:#rap-albums: { haltdef | echo -a yo }

it echos in the chan, but doesn't halt the default text. y is this?

EDIT: added [[/b]\b] to make his text show.

Last edited by Hammer; 08/03/04 04:51 PM.
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Your script looks fine, provided your original matchtext was *[[/i]*]*
Open your remote and see if you have other "on text" scripts with a custom /echo.

Joined: Sep 2003
Posts: 58
S
Babel fish
Offline
Babel fish
S
Joined: Sep 2003
Posts: 58
on ^*:text:*
*:#rap-albums: { haltdef | echo -a yo }


shouldn't it be :

on ^*:text:*:#: {
if ($chan == #rap-albums) { haltdef | echo -a yo }
}

could be wrong...
didn't script for a while...


***************************
To chat, or not to chat.
That's the question
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
See /help on text, a channel name can be specified instead of just #. Actually, you can specify several channels, separated by comma -
  • On *:text:*:#hello,#world:{ ... }
And the reason his script appears in two line is that the forum engine parsed a part of the matchtext, [[/i]*], as the HTML tag <li>. Not his fault laugh

Joined: Sep 2003
Posts: 58
S
Babel fish
Offline
Babel fish
S
Joined: Sep 2003
Posts: 58
aha...
Forms don't know how to script laugh


***************************
To chat, or not to chat.
That's the question

Link Copied to Clipboard