_Teen_

_Teen_

Joined
Apr 20, 2008

Activity Stream

_Teen_ commented on a Page, Complete Channel Control On Short Keys   -  Jan 23, 2011

look you need to know, that its not needed it

  if ($1 == `o) { msg chanserv@services.dodear.com op $chan $2- } halt
  if ($1 == `d) { msg chanserv@services.dodear.com deop $chan $2- } halt

you probably use it on ur server but, in other server using Anope, you can use

cs op # $2

this

 if ($1 == .p) { mode $chan $2 +p } halt ( Work Same As Secret Mode )

you need to know that the mode +p its not the same as mode +s,
on Unreal
the +s mode, hides channel from /list and /whois
the +p mode hides channel from /list only

about this

 /ban # $$2 | /kick # $$2

you can use this

ban -k # $2 2 $3-

where 2 its the type of ban and $3- its the reason

 Respond  
_Teen_ commented on a Page, kill kline dot command  -  Jan 23, 2011

i dont know which Flags do u use for IRCops on your server, but most of servers use +o for Globals and +O for locals

so

On *:Input:#:{
 if (/* iswm $left($1,1)) && ($ctrlenter) || ($inpaste) { return }
 if (O isincs $usermode) { commands }
}

the $ctrlenter and $inpaste will prevent it run the command if the user press ctrl+enter, or its a ctrl+v action (inpaste)

by the way the if (O isincs $usermode) will check if you have IRCop status to do it

 Respond  
_Teen_ commented on a Page, Grats script  -  Jan 22, 2011

just giving an advice you can use this

if $regex($1,/^sum(onning|o|on)$/Si) { return Summoning } 
 if $regex($1,/^f(m|ire|iremaking)$/Si) { Return Firemaking }
if $regex($1,/^h(p|its|itpoints|it)$/Si) { Return Hitpoints }
 if $regex($1,/^R(anged|ange)|Arche(r|ry)$/Si) { Return Range }
if $regex($1,/^mag(e|ic)$/Si) { Return Magic }
if $regex($1,/^def(end|ence)$/Si) { Return Defence }
if $regex($1,/^pra(y|yer|ying)/Si) { Return Prayer }
 Respond  
_Teen_ commented on a Page, F-Keys Alias  -  Jan 22, 2011

sorry but i didnt understand, what this is made for

/F4  {
  if ( $nick != $me ) { /MSG  ChanServ op $chan $me }
  if ( $me isop # ) { /mode $chan -oooo $me }
}

cause using this exactly sentence if ($nick != $me), it will op u using chanserv, and then, deop urself after this...

by the way, correct me if im wrong, whats the purpose of use $nick, in a F-key?
cause $nick,will not return nothing...

if you use

/F4 {
 echo -a $nick
}

it will only return

  • /echo: insufficient parameters

$nick

Returns the nickname of the user associated with an event.

from help file
since the Function keys are not an event, i dont see a reason to use this

 Respond  
_Teen_ commented on a Page, Auto Identify  -  Jan 20, 2011

i dont see a reason to strip the nickserv messages
using replace, we can short many parts of ur code, example

    Did -c $dname $replace(%autopass1, CS, 5, IRC, 6)
    Did -c $dname $replace(%autopass2, CS, 7, IRC, 8)
    Did -c $dname $replace(%Autoid, ON, 11, OFF, 12)
 Respond  
_Teen_ commented on a Page, Away script V 5.0 (NOW WITH DIALOG)  -  Jan 10, 2011

the events, could be this

ON *:TEXT:*:*: check_away $nick $1-
ON *:ACTION:*:*: check_away $nick $1-

alias check_away { 
  if (%AwayControl == ON) && ($me isin $strip($1-)) { 
    notice $nick .:[I am away]:. .:[ Reason: %AwayMSG ]:.
  }
}

no need to use the if ($me != $1-) by the way, its wrong, if you would to use something like this is if ($me !isin $1-), and no halts, look
if your nick its not on $1- and %awaycontrol its not on, it will not be triggered so dont need a check for this

by the way

I'm away bitches

i think this message its kinda offensive for ppl, and some ppl will not like this

u put

unset %AwayMSG, and then unset %AwayNICK,
you could use this unset %Away*

its a simple edit for this

 Respond  
_Teen_ commented on a Page, Script Loader  -  Jan 09, 2011

nice script, 8/10

 Respond  
_Teen_ commented on a Page, Super Definiton Script  -  Jan 09, 2011

well, u deleted my comment, so if u delete again, i will post it again

these 3 lines

on *:sockopen:define2: sockwrite -nt $sockname GET /download.htm HTTP/1.1
on *:sockread:define2: { sockread %x
if (: == $left(%x,1)) $gettok(%x,1-,58) }

what is made for? cause if u go to http://heart.mooo.com/download.htm, all you gonna see is :noop, so the author made 3 lines just to put noop?

sorry about question, i just want to know this

 Respond  
_Teen_ commented on a Page, ban appeal link maker * help me please *  -  Jan 07, 2011

dude, why dont u use the Scripting help forum?

 Respond  
_Teen_ commented on a Page, Fkeys  -  Jan 05, 2011

why not use the Scripting help forum? ._.

 Respond  
_Teen_ commented on a Page, Password Generator  -  Jan 03, 2011

i hope that no one come here using the same $regsubex way to do a password...
cause everytime someone post a pass generator, someone post it

 Respond  
_Teen_ commented on a Page, Basic Bot framework v0.2  -  Dec 31, 2010

in this case use just

on *:ctcpreply:*ping*: {
  var %tik $ctime - $2
  var % $+ $iif($nick == $me,n bot,n $nick)
  var % $+ $iif(%tik <= 0,tik 0)
  msg %p %n $+ 's ping: $duration(%tik,1) $replacex(%tik, 0, Good, 1, Average, 2, High, 3, Critical)
  unset %p
}

i didnt check the entire code, thats why i didnt see the value for %p

 Respond  
_Teen_ commented on a Page, Basic Bot framework v0.2  -  Dec 31, 2010

dude i dont know, whats the value for %p but dont need to unset it all time
this is a simple edit, of course, if you put a value for %p
like a specific channel, var %p channel, dont need to unset it

on *:ctcpreply:*ping*: { 
  var %tik $ctime - $2, %p #channel
  var % $+ $iif(%n == $me,n bot,n $nick)
  var % $+ $iif(%tik <= 0,tik 0) 
  msg %p %n $+ 's ping: $duration(%tik,1) $replacex(%tik, 0, Good, 1, Average, 2, High, 3, Critical) 
}

this is a simple edit based on your code, of course, there is many ways to do this script

 Respond  
_Teen_ commented on a Page, Basic Bot framework v0.2  -  Dec 31, 2010

sorry but i didnt understand where, this command will be triggered

on *:Text:`setaccess*: {
 Respond  
_Teen_ commented on a Page, Simple game Snippet  -  Dec 31, 2010

if you didnt set the %ticketprice, why dont use

if (!%ticketprice) { msg # 4 There is no ticket price set }

it will check, if there is any var called %ticketprice, if not, command

 Respond  
_Teen_ commented on a Page, !math Calculator  -  Dec 29, 2010

jaytea, i dont know if this make difference, i know the binary system, and how it works, i tried on 3 differents websites and all them showed the same result without any dot, and different from that result

http://www.easycalculation.com/ascii-hex.php

http://www.stringfunction.com/binary-hex.html

http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_To_Text.asp

 Respond  
_Teen_ commented on a Page, !math Calculator  -  Dec 28, 2010

is the binary right? cause i never saw a binary code, with dot
by the way, i tried on many Binary to string conversors, and only returned that

Error: Malformed binary. Your binary code is must be divisible by 8.

 Respond  
_Teen_ commented on a Page, !calc Calculator  -  Dec 27, 2010

about the k m b, on your main script, you use it to multiple if the person use

!calc 33K+44K , then the script will recognize that this is 33,000+44,000

we just used $replace, on this case, to replace k for 1000, m 1000000, b *1000000000

so the $calc identifier will multiply, in this case

$calc(33*1000) and 33k, will become 33,000

 Respond  
_Teen_ commented on a Page, !calc Calculator  -  Dec 27, 2010

look dont need the if $1 == !calc, cause if you put an space here

on *:text:!calc *:#: {

this

!calc123

will not happen, by the way, why dont u do a check for

if ($2 isnum) 

to check if $2- is number, then you will send a message to channel like

if ($2 !isnum) { msg $chan ERROR: syntax: !calc 1+1 }

the $strip identifier, strip all incoming colors

 Respond  
_Teen_ commented on a Page, !calc Calculator  -  Dec 27, 2010

why the timers? ._.

change the

if (%calc5 == 0) { 

for

if (%calc1 == 0) {

by the way dont need it dude

if ($1 == !calc) {

someone will come here, saying about the flood protection and the strip

 Respond  
_Teen_ commented on a Page, !calc Calculator  -  Dec 27, 2010

no problem so, you can replace the $chr(44) for $null

 Respond  
_Teen_ commented on a Page, !calc Calculator  -  Dec 27, 2010

no $chr(46) its dot...

type //echo -ag $asc(.)

 Respond  
_Teen_ commented on a Page, !calc Calculator  -  Dec 27, 2010

damn, i was posting when u post the same thing ._.

but, by the way, dont need to remove the commas, just replace it for $null

var %calc1 $comma($calc($replace($2-,k,*1000,m,*1000000,b,*1000000000,$chr(44),$null)))
      msg $chan Calculating $2- $+ ....
      msg $chan Result: %calc1
 Respond  
_Teen_ commented on a Page, kill PM  -  Dec 24, 2010

Oh, I'm not an idiot.

no, you are, question or more comments? by the way, no one give a crap for u name. dont stop posting, let do a chat here

 Respond  
_Teen_ commented on a Page, BNC Disconnect  -  Dec 24, 2010

then $host will reveal your real host (and, consequentially, your IP) whereas $ial($me).addr and $ial($me).host would not.

yes, as i said, i dont know why he wants to use $host to send his real local host on server, cause the $ial($me).host will only show the mask that server gave to u. instead of your real ip. by the way, if u use $host in a bnc, it will return ur host, and not the BNC host

 Respond  
_Teen_ commented on a Page, BNC Disconnect  -  Dec 24, 2010

not in this case Jethro_, the

$ial($me).host

will return the ip mask, of the ial list, and not the local host by the identifier $host, which will return

ip.ISP

the ial will just return the ip on ial list

 Respond  
_Teen_ commented on a Page, BNC Disconnect  -  Dec 23, 2010

yes, but in this case, i dont know why he wants to send his host to channel, the

( $+ $ial($me).addr $+ )

will only send the address, not the entire host, by the way, its not safe send the host, with the ip

 Respond  
_Teen_ commented on a Page, para limpiar el chat en justin.tv  -  Dec 23, 2010

Tidum i guess that on Justin.tv has a different command to clear it, cause there is other snippet here, that another guy used /msg $chan /clear like this one

http://www.hawkee.com/snippet/8016/

i never used it, so i dont know how it works

 Respond  
_Teen_ commented on a Page, kill PM  -  Dec 23, 2010

u guys want to chat, lets chat more question or comments?

 Respond  
_Teen_ commented on a Page, kill PM  -  Dec 23, 2010

as i said, is this hawkee or a Grammar lesson? if u dont like it, dont read it

 Respond  
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.