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 /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: Select all

on *:action:*:#18-25:{

  /haltdef 

}
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: Select all

on *:action:*:#18-25:{

  /haltdef

}
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: Select all

on *:ACTION:*:#18-25:{
  halt
  haltdef
}
edit: last try, otherwise i don't know lol...might put double quotes around the channel name, not sure anymore o.o

Code: Select all

on *:ACTION:*:*:{
  if (#18-25 == $channel) { halt | haltdef }
}
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: Select all

^1:action ....
...
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”