; Startup Commands - (User(s) & Trigger) on *:START:{ .auser 5 *!*@bubblesparx.princess.gamesurge echo -a overdose mIRC Bot. Made by Nas @ #Nas set %trigger . set %od # } ; Commands on 5:TEXT:*:#:{ if ($1 == .op) { mode # +o $2 cs addop # $2 notice $nick $2 is now opped in $chan $+ . } if ($1 == .deop) { mode # -o $2 cs deluser # $2 notice $nick $2 is now deopped in $chan $+ . } if ($1 == .voice) { mode # +v $2 cs addpeon # $2 notice $nick $2 is now voiced in $chan $+ . } if ($1 == .devoice) { mode # -v $2 cs deluser # $2 notice $nick $2 is now devoiced in $chan $+ . } if ($1 == .clvl) { cs # clvl $2 $3 notice $nick $2 has been clvled to $3 in $chan $+ . } if ($1 == .kick) { kick # $2 You have been kicked by $nick $+ . } if ($1 == .raw) { $2- | notic $nick The raw command $2- has been issued. } if ($1 == .ban) { ban # $2 } if ($1 == .kb) { ban -k # $2 You have been kicked+banned by $nick $+ . } if ($1 == .topic) { cs # topic $2- | notice $nick The topic of # has been changed to $2- } if ($1 == .say) { msg $chan $2- } if ($1 == .me) { describe $chan $2- } if ($1 == .amsg) { amsg $2- } if ($1 == .join) { join $2 } if ($1 == .part) { part $2 } if ($1 == .partall) { join #0,0 } if ($1 == .channels) { $chans } if ($1 == .weather) { weather $2 } } ; Weather alias weather { sockclose weather- $+ $replace($1-,$chr(32),+) sockopen weather- $+ $replace($1-,$chr(32),+) www.weather.com 80 } on *:SOCKOPEN:weather*:{ sockwrite -n $sockname GET /weather/local/ $+ $gettok($sockname,2-,45) $+ ?lswe= $+ $gettok($sockname,2-,45) $+ &lwsa=WeatherLocalUndeclared&from=whatwhere HTTP/1.1 sockwrite -n $sockname Host: www.weather.com sockwrite -n $sockname Connection: close sockwrite -n $sockname User-Agent: Mozilla/3.0 (compatible) sockwrite -n $sockname Authorization: Basic sockwrite -n $sockname $crlf } on *:sockread:weather*: { sockread %temp if (Updated isin %temp) { set %we.update $nohtml(%temp) | haltdef } if ( isin %temp) { if ( isin %temp) { set %we.cond $remove($nohtml(%temp),$chr(9)) | haltdef } } if (ALIGN="left">