mIRC Homepage

mirc/php files

Posted By: MTec89

mirc/php files - 15/08/04 04:31 AM

how do i get mIRC not to evaluate "$network" and etc in this code?

Code:
  write -c $servdoci <?php
  write $servdoci $network = %network $+ ;
  write $servdoci $total.users = %server.users $+ ;
  write $servdoci $server.lobbey = %server.lobbey $+ ;
  write $servdoci $lobb.users = $lobbb.userz $+ ;
  write $servdoci $serv.map = $srrrv.map $+ ;
  write $servdoci $srv.fgen = %fgen $+ ;
  write $servdoci ?>
  inc %fgen
Posted By: DaveC

Re: mirc/php files - 15/08/04 05:46 AM

$ $+ network

Is that what ya mean?
Posted By: Coolkill

Re: mirc/php files - 15/08/04 11:09 AM

$!network[/color]

Eamonn.
Posted By: MTec89

Re: mirc/php files - 15/08/04 11:58 PM

how can i return the entire server map, instead of the last server, in the server map?

Code:
raw 6:*: {
  unset %server. map %server.map
  set %server.users $remove($gettok($1-, 3, 32),),()
  set %server.map %server.map $iif($gettok($rawmsg, 2, 32) == 006, $remove($gettok($rawmsg, 4, 32), :))
  set %network $network
  echo @status . : : Saved Total number of users updateing index file.
  updateinclude
  haltdef
}
alias srrrv.map {
  var %a = 1
  while (%a <= $numtok(%server.map, 32)) {
    return $gettok(%server.map, %a, 32) <br>
    inc %a 1
  }
}
Posted By: MTec89

Re: mirc/php files - 18/08/04 03:59 PM

*bump*
Posted By: MTec89

Re: mirc/php files - 20/08/04 02:01 AM

BUMP BUMP BUMP BUMP BUMP BUMP
BUMP BUMP BUMP BUMP BUMP BUMP
BUMP BUMP BUMP BUMP BUMP BUMP
BUMP BUMP BUMP BUMP BUMP BUMP
BUMP BUMP BUMP BUMP BUMP BUMP
BUMP BUMP BUMP BUMP BUMP BUMP
Posted By: Mentality

Re: mirc/php files - 20/08/04 02:03 AM

Stop it now. If nobody answers, it's because they don't know the answer. There is no need to 'bump' threads. Thank you.

Regards,
© 2020 mIRC Discussion Forums