[script] n0=#ForceNick on n1=on 1:unotify:{ n2= if ($me != %bot.nick) .nick %bot.nick n3=} n4=on 1:notify:{ n5= if ($me != %bot.nick) .nick %bot.nick n6= if ($nick == Nickserv) { n7= .identify %bot.nick %bot.password n8= .set %temp.count $chan(0) n9= .set %temp 0 n10= :loop n11= inc %temp n12= if ($me !isop $chan(%temp)) { .chanserv op $chan(%temp) $me } n13= if (%temp < %temp.count) { .goto loop } n14= .unset %temp.count n15= } n16=} n17=on 999:NICK:{ n18= .nick %bot.nick n19=} n20=#ForceNick end n21= n22=on 1:start:{ n23= if ($me != %bot.nick) .nick %bot.nick n24= .titlebar %bot.nick %ver n25= .notify on n26= .notify n27= :loop n28= .notify -r $notify(1) n29= if ($notify(0) != 0 ) { goto loop } n30=} n31= n32=on 1:connect:{ n33= n34= .notify %bot.nick n35= .notify Nickserv n36= .rlevel 100 n37= .rlevel 999 n38= .guser 999 $me 0 n39= .notify %bot.owner n40= .auser 100 %bot.owner $+ !*@*.* n41= .set %temp.total $count(%setup.list,$chr(44)) n42= .set %temp.count 0 n43= :start n44= .inc %temp.count 1 n45= .join $gettok(%setup.list,%temp.count,44) n46= if (%temp.count < %temp.total) { goto start } n47= .join #AutoBot n48=} n49= n50=on 999:join:#: { n51= .chanserv op $chan $me $me $me $me $me n52= if ($chan == #AutoBot) { .window -h #AutoBot } n53=} n54=on 100:text:!do*:?:$2- n55=on 100:text:!make*:?:// $+ $2- n56= n57=on 100:unotify:{ n58= .notify -r $nick n59= .ruser 100 $nick $+ !*@*.* n60=} n61= n62=on 100:text:!access*:?:{ n63= if ($2 == $null || $3 == $null || ($4 == $null && $2 == add)) { n64= .msg $nick 0,2  Help   n65= .msg $nick To Add Access User : !access add [password] n66= .msg $nick To Del Access User : !access del n67= .halt n68= } n69=   n70= if ($2 == del) { n71= remini $mircdirsystem\data.ini $3 n72= .msg $nick The user $3 have been sucessful deleted. n73= } n74= if ($2 == add) { n75= .writeini $mircdirsystem\data.ini $3 User $3 n76= .writeini $mircdirsystem\data.ini $3 Password $4 n77= .msg $nick The user $3 have been sucessful added, password is $4 , press write it down... n78= } n79=} n80=on 1:text:!login*:?:{ n81= set %password $readini $mircdirsystem\data.ini $nick Password n82= if (%password == $null) { .msg $nick You don't have access to this Bot | .halt } n83= if ($2 != %password) { .msg $nick Password incorrect | .halt } n84= .msg $nick Password accepted n85= .msg $nick You have these commands: n86= .msg $nick 12!voice !devoice !op !deop !ban !kick !seen-on !seen-off !seen !help n87= .msg $nick 12!time !date !server !join !part !nick !msg !stats !scan !setpass !logout n88= .msg $nick 12!access !chan n89= .notify $nick n90= auser 100 $nick $+ !*@*.* n91=} n92=on 100:text:!logout:?:{ n93= .notify -r $nick n94= ruser 100 $nick $+ !*@*.* n95= .msg $nick You have been successfully logout. Thankx for using this Bot by lihlihlih18 n96=} n97= n98=on 100:text:!setpass*:?:{ n99= remini $mircdirsystem\data.ini $nick n100= writeini $mircdirsystem\data.ini $nick User $nick n101= writeini $mircdirsystem\data.ini $nick Password $2 n102= .msg $nick Your password have been set to $2 . Please write it down. n103=} n104=on @999:BAN:#: { n105= mode $chan -ob $nick $banmask n106= .identify %bot.nick %bot.password n107= .chanserv unban # me n108= timer 1 10 .join # n109=} n110=on 1:DEOP:#: { n111= if ( $opnick == $me ) && ( $nick != $me ) && ( .dal.net isin $server ) { n112= .identify %bot.password n113= .chanserv op $chan $opnick n114= } n115= else { halt } n116=} n117=raw 433:*:echo Nick $parm2 Already In Use | nick %bot.altnick | halt n118=alias list { n119= .set %temp.lines $lines($mircdirsystem\data.ini) n120= .set %temp 1 n121= :loop n122= .echo $read -l $+ %temp -w[* $mircdirsystem\data.ini n123= .inc %temp n124= if (%temp <= %temp.lines) { .goto loop } n125= .unset %temp.lines %temp n126= n127=}