Top

Comments

  (13)  RSS
MyWebs's
uneek
Comments: 3
 
mIRC Snippet:  !Slang
Posted on Jul 11, 2008 1:20 am
Thanks mate! Been looking for one that works with the sites new updates for a while! It was a very popular script in a channel of mine :D

I added a link to your site as well to show my support. http://www.mydamnsig.com
napa182
Comments: 1,004
 
mIRC Snippet:  !Slang
Posted on May 21, 2008 8:51 pm
you need to find this in the socketread part and use this
Code:
elseif (%temp != $null) {
      if ($hget($sockname, chunked)) {
        if (%chunked) {
          inc %read $calc($sockbr + 2)
          if (%read >= %len) { %chunked = $false }
          .notice %slangnick $hget($sockname, info) %temp
        }
        else {
          %read = 0
          %len = $base($gettok(%temp, 1, 32), 16, 10)
          %chunked = $true
        }
      }
      else {
        .notice %slangnick $hget($sockname, info) %temp
      }
    }
  }
}

that should make it notice
napa182
Comments: 1,004
 
mIRC Snippet:  !Slang
Posted on May 21, 2008 8:49 pm
um you wont beable to change the php side of this script cuz it\'s not on here. Tony has this set up to send the info to his page then it pulls it from there to mirc.
but you can replace the !slang part with this
Code:
 on *:TEXT:!Slang *:#: {
  if ($2 !isnum) { .notice $nick  $2 is not a number. Enter a number for the number of the result you want. i.e !slang 1 $2- | halt }
  set %slangchan2 $chan
  set %slangnick $nick
  set %Asc2  $replace($3-,$chr(32),$chr(37) $+ 20)
  ;set %Asc2  $replace($3-,$chr(32),+)
  set %Asc3  $replace(%Asc2,$chr(39),$chr(37) $+ 27)
  ;set %Asc3  $replace(%Asc2,$chr(39),% $+ 27)
  ;/msg %slangchan2 Variable Asc3: %Asc3
  set %SlangURLS http://www.mywebs.biz/IRC/Slang.php?Word= $+  %Asc3
  set %SlangURLS2 %SlangURLS $+ &Count=
  set %SlangURLS3 %SlangURLS2 $+ $$2
  ;/msg %slangchan2 URL: %SlangURLS3
  /request example2 %SlangURLS3 %slangchan2 11,2
  unset %slang* %Asc*
}


Phoenix847
Comments: 14
 
mIRC Snippet:  !Slang
Posted on May 21, 2008 6:56 pm
Yes, but I\'ve never tried to script PHP or learn it at least lol. I\'m totally lost with it.
But from the random testing of just trying stuff, I\'ve found Line 149 - \" /request example2 %SlangURLS7 $chan 4,1\", if you change $chan to $nick, it will PM the person instead... My only problem is changing it do a .notice message.
However for the messaging $chan part... thats simple, leave it the same and change !slang to @slang =/ BUT I still need it to be .msg
So Napa, as smart as you are, you might be able to give me a hint :P
napa182
Comments: 1,004
 
mIRC Snippet:  !Slang
Posted on May 21, 2008 6:42 pm
well it all depends on how long the first deff for the slang is. some are longer then others and will flood, but on the msg and notice part you can change ur self but on the php side of things it will stay the same.
Phoenix847
Comments: 14
 
mIRC Snippet:  !Slang
Posted on May 21, 2008 6:33 pm
Actually, this can still be used for spam. My friend did \"!slang 2 Noob\" and a lot of messages starting appearing in the channel and eventually led to Excess Flood.
Could you make it possible on !slang it will do a \".notice $nick\"
And on a @slang it will do a \".msg $chan\"

That would be greatly appreciated, and I say the . before msg/notice as it won\'t flood me, if you didn\'t know that :p
mountaindew
Comments: 1,540
 
mIRC Snippet:  !Slang
Posted on Apr 10, 2008 2:31 pm
You could just \"unset %slang* %related*\" etc
Cheiron
Comments: 254
 
mIRC Snippet:  Nick Controll
Posted on Jan 30, 2008 5:21 am
very very nice.. simple code, non complex.. perfect :)
Syele
Comments: 7
 
mIRC Snippet:  Nick Controll
Posted on Jan 30, 2008 3:52 am
oh perfect for me! *adds it too*
MyWebs
Comments: 2
 
mIRC Snippet:  !Slang
Posted on Sep 23, 2007 4:33 am
I upgraded !Slang so it now has flood protection.
I don\'t think it was probably a problem really but its there now.
MyWebs
MyWebs
Comments: 2
 
mIRC Snippet:  !Slang
Posted on Aug 13, 2007 11:00 am
Thanks napa182.
I\'d like to clarify one point. If you look up a word and see more than 1 result returned you can look up each and every result one at a time.
For example if you type !Slang 1 bed ... you will see:

(1/8)-bed **Definition** a matress on a stand or on the floor (lol) that has a blanket and pillows on it and u got to sleep on it coz sleep is so good **Example** im gonna go hit the sac... then im gonna go to bed ;) **Author** flash **URL** http://www.urbandictionary.com/define.php?term=bed&defid=778262 [782]

That 8 means there are 8 entries for bed. To see the next result you can type !Slang 2 bed all the way up to !slang 8 bed. Some Slang words have hundreds of entries. They are ranked by most votes.
Some entries are quite long and will flood ur channel. Not much I can do about that really. lol
Thanks,
MyWebs
napa182
Comments: 1,004
 
mIRC Snippet:  !Slang
Posted on Aug 13, 2007 3:00 am
woot about time Tony =P .. I love the script it rocks.
napa182
Comments: 1,004
 
mIRC Snippet:  Nick Controll
Posted on Jul 5, 2007 4:01 pm
Nice script Tony...Adds it to remotes =)
Bottom