mIRC Home    About    Download    Register    News    Help

Print Thread
#138651 04/01/06 05:42 PM
Joined: Apr 2005
Posts: 26
H
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Apr 2005
Posts: 26
Need a lil script to do that ...

#138652 04/01/06 05:45 PM
Joined: Apr 2005
Posts: 26
H
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Apr 2005
Posts: 26
On @*:ME:*:#cs: {
if ($nick isreg $chan) ban -k $chan $nick 3 nachuj! $+($nick,.)
}

this one doesn't work for me...

#138653 04/01/06 05:53 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
/help on action

should tell you what you need (/me and /ame are action commands)


I refuse to engage in a battle of wits with an unarmed person. wink
#138654 04/01/06 06:23 PM
Joined: Apr 2005
Posts: 26
H
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Apr 2005
Posts: 26
aint helping much ...

#138655 04/01/06 06:33 PM
Joined: Jan 2006
Posts: 20
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Jan 2006
Posts: 20
/me just sends a 'action' message in private or public. Nothing less, nothing more.


Obey
#138656 04/01/06 07:17 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
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<

#138657 04/01/06 10:25 PM
Joined: Mar 2005
Posts: 212
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
Quote:

isreg nickname v1 is a normal nick on channel v2


what does this mean?

#138658 04/01/06 10:55 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Means it's a regular user, no voice, no op, no halfop etc., so no nickmode.


Gone.
#138659 04/01/06 11:00 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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.

#138660 05/01/06 12:09 AM
Joined: Mar 2005
Posts: 212
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
thank u both
seems obvious now

#138661 05/01/06 02:23 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
/me is making a note to not join #cs

#138662 05/01/06 02:36 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Eh? o.O


Gone.
#138663 05/01/06 03:23 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Sounds like a pretty harsh channel. Wouldn't it be easier to set the channel to moderated?

-genius_at_work

#138664 05/01/06 08:50 PM
Joined: Apr 2005
Posts: 26
H
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Apr 2005
Posts: 26
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.

#138665 05/01/06 08:56 PM
Joined: Apr 2005
Posts: 26
H
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Apr 2005
Posts: 26
a lil tip

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


but not

On @*action:*:#cs: {


Link Copied to Clipboard