Zitat:
O.T.: warum fangen Deine Versionen immer mit 0.8 an

eigentlich, damit ich noch platz bis zur 1.0 habe, die dann funktionieren sollte. allerdings bin ich immer zu faul, die version zu ändern, so dass es im endeffekt nichts bringt. weshalb ich es immernoch tue: ich habe ein sample plugin, dass ich wenn ich ein neues anfange, kopiere und umbenenne
plugin_rindy_template
Code:
/*********************************************************
* A sample plugin - Version 0.8 *
*********************************************************
* *
* Name: plugin_rindy_ *
* Author: Rinde (rinde@fiatnox.de) *
* Released: 15/11/02 *
* *
* *
* Commands: *
* *
* admin_ *
* *
* Changelog: *
* *
* Version 0.8 *
* *
* - Initial release *
* *
*********************************************************/
/* Includes */
#include <plugin>
#include <adminlib>
#include <rindy>
/* Constants */
#define ACCESS_
/* Global Variables */
new g_Version[10] = "0.8";
/* Function Declarations */
forward a(HLCommand,HLData,HLUserName,UserIndex);
/* Event Handlers */
public plugin_init() {
plugin_registerinfo("","",g_Version);
plugin_registercmd("","a",ACCESS_,"");
return PLUGIN_CONTINUE;
}
/* Command Handlers */
public a(HLCommand,HLData,HLUserName,UserIndex) {
return PLUGIN_HANDLED;
}
/* Support Functions */
/*
Stufe 15
( ) Gruppieren von Ausdrücken
[ ] Auswahl einer Feldkomponente
Stufe 14
! ~ Negation (logisch, bitweise)
++ -- Inkrementieren, Dekrementieren (Präfix oder Postfix)
+ - Vorzeichen (unär)
Stufe 13
* / Multiplikation, Division (binär)
% Rest bei ganzzahliger Division (binär)
Stufe 12
+ - Summe, Differenz (binär)
Stufe 11
<< >> bitweise Verschiebung nach links, rechts
Stufe 10
< <= Vergleich auf kleiner, kleiner oder gleich
> >= Vergleich auf größer, größer oder gleich
Stufe 9
== != Vergleich auf gleich, ungleich
Stufe 8
& Und (bitweise)
Stufe 7
^ exklusives Oder (bitweise)
Stufe 6
| inklusives Oder (bitweise)
Stufe 5
&& Und (logisch)
Stufe 4
|| inklusives Oder (logisch)
Stufe 3
? : bedingte Auswertung (nur paarweise)
Stufe 2
= Wertzuweisung
°= zusammengesetzte Wertzuweisung mit ° für: * / % + - << >> & ^ |
servertime(sDest[],iMaxLen,sFormat[]);
%a abbreviated weekday name.
%A full weekday name.
%b abbreviated month name.
%B full month name.
%c appropriate date and time representation.
%C century number as a decimal number [00-99].
%d day of the month as a decimal number [01,31].
%D same as %m/%d/%y.
%e day of the month as a decimal number [1,31]; a single digit is preceded by a space.
%h same as %b.
%H hour (24-hour clock) as a decimal number [00,23].
%I hour (12-hour clock) as a decimal number [01,12].
%j day of the year as a decimal number [001,366].
%m month as a decimal number [01,12].
%M minute as a decimal number [00,59].
%n newline character.
%p either a.m. or p.m.
%r equivalent to %I:%M:%S %p.
%R time in 24 hour notation (%H:%M).
%S second as a decimal number [00,61].
%t tab character.
%T the time (%H:%M:%S).
%u weekday as a decimal number [1,7], with 1 representing Monday.
%U week number of the year (Sunday as the first day of the week) as a decimal number [00,53].
%V week number of the year (Monday as the first day of the week) as a decimal number [01,53]. If the week containing 1 January has four or more days in the new year, then it is considered week 1. Otherwise, it is the last week of the previous year, and the next week is week 1.
%w weekday as a decimal number [0,6], with 0 representing Sunday.
%W week number of the year (Monday as the first day of the week) as a decimal number [00,53]. All days in a new year preceding the first Monday are considered to be in week 0.
%x locale's appropriate date representation.
%X locale's appropriate time representation.
%y year without century as a decimal number [00,99].
%Y year with century as a decimal number.
%Z name or abbreviation, or by no bytes if no timezone information exists.
%% is replaced by %.
*/