mIRC Homepage
Posted By: Hooligan ban on /me or /ame - 04/01/06 05:42 PM
Need a lil script to do that ...
Posted By: Hooligan Re: ban on /me or /ame - 04/01/06 05:45 PM
On @*:ME:*:#cs: {
if ($nick isreg $chan) ban -k $chan $nick 3 nachuj! $+($nick,.)
}

this one doesn't work for me...
Posted By: CtrlAltDel Re: ban on /me or /ame - 04/01/06 05:53 PM
/help on action

should tell you what you need (/me and /ame are action commands)
Posted By: Hooligan Re: ban on /me or /ame - 04/01/06 06:23 PM
aint helping much ...
Posted By: RaPaTTaCK Re: ban on /me or /ame - 04/01/06 06:33 PM
/me just sends a 'action' message in private or public. Nothing less, nothing more.
Posted By: MikeChat Re: ban on /me or /ame - 04/01/06 07:17 PM
Quote:
On @*:ME:*:#cs: {
if ($nick isreg $chan) ban -k $chan $nick 3 nachuj! $+($nick,.)
}

this one doesn't work for me...


On @*action:*:#cs: {
if ($nick isreg $chan) ban -k $chan $nick 3 nachuj! $+($nick,.)
}

Quote:

on TEXT

The on TEXT event triggers when you receive private and/or channel messages.


Format: on <level>:TEXT:<matchtext>:<*><?><#[,#]>:<commands>
Example: on 1:TEXT:*help*:#mirc,#irchelp:/msg $nick what's the problem?

The on ACTION and on NOTICE events use exactly the same format as on TEXT, and trigger on an action and on a notice event respectively.

The match text can be a wildcard string, where:

* matches any text
& matches any word
text matches if text contains only this word
text* matches if text starts with this word
*text matches if text ends with this word
*text* matches if text contains this word anywhere

The match text can also be a regular expression. See the $ prefix section in Access Levels.

The location where this event occurrs can be specified using:

? for any private message
# for any channel message
#mirc for any messages on channel #mirc
* for any private or channel messages

clip 8<
Posted By: NeUtRoN_StaR Re: ban on /me or /ame - 04/01/06 10:25 PM
Quote:

isreg nickname v1 is a normal nick on channel v2


what does this mean?
Posted By: FiberOPtics Re: ban on /me or /ame - 04/01/06 10:55 PM
Means it's a regular user, no voice, no op, no halfop etc., so no nickmode.
Posted By: RusselB Re: ban on /me or /ame - 04/01/06 11:00 PM
When someone joins a channel/room, they join it as a regular user. After that, they might be opped, half-opped, and/or voiced. That would return the results checking to see if then person with nickname is a regular user in the specified channel. When a person is opped, half-opped or voiced, then they are no longer a regular user in that channel.

In an if/else statement, the first item can be referenced using $v1 and the second item using $v2.
Posted By: NeUtRoN_StaR Re: ban on /me or /ame - 05/01/06 12:09 AM
thank u both
seems obvious now
Posted By: MikeChat Re: ban on /me or /ame - 05/01/06 02:23 AM
/me is making a note to not join #cs
Posted By: FiberOPtics Re: ban on /me or /ame - 05/01/06 02:36 AM
Eh? o.O
Posted By: genius_at_work Re: ban on /me or /ame - 05/01/06 03:23 AM
Sounds like a pretty harsh channel. Wouldn't it be easier to set the channel to moderated?

-genius_at_work
Posted By: Hooligan Re: ban on /me or /ame - 05/01/06 08:50 PM
thnx to all now it works fine and now one more Q.

in popups .Ban

i want it to place ban like this -o+b & kick

my line ".Ban, Kick:.mode # -o+b $1 | ban $$1 3 | kick # $$1" doesn't work.
Posted By: Hooligan Re: ban on /me or /ame - 05/01/06 08:56 PM
a lil tip

On @*:action:*:#cs: {


but not

On @*action:*:#cs: {
© mIRC Discussion Forums