Psychostats2Eggdrop

Od HLDS.pl
Skocz do: nawigacji, wyszukiwania


Spis treści

Description

Accessing PsychoStats statistics from the Eggdrop TCL script , so the players can check their statistics on IRC.

Ideas

  • eggdrop tcl asks for www page with given parameter
  • php checks if parameter is correct (to avoid exploits), then runs SQL query, and produces output based on given template file
  • eggdrop recieves data and passess them to the irc channel, or privmsg to player

Pros

  • not everyone can connect to remote mysql host
  • integrating sql witin tcl will make file too large and hard to edit output
  • php connects to mysql better :)
  • template makes it easier to edit output format - you do not have to use a plain text, you can change it to RSS feed aswell, or later integrate it to WWW in some intranet website
  • you can easily restrict access to the script
  • php script will be mainly ripped directly from psychostats, so most work is allready done

Cons

  • requres aditional file in php
  • require extra tcl script for retreivng data from www, but most users that use RSS readers, Weather scripts or Google search tools allready have it

Psychostats2eggdrop.jpg

Osobiste
Przestrzenie nazw
Warianty
Działania
HLDS.pl - Menu:
Inne
IRC
Inne sekcje:
Znajomi:
Narzędzia