Forum

> > CS2D > Scripts > Tibia Error
Forums overviewCS2D overview Scripts overviewLog in to reply

English Tibia Error

11 replies
To the start Previous 1 Next To the start

old Tibia Error

Salem97
User Off Offline

Quote
any help ?this error in tibia script by me any Ayo LUA ERROR: sys/lua/cs2dtibia/admin.lua:223: '<eof>' expected near 'elseif'

here is the line 223     

     elseif command =='k' then

what wrong ?

old no work

Salem97
User Off Offline

Quote
LUA ERROR: sys/lua/cs2dtibia/admin.lua:223: '<eof>' expected near 'elseif'
that is full code
elseif command =='k' then
local target = tonumber(words:sub(3))
if target then
if player(target,'exists') then
parse("kick " .. target)
end
end

old Re: Tibia Error

Mora
User Off Offline

Quote
don't you know what means "eof"? put it in somewhere where it needs, check for it...
*<eof- end of function>

old this full

Salem97
User Off Offline

Quote
this is full

Spoiler >

old Re: Tibia Error

VADemon
User Off Offline

Quote
user Salem97this is not the full function, you fool. But once you add one "end" to the end, it shouldn't give any errors

old Re: Tibia Error

Salem97
User Off Offline

Quote
vademon i added end but
LUA ERROR: sys/lua/cs2dtibia/admin.lua:223: '<eof>' expected near 'elseif'

can u give me full code ?

old Re: Tibia Error

VADemon
User Off Offline

Quote
user Salem97, do you realize that I need the full code from YOU before I can fix it and hand in the fixed full code?

old Re: Tibia Error

Mora
User Off Offline

Quote
@user Salem97: maybe you haven't work code.. just your s**t isn't finished script, you don't even show us full s**t code...
if you got tibia-impossible to have only those s**t scripts:
Spoiler >

this "code" is totaly wrong...where is any addhooks?

My english -.-

old Re: Tibia Error

Yates
Reviewer Off Offline

Quote
Give us your admin.lua and we'll find the function ourselves.

old this full

Salem97
User Off Offline

Quote
this bro :

Spoiler >
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview