KryptonCnR

KryptonCnR

Joined
Nov 07, 2013
Location
Lancashire, UK

Activity Stream

KryptonCnR   -  Feb 20, 2014

Hey All,

was wondering if anyone could help me with this, I have managed to get the first part working just fine, but when it comes to the !yes or !no it won't respond to the person who first did !minigun or the person who they picked as !yes or !no doesn't respond.

what i am trying to do is get the player who did !minigun first to have a choice of options, not the player who they picked.

on *:TEXT:!Minigun *:#: { 
  if ($2 ison $chan) { 
    set %Minigun $2 
    msg $chan 10Hello4 $nick 10it looks like you are ready to kill4 $2 $+ 0! 10Do you wish to carry out this operation0? 4!10Yes or 4!10No
  } 
} 
on *:TEXT:!Yes:#: { 
  if ($nick == %Minigun) { 
    msg $chan 4 $+ $nick 10has killed4 %Minigun $+ 0!
  }
}
on *:TEXT:!No:#: { 
  if ($nick == %Minigun) { 
    msg $chan 4 $nick has put their gun down and has surrendered to %Minigun $+ 0!
  }
}

Thanks for looking! :)

KryptonCnR commented on a Page, Announcement [use .timer]  -  Feb 18, 2014

I like this script is there any way that when you do !list that it shows the news that you've added?

KryptonCnR   -  Feb 15, 2014
on $*:TEXT:/^[!](add?swat)/Si:*:{
  if ($nick isop #) {
    if (!$2) { msg $iif($chan,$chan,$nick) Enter A S.W.A.T Name To Add! }
    else {
      write addswat.txt $2-
      msg $iif($chan,$chan,$nick) 14Added07 $2- 14To S.W.A.T ID07 $lines(addswat.txt) $+ 14.
    }
  }
  else {
    msg $chan $nick has failed to use this command!
  } 
}
on $*:TEXT:/^[!](del?swat)/Si:*:{
  if ($nick isop #) {
    if (!$2) { msg $iif($chan,$chan,$nick) Enter A S.W.A.T ID Number To Delete! }
    else {
      if ($2 isnum) {
        msg $iif($chan,$chan,$nick) Deleted S.W.A.T ID $2 From The Database.
        write -dl $+ $2 addswat.txt
      }
      else { msg $nick $2 Is Not A Valid S.W.A.T ID }
    }
  }
}
else {
  msg $chan $nick has failed to use this command!
}
on $*:TEXT:/^[!](swat?)/Si:#lvcnr.swats:{
  if ($2) {
    if ($2 !isnum) { msg $chan 07 $+ $2 14Isn't A S.W.A.T ID | halt }
    if ($2 isnum) {
      if ($read(addswat.txt,$2)) {
        msg $chan 10Swat ID0: 10 $+ $2 $+ 4/10 $+ $lines(addswat.txt) 0- $read(addswat.txt,$2)
      }
      else {
        msg $chan 14Invalid S.W.A.T ID On Line07 $2 $+ 14.
      }
    }
  }
}

Edit:

I managed to do a simpler way and it works perfectly!

KryptonCnR created a Page  -  Nov 29, 2013
1,002 

I used the base of "Friends List" which "napa182" did. (http://www.hawkee.com/snippet/3129/)

KryptonCnR commented on a Page, Short URL Plus Website Title  -  Nov 28, 2013

Hey Jethro,

Is there a way to add a !snipr into this script? to bring back a link that would define http://snipr.me/489T3 (for short URL) ? instead of having http:// or www. ? thanks for your time :)

 Respond  
KryptonCnR commented on a Page, Truth or Dare  -  Nov 27, 2013

I like this script ! I have added some truth's to it.

A list can be found here > http://pastebin.com/gFQU2MPc < (just copy and paste into the truth.txt) file in your mIRC directory of your bot. (that's to anyone else who uses this also) :)

KryptonCnR   -  Nov 18, 2013

Hey All,

I have appreciated all the help i have received recently and all of it has worked perfectly as I wouldn't know what to add or not, I am just wondering if anyone can help me with this little problem.

Problem: I am trying to greet a 'specific' user when they join a channel and not everyone who joins the channel

on *:JOIN:#: {
  if ($nick == Krypton ) {
    msg # My Master Has Just Joined The Room
  }
}

on *:JOIN:#: {
  if ($nick == Camacorn ) {
    msg #  The channel Owner Has Just Joined The Room
  }
}

on *:JOIN:#: {
  if ($nick == Anthony ) {
    msg #  Anthony Has Just Joined The Room
  }
}

But it will only just do one and not display any of the others when they rejoin the channel or disconnect and connect again.

Any help is appreciated, thanks very much.

Krypton.

KryptonCnR   -  Nov 11, 2013

Hey All, Me Again, Just Need A Little Help With A IRC to SA-MP Server

I am trying to get my bot to read the script and one part of it works, but the other won't as i am trying to do &cmds and it will display it like and then it will read whatever the cmds.txt has in it to them, but the &cmds on it works just well, any help will be great ! thanks very much for having a look.

on *:text:*&cmds*:#: {
msg $chan !say $read(cmds.txt,n)
}
on *:text:*&cmds *:#: {
msg $chan !say $$2 $read(cmds.txt,n)
}
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.