irc script [message #315158] |
Sat, 02 February 2008 16:55 |
shaitan
Messages: 727 Registered: April 2005 Location: Pennsylvania
Karma: 0
|
Colonel |
|
|
First off, hello everyone..
I use mIRC v6.16, am needing a script for irc.It can either be for my own irc script, or a bot (Brenbot 1.52 (build 1)) for Renegade MissionDM
I was wondering if anyone could make a script that can take into account how many suicides per map people have suicided.
I have no clue on how to make a script that can do consecutiveness.
1st suicide of a nick per map =!ppage <nick> <reason>
2nd suicideof a nick per map = !pamsg <nick> <reason>
3rd suicide of a nick per map = !qkick <nick> <reason>
4th suicide of a nick per map = !kick <nick> <reason>
on *:TEXT:*committed suicide.*:#: {
if ($nick == DM-Bot) {
.timer 1 1 msg # !ppage $2 Please don't commit suicide!
}
}
That's all I can figure out.
Aircraftkiller wrote on Sun, 18 Jan 2004 07:38 | I get along with people fine, so long as they aren't rejects who promised things that they couldn't
deliver on, or forum trolls who contribute nothing except to bloat the fragile egos of the same
rejects I despise.
|
|
|
|
|
|
Re: irc script [message #315200 is a reply to message #315158] |
Sat, 02 February 2008 23:24 |
shaitan
Messages: 727 Registered: April 2005 Location: Pennsylvania
Karma: 0
|
Colonel |
|
|
The version of mIRC doesn't matter, the script should work for whatever versions that use "remotes" right?
I have 6.3 but choose not to use it, preferring 6.16.
If it will make things easier...I'll use 6.3 version then
Aircraftkiller wrote on Sun, 18 Jan 2004 07:38 | I get along with people fine, so long as they aren't rejects who promised things that they couldn't
deliver on, or forum trolls who contribute nothing except to bloat the fragile egos of the same
rejects I despise.
|
|
|
|
|
Re: irc script [message #315412 is a reply to message #315158] |
Mon, 04 February 2008 11:07 |
[DG]Rick
Messages: 28 Registered: November 2006
Karma: 0
|
Recruit |
|
|
Version does matter, not much but some aliases/identifiers and stuff are added/fixed in newer versions. I prefer 6.17
|
|
|
Re: irc script [message #315421 is a reply to message #315158] |
Mon, 04 February 2008 12:13 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
**Note: I wrote this in about 5-8 minutes during my drafting class. It has NOT been tested.
***Note: Someone check my script ^,^
on *:TEXT:*:#:{
if ($chan == #yourchannel) {
if ($regex($1-,^(Host:).*commited suicide$)) {
var %n = $regml(1)
if (%sui. [ $+ [ %n ] ] == 2) { msg # !pamsg %n Please don't commit suicide! | inc %sui. [ $+ [ %n ] ] 1 }
elseif (%sui. [ $+ [ %n ] ] == 3) { msg # !qkick %n I said...Please don't commit suicide! | inc %sui. [ $+ [ %n ] ] 1 }
elseif (%sui. [ $+ [ %n ] ] == 4) { msg # !kick %n I said...Please don't commit suicide! | unset %sui. [ $+ [ %n ] ] }
else { inc %sui. [ $+ [ %n ] ] 1 | msg # !ppage %n Please don't commit suicide! }
}
}
}
~Zack
|
|
|
Re: irc script [message #315481 is a reply to message #315158] |
Mon, 04 February 2008 18:34 |
shaitan
Messages: 727 Registered: April 2005 Location: Pennsylvania
Karma: 0
|
Colonel |
|
|
Will try this out as soon as I can. Thank you guys!
Zack I'd kiss you if you didn't have a manly name xD
Aircraftkiller wrote on Sun, 18 Jan 2004 07:38 | I get along with people fine, so long as they aren't rejects who promised things that they couldn't
deliver on, or forum trolls who contribute nothing except to bloat the fragile egos of the same
rejects I despise.
|
[Updated on: Mon, 04 February 2008 20:06] Report message to a moderator
|
|
|
|