CrazyDriver

CrazyDriver

Joined
Nov 04, 2014

Activity Stream

CrazyDriver commented on a Comment, IQ Test V2  -  Nov 15, 2018
CrazyDriver commented on a Comment, Elimination Game for mIRC  -  Nov 11, 2018
CrazyDriver commented on a Comment, IQ Test V2  -  Nov 06, 2018
CrazyDriver   -  Aug 07, 2017

I need a little help please with a 'script'

on $*:TEXT:/^\s*\Wplayers?/Si:#: { 
  set -e %Players $chan

  sockclose hits
  sockopen hits cortanairc.epizy.com 80

  <?php
  require("SampQuery.class.php");
  $query = new SampQuery("167.114.42.236", 7777);
  if ($query->connect()) {
    $aInformation = $query->getInfo();
    $aServerRules = $query->getRules();
    ?>
    [ Server 1 (<?= htmlentities($aServerRules['mapname']) ?>, <?= $aServerRules['worldtime'] ?>) Players: <?= $aInformation['players'] ?>/<?= $aInformation['maxplayers'] ?> ]
    <?php
    $query->close(); // Close the connection
    } else {
    echo "Server 1 did not respond!";
  }
  ?>
}

I am trying to get this to work with !players to show information from a SA-MP server as I have both the files linked to my server (website) but I don't think I have done this right,s o any help will be appreciated!

Update

on $*:TEXT:/^\s*\Wplayers?/Si:#: { 
  set -e %Players $chan

  sockclose hits
  sockopen hits http://cortanairc.epizy.com/ 80
}
on *:sockopen:hits: {
  sockwrite -n $sockname GET players.php HTTP/1.1
  sockwrite -n $sockname Host: http://cortanairc.epizy.com/
  sockwrite -n $sockname $crlf
}
on *:sockread:hits: {
  msg %Players 
}

I think this is something but i don't know if it's right? but keeps coming up with 'An Error Has Occured' so must be getting somewhere.

Thanks very much,

Jay.

CrazyDriver commented on a Comment, set dj  -  Aug 04, 2017
CrazyDriver liked a Comment, set dj  -  Aug 04, 2017
CrazyDriver commented on a Comment, Bar Script (Randomized) v2  -  Jun 05, 2017
CrazyDriver created a Page  -  May 30, 2017
1 497 
CrazyDriver created a Page  -  May 28, 2017
2 241 

Here I am with a different kind of script and yes I know there are so many different bar scripts out there but I decided to make one that is randomised and added how many items there is beside the commands.

 Respond   mIRC  
CrazyDriver commented on Ashoollakhani's Thread  -  Aug 17, 2016
CrazyDriver commented on Hawkee's Thread  -  Aug 17, 2016
CrazyDriver commented on a Page, SweetShop Script  -  Aug 12, 2016

Could someone probably fix this script as I used to have it and it used to work but now for some reason, it won't identify me when I do !login it just keeps telling me to /ns identify....

 Respond  
CrazyDriver commented on a Page, Insult Generator V1(beta?)  -  Jul 26, 2016

Doesn't seem to want to work for me, just says 'CrazyDriver' on reply that's all, I have it ON and in the exact way you've done to make sure it works, but nothing else happens.

 Respond  
CrazyDriver commented on Liecan's Thread  -  Mar 05, 2016
CrazyDriver commented on a Page, First Script :Few Fun Commands  -  Mar 03, 2016

You can just update it and not to have it to just their name, you can have it to others as well!

on *:TEXT:!awesome:#: {
  msg $chan $nick you are $rand(0,100) $+ % awesome!
}

on *:TEXT:!awesome *:#: {
  msg $chan $2 is $rand(0,100) $+ % awesome!
}

on *:TEXT:!cool:#: {
  msg $chan $nick you are $rand(0,100) $+ $+ % cool!
}

on *:TEXT:!cool *:#: {
  msg $chan $2 is $rand(0,100) $+ % cool!
}

on *:TEXT:!epic:#: {
  msg $chan $nick today you are looking $rand(0,100) $+ % epic!
}

on *:TEXT:!epic *:#: {
  msg $chan $2 is $rand(0,100) $+ % epic!
}

on *:TEXT:!lame:#: {
  msg $chan $nick you are $rand(0,100) $+ % lame!
}

on *:TEXT:!lame *:#: {
  msg $chan $2 is $rand(0,100) $+ % lame!
}

on *:TEXT:!stupid:#: {
  msg $chan $nick today you are $rand(0,100) $+ % stupid!
}

on *:TEXT:!stupid *:#: {
  msg $chan $2 is $rand(0,100) $+ % stupid!
}

on *:TEXT:!lucky:#: {
  msg $chan $nick today you are $rand(0,100) $+ % lucky!
}

on *:TEXT:!lucky *:#: {
  msg $chan $2 is $rand(0,100) $+ % lucky!
}

on *:TEXT:!rip:#: {
  msg $chan $nick you have $rand(1,365) days left to live!
}

on *:TEXT:!rip *:#: {
  msg $chan $2 has $rand(1,365) days left to live!
}

on *:TEXT:!seljak*:#: {
  msg # $nick you are $rand(0,100) $+ % seljak!
}

on *:TEXT:!seljak *:#: {
  msg $chan $2 is $rand(0,100) $+ % seljak!
}

on *:TEXT:!gay*:#: {
  msg # $nick you are $rand(0,100) $+ % gay!
}

on *:TEXT:!gay *:#: {
  msg $chan $2 is $rand(0,100) $+ % gay!
}

on *:TEXT:!retarded*:#: {
  msg # $nick you are $rand(0,100) $+ % retarded!
}

on *:TEXT:!retarded *:#: {
  msg $chan $2 is $rand(0,100) $+ % retarded!
}
CrazyDriver commented on a Comment, Scramble Nick Bot Game  -  Jan 05, 2016
CrazyDriver commented on a Comment, Scramble Nick Bot Game  -  Jan 04, 2016
CrazyDriver created a Page  -  Dec 07, 2015
1 303 

Just a simple script to see who you would kiss under the mistletoe! you can add more names to the list if you want or change any of the names!

  1 Thread   mIRC  
CrazyDriver commented on a Comment, TrivScript 4.8 (Updated)  -  Dec 06, 2015
CrazyDriver commented on simenbmx8's Thread  -  Dec 06, 2015
CrazyDriver created a Page  -  Nov 27, 2015
1 620 

Hey All,

  1 Thread   mIRC  
CrazyDriver commented on a Comment, Family Feud  -  Nov 12, 2015
CrazyDriver created a Page  -  Nov 12, 2015
1 781 

This is a slight update to the TrivScript that I have been using for quite some time now and thought I'd post the update here that I have done (although not a lot of it was changed)

CrazyDriver commented on a Comment, Stats Script  -  Nov 12, 2015
CrazyDriver commented on a Comment, IMDb Title/Trailer Grabber V2  -  Nov 02, 2015
CrazyDriver liked a Comment, IMDb Title/Trailer Grabber V2  -  Nov 02, 2015
CrazyDriver created a Page  -  Oct 31, 2015
619 

Note: This script is for those who mainly use "SA-MP' (Grand Theft Auto: San Andreas Multiplayer)

 Respond   mIRC  
CrazyDriver commented on a Comment, RequestSystem  -  Nov 04, 2014
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.