Vox91

Vox91

Joined
May 19, 2008

Activity Stream

Vox91 commented on a PHP Script, Vii Bot (a.k.a Muts)  -  Jan 08, 2012

yeah I am going to refactor the whole thing with an sql class, though for the start an mysql connection would do fine if the full basic is finished I am going to change the thing with an factory class :)

and thx, first attempt for irc bot in OO

 Respond  
Vox91 created a PHP Script  -  Jan 07, 2012
Vox91 commented on a Page, What's my ip? v1.0  -  May 03, 2009

you also could echo the *:

like:

 echo "<b> Browser: </b>"; 

then you will get less opening and closing from php.
but although nice code if you are a beginner :)

edit;

also why working with variables in this script, it is shorter I know, but not need in this script.

And try to get your variables set at the beginning of your script like:

$ip = $_SERVER['REMOTE_ADDR'];
$ip = $_SERVER['REMOTE_ADDR'];
$ip2 = $_SERVER['HTTP_REMOTE_HOST'];
$port = $_SERVER['REMOTE_PORT'];
$browser = $_SERVER['HTTP_USER_AGENT'];
 Respond  
Vox91 commented on a Page, Trigger Script  -  Mar 25, 2009

Usage of if (* iswm $cmdchar) { }

 Respond  
Vox91 commented on a Page, TAD's Home Integration Script 4.0.1.1  -  Feb 20, 2009

There is no point to the license part in the script cause it will auto do that on loading the script so there is no point for that.

  If ($1- == $null ) {
    echo -a Please type a command after this. This is the same command you used to install the program.
  }
  Else {

No check if it is the correct word from %uninstall.code?

@ uninstall event:

set %uninstall.code

useless because no check after reinstalling.

There is allot of not needed scripting in this script. and first release your bot before posting this cause it is no useless...
3/10

 Respond  
Vox91 commented on a Page, Trigger Script  -  Jan 26, 2009

it is possible with a few modifications

 Respond  
Vox91 commented on a Page, Color Font 1.2  -  Jan 24, 2009

And when mode +c is activated on a channel that no coloring is allowd? maybe adding this to your script:

  if ((/ !isin $left($1,1)) && (%colorfont) && (*c* !iswmcs $chan($active).mode)) { 
    msg $chan 0,14 $Strip($1-)
    halt 
  }
  else {
  msg $chan $1-
}
 Respond  
Vox91 commented on a Page, Retaliation script  -  Jan 10, 2009

You could make from this:

  if ($me isin $$1-) {
    if (snogs !isin $$1-) {
      if (kisses !isin $$1-) {
        if (makes love to !isin $$1-) {

to:

  if ($me isin $$1-) && (snogs !isin $$1-) && kisses !isin $$1-) && (makes love to !isin $$1-) {
 Respond  
Vox91 commented on a Page, !rules (add/del/list)  -  Jan 04, 2009

Perhaps you can change this:

    while (%a <= %z) { 

in to:

     while (%a  %z) { 

otherwise it will not return the last line of the ini (Last rule in this script)

 Respond  
Vox91 commented on a Page, AdminScript [Version 0.1]  -  Dec 26, 2008

from:

on *:load:{
  if ($version >= 5.90) {
    echo -a Successfully Loaded AdminScript [Version 0.1] By Country|Rocker
    echo -a To Use Right-Click Pop-ups.
  }
  if ($version < 5.8) { 
    echo -a Your mIRC Is Too Old, AdminScript Only Works With mIRC 5.9 Or Later.
    unload -rs $script
  } 
}

You could make:

on *:load:{
  if ($version >= 5.90) {
    echo -a Successfully Loaded AdminScript [Version 0.1] By Country|Rocker
    echo -a To Use Right-Click Pop-ups.
  }
  else {
    echo -a Your mIRC Is Too Old, AdminScript Only Works With mIRC 5.9 Or Later.
    unload -rs $script
  } 
}

Small tip, nice script though. :)

 Respond  
Vox91 commented on a Page, Align Script  -  Dec 20, 2008

NNScript theme system ^^ :P it changes the color index ;)

 Respond  
Vox91 commented on a Page, Align Script  -  Dec 19, 2008

sorry msg $active ^^'

And ya I know but it looks more prof ;)
and get rit of the collors on "Settings done" cause I have a black background so I can not read the text :P

 Respond  
Vox91 commented on a Page, Align Script  -  Dec 19, 2008

Some minor things that can come in handy.

on:

say $str( $chr(32),$calc(70 - $len($1-))) $+ $1-
&
say $str( $chr(32),$calc(35 - $calc($len($1-)/2))) $+ $1-

replace it with:

msg $active $str( $chr(32),$calc(70 - $len($1-))) $+ $1-
&
msg $active $str( $chr(32),$calc(35 - $calc($len($1-)/2))) $+ $1-

Further more nice code :)

 Respond  
Vox91 commented on a Page, Bot Commands  -  Dec 15, 2008

also:

on owner:TEXT:*:#kdnk:{

should be:

on owner:TEXT:*:#:{
 Respond  
Vox91 commented on a Page, Userlist Script  -  Sep 30, 2008

there are still much more better then this one ;)
but still 6/10

 Respond  
Vox91 created a Page  -  Sep 22, 2008
917 

well what you see is what you get

Vox91 commented on a Page, Long Ping Reply FLOOD  -  Aug 08, 2008

and why shouldnt this not fit in a loop? :P

 Respond  
Vox91 commented on a Page, Mute/Unmute  -  Aug 07, 2008

uhhmmm

mode +m ?

works fine by me

 Respond  
Vox91 commented on a Page, Trigger Script  -  Aug 04, 2008

has een updated! :)

 Respond  
Vox91 commented on a Page, !peak script for a bot  -  May 21, 2008

Easy but usefull :)

 Respond  
Vox91 created a Page  -  May 20, 2008
735 

Converts every text inserted to an $chr(x) sign ;)

Vox91 commented on a Page, Trigger Script  -  May 19, 2008

it needs explanation otherwise questions will popup ^^

 Respond  
Vox91 created a Page  -  May 19, 2008
4,288 

read inside the script itself :)

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.