PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Falken on 09 June, 2004, 19:35:53

Title: the alcoholic top 10 bot
Post by: Falken on 09 June, 2004, 19:35:53
is there a way to make this script to work with ? and ?, the swedish letters?? like sk?l and ?l..

translate it can i do but it don't work if a use ? or ?.

//Falken
Title:
Post by: plop on 09 June, 2004, 20:40:28
setlocale("swe")

plop
Title: thx m8
Post by: Falken on 09 June, 2004, 20:43:05
i'll try that
Title: Don't get this to work:(
Post by: Falken on 10 June, 2004, 19:01:36
hi
where to put setlocale("swe") in the script?? i can't get it to work:(
and what do i need to change if i want sk?l insted of bier? or if there i a chans i will have 2 words, sk?l and ?l,,
it's no big deal with it, i just have it for fun in a small private hub:)

// Falken
Title:
Post by: plop on 10 June, 2004, 19:11:53
QuoteOriginally posted by Falken
hi
where to put setlocale("swe") in the script?? i can't get it to work:(
and what do i need to change if i want sk?l insted of bier? or if there i a chans i will have 2 words, sk?l and ?l,,
it's no big deal with it, i just have it for fun in a small private hub:)

// Falken
@ the top of the script.
it must be triggered before everything else.

plop
Title: ahh
Post by: Falken on 10 June, 2004, 20:46:56
i'll try that to hehe

thx again

//Falken
Title:
Post by: VidFamne on 11 June, 2004, 23:14:16
setlocale("swedish")
on top of the script, may also work.