Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » irc script
irc script [message #315158] Sat, 02 February 2008 16:55 Go to next message
shaitan is currently offline  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 #315162 is a reply to message #315158] Sat, 02 February 2008 17:27 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

First of all I would say update your mIRC latest is here: http://mirc.com/get.html

Re: irc script [message #315179 is a reply to message #315158] Sat, 02 February 2008 20:05 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

I'd be glad to help you, but you probably need to update mIRC first.

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: irc script [message #315200 is a reply to message #315158] Sat, 02 February 2008 23:24 Go to previous messageGo to next message
shaitan is currently offline  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 Razz


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 #315242 is a reply to message #315158] Sun, 03 February 2008 10:48 Go to previous messageGo to next message
cmatt42 is currently offline  cmatt42
Messages: 2057
Registered: July 2004
Karma: 0
General (2 Stars)
Use variables and increment them each time someone suicides.

Re: irc script [message #315412 is a reply to message #315158] Mon, 04 February 2008 11:07 Go to previous messageGo to next message
[DG]Rick is currently offline  [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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
shaitan is currently offline  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

Re: irc script [message #315595 is a reply to message #315481] Tue, 05 February 2008 11:50 Go to previous message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
shaitan wrote on Mon, 04 February 2008 18:34

Zack I'd kiss you if you didn't have a manly name xD




Angry



lol

~Zack
Previous Topic: graphics card driver issue: i got it fixed
Next Topic: mt0wn.com
Goto Forum:
  


Current Time: Fri Jan 17 06:56:19 MST 2025

Total time taken to generate the page: 0.00834 seconds