0 Members and 1 Guest are viewing this topic.
WriteConsole(ID,'Commands are: /login, /logout, /changepass, /changenick, /stats',GOOD); WriteConsole(ID,'!login for example will display info how to login',GOOD); end if (copy(Text,1,6) = '!login') then begin WriteConsole(ID,'Type /login ''your password'' to login',GOOD); end
Whats up with "NickRegistration.pas~"?
[*] Compiling default -> NickRegistration.pas...[*] default -> [Error] (103:15): Unknown identifier 'ID'
Zomg!Since you're using xsplit anyway... Why don't you do stuff := xsplit(text) in OnPlayerCommand and such and then do a Case(stuff[1])? Instead of all those If's with Copy(text ... o.O