0 Members and 2 Guests are viewing this topic.
Swompie:
if $DATA = /vote% * if $DATA != /vote% 60 /vote% 60 endifendif
Anyway, you will have to restart the server to see the changes.
Quote from: WhatYouWant on September 03, 2010, 04:12:17 pmSwompie: Is that so hard to think?Code: [Select]if $DATA = /vote% * if $DATA != /vote% 60 /vote% 60 endifendif... it's as simple as it can be in my eyes
function OnCommand(ID: integer; Text: String): boolean;begin result := false; if getPiece(Text, ' ', 0) = '/vote%' then result := true;end;
Quote from: Swompie on September 06, 2010, 12:07:35 pmQuote from: WhatYouWant on September 03, 2010, 04:12:17 pmSwompie: Is that so hard to think?Code: [Select]if $DATA = /vote% * if $DATA != /vote% 60 /vote% 60 endifendif... it's as simple as it can be in my eyesAnd it gives same result, either nothing or spam, well thanks for trying to help, i'll be watching vote% manually.