BLocking /me actions

News, Snippets & Assistance with IRC scripting

Moderators: Moderator, Global Moderator

Post Reply
Tibs
Global Moderator
Global Moderator
Posts: 1106
Joined: Tue Jun 15, 2004 4:59 pm

BLocking /me actions

Post by Tibs »

It's been ages since someone posted anything in here <img src=\'http://www.killanet.net/forum3/public/s ... >/ohmy.gif\' class=\'bbc_emoticon\' alt=\':o\' />

Well here goes:

I want to block the /me actions other people send ( because they are bugging me with mp3 messages ... )

So far I tried this

[code]on *:action:*:#18-25:{

/haltdef

}[/code]

but this doesn't seem to work

However, if I place an echo event inside those brackets, to check if the on action works, I get the echo ...

Anyone?
...
Jim
Administrator
Administrator
Posts: 1324
Joined: Thu Jun 17, 2004 12:37 am

BLocking /me actions

Post by Jim »

[code]on *:action:*:#18-25:{

/haltdef

}[/code]

the only things I can think of is putting in "halt" above the "haltdef"...but it's been forever since I actually did anything in mIRC :\

something like this, maybe?
[code]on *:ACTION:*:#18-25:{
halt
haltdef
}[/code]
edit: last try, otherwise i don't know lol...might put double quotes around the channel name, not sure anymore o.o
[code]on *:ACTION:*:*:{
if (#18-25 == $channel) { halt | haltdef }
}[/code]
Last edited by Jim on Wed Jul 16, 2008 5:43 pm, edited 1 time in total.
Love is all a matter of timing.

It's no good meeting the right person too soon or too late.

If I'd live in another time or place...

...my story might have had a very different ending.
Tibs
Global Moderator
Global Moderator
Posts: 1106
Joined: Tue Jun 15, 2004 4:59 pm

BLocking /me actions

Post by Tibs »

Ok, I found it.

It should be

[code]^1:action ....[/code]
...
Jim
Administrator
Administrator
Posts: 1324
Joined: Thu Jun 17, 2004 12:37 am

BLocking /me actions

Post by Jim »

ohhh, yea...i forgot about the caret (^) shows how long it's been x.x
Love is all a matter of timing.

It's no good meeting the right person too soon or too late.

If I'd live in another time or place...

...my story might have had a very different ending.
Post Reply

Return to “IRC Scripting”