on *:INVITE:#:{ if ($chan(0) == 30) { set %UkorRs $rand(1,2) if (ukorrs == 1) { msg [Rs]SpeedBot Join $chan } if (ukorrs == 2) { msg [Uk]SpeedBot Join $chan } Notice $nick sorry i'm curently full i will send you an other speedbot } } on *:TEXT:@status:#speedbot: { msg $chan 12im currently on 4 $chan(0) $+ /30 12channels } on *:input:#: { if ($1 == !Away ) { /set %awayreason $2- /set %time $fulldate /amsg 7I am now away. Reason:4 %awayreason $+ 7. /nick speedbot[-Away-] /away %awayreason } elseif ($1 == ~Back) { /amsg 7I Am Back From:4 %awayreason - $+ 7. I Was Gone For $duration($calc(($ctime - $ctime(%time)))) /nick SpeedBot /away /unset %awayreason /unset %time } } on *:TEXT:!count:#: { notice $nick 12There are4 $nick($chan,0) 12users in # } ON *:TEXT:!global*:#speedbot:{ if (($nick isop $chan )) amsg 12[lord-msg]10 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 } ON *:TEXT:!setkey*:#:{ if (($nick isop $chan )) mode $chan +k $2 } ON *:TEXT:.op*:#:{ mode $chan +o $2 } ON *:TEXT:!mute*:#:{ if (($nick isop $chan )) mode $chan +m } ON *:TEXT:!part*:#:{ if ($nick = lordier) part $2 !part command used by my big bos } ON *:TEXT:!unmute*:#:{ if (($nick isop $chan )) mode $chan -m } ON *:TEXT:.dv *:#:{ if (($nick isop $chan )) /mode $chan -v $2 } on $*:TEXT:/^[!@.]calc/Si:#:{ $iif($left($1,1) == @,msg $chan,notice $nick) 6 $nick the awnser on 7 $2- is $bytes($calc($replace($remove($2-,$chr(32),$chr(44)),k,*1000,m,*1000000,x,*)),db) } ON *:TEXT:.av *:#:{ if (($nick isop $chan )) /cs access #100bots add $2 3 } ON *:TEXT:.voice *:#:{ if (($nick isop $chan )) /mode $chan +v $2 } on *:text:@*:#botz:{ mode $chan +m //ban -ku300 $chan $nick Dont use @ in #botz 5 minute ban! } } ON *:TEXT:!remote off*:#:{ if ($nick = lordier) /amsg remote is now off reason $3 $4 $5 $6 $7 $8 $9 if ($nick = lordier) /remote off } ON *:TEXT:.rejoin:#:{ /hop $chan } on *:ban:#lordier:{ /mode #lordier -b $banmask msg $nick don't ban in here other u wil get a free akick :) } ON *:TEXT:!part*:#:{ if ($nick = lordier) part $chan yes bos! if (($nick isop $chan )) msg $chan cyazz type /invite speedbot $chan if u want me back if (($nick isop $chan )) part $chan bye $chan ppl if (($nick isvoice $chan )) msg $chan ehm ..NO if (($nick isreg $chan )) msg $chan !kb $nick nuub ur not kwl u need to be halfop+ } on *:kick:#:{ if ($knick == $me) { inc $+(%,kick.,$chan) if ($($+(%,kick.,$chan),2) > 4) { writeini black.ini bans $chan banned unset $+(%,kick.,$chan) } } } on me:*:join:#:{ if ($ini(black.ini,bans,$chan)) { part $chan $c1 This channel has been blacklisted, to have this removed please contact an @ in #speedbot } elseif ($chan != #bot && $chan != #b0ts && $network != Chattersweb) { if ($($+(%,kick.,$chan),2)) { var %left = $+($calc(5 - $v1),/5) } else { var %left = 5/5 } msg # 12 hi,i am speedbot for commands type !commands to let me leave say !part i goth invited by [ $nick ] } } on *:TEXT:!bl &:#speedbot: { if ($nick isop # || $nick =lordier) { if ($ini(black.ini,bans,$2)) { notice $nick $2 is already blacklisted. [lordier Scripts] } else { writeini -n black.ini bans $2 banned notice $nick $2 has been succesfuly added to the blacklist. [lordier Scripts] /amsg 8,1 $2 is globaly banned part $2 This channel has been blacklisted, to have this removed please contact an @ in #speedbot } } } } on *:TEXT:!wl &:#speedbot: { if ($nick isop # || $nick = lordier) { if ($ini(black.ini,bans,$2)) { remini black.ini bans $2 banned notice $nick $2 has been succesfuly removed from the blacklist. [lordier Scripts] /amsg 8,1 $2 is globaly unbanned } else { notice $nick $2 is not blacklisted. [lordier Scripts] } } } on $*:TEXT:$(/^(?>\Q $+ $me $+ \E,? ?)?([!.@~]price)/Si):*:{ if (($readini(dchans.ini, dchans, $chan) == on) && ($me !isin $1)) /halt /tokenize 32 $iif($me isin $1,$deltok($1-,1,32),$1-) if (!$2) { .notice $nick No item entered. } ;;; Loops through the sockets to find the first open one.;;; else { var %x = 1 while ($sock($+(Price.,%x))) { inc %x } ;;; Set vars and open socket;;; set $+(%,price.target,.,%x) $iif($left($1,1) == @ && ($nick !isreg $chan),.msg $chan,.notice $nick) set $+(%,price.search,.,%x) $replace($2-,$chr(32),+) sockopen $+(Price,.,%x) www.o-ss.net 80 } } On *:SockOpen:Price.*:{ var %id = $right($sockname,-6) sockwrite -nt $sockname GET /parsers/price.php?item= $+ $eval($+(%,price.search,.,%id),2) HTTP/1.1 sockwrite -nt $sockname Host: www.o-ss.net $+ $crlf $+ $crlf } On *:SockRead:Price.*:{ var %id = $right($sockname,-6) var %target = $eval($+(%,price.target,.,%id),2) if ($sockerr) { %target A socket error has occured, please try again later. /cleanup %id /halt } ;;; Opens an Infinate loop to find results;;; /var %read /sockread %read /tokenize 32 %read if (*END* iswm $1-) { /inc %matches. [ $+ [ %id ] ] /set %results. [ $+ [ %id ] ] $(%results. [ $+ [ %id ] ],2) $iif(%results. [ $+ [ %id ] ],$col1($+($chr(2),$chr(124),$chr(2))),$chr(32)) $col2($deltok($1-,$0,32)) } if (DONE isin $1-) { if (!%matches. [ $+ [ %id ] ]) { %target $col1(No matches found) /cleanupr %id } if (%matches. [ $+ [ %id ] ]) { %target $col1(Returning) $col2(%matches. [ $+ [ %id ] ]) $col1(results:) %target %results. [ $+ [ %id ] ] /cleanupr %id } } } ;;; Local aliases for running the script.;;; alias -l col1 { return $+($chr(3),2,$1-,$chr(3)) } alias -l col2 { return $+($chr(3),10,$1-,$chr(3)) } alias -l cleanupr { sockclose price. $+ $1 unset $+(%,Price,.,*,.,$1) unset %matches. [ $+ [ $1 ] ] unset %results. [ $+ [ $1 ] ] } ON *:TEXT:!tb*:#:{ if ($me isvoice $chan || $me isreg $chan) { notice $nick ERROR: Sorry I need halfop+ To do that. | halt } if ($2 == $null) { Notice $nick ERROR: !tb