PtokaX forum

Archive => Archived 5.0 boards => Help with scripts => Topic started by: B@B? on 24 May, 2005, 14:13:36

Title: Change User-Icon
Post by: B@B? on 24 May, 2005, 14:13:36
2.
I wish to give an user another icon.
Will say: He should be an normal user as allways, but
his icon has (e.g.) an OP-Key. This should NOT
be for an specified user, it should be for all.

HOW can i use the following command to do this?
(Or- what i must do? An example will be useful. Of cause, a ready one too...) thx  ;)

*******************************************

New User connected
opkey = 1 -- Key Icon/OP  0=no key

function Main()
if opkey == 1 then
Set icon to...blabla
end

(This will be for my sunnyboy wich will have another icon, like OP *g*
but i can?t give him their rights?...he?s 8! Sometimes he changes his
nick,so it will be better, the script works with any name.)
Title:
Post by: zoni on 24 May, 2005, 15:15:43
Huh!? you want give your boy another icon.

Hmm... I dont think its possible without rebuilding client, coz all icons are loaded from their own pc.

QuoteThis should NOT
be for an specified user, it should be for all.

if u want to see another icons in front of all users like u say above, u can change icons in your dc directory. th0 that works only in ur pc.

why do u want to change icons if everybody would have same anyway?

or are u asking how u can get key icons for everybody?
Title:
Post by: Dessamator on 24 May, 2005, 16:57:17
wierd request, but if u want to give keys to everyone, just use the user profile manager in ptokax and tick the    "Has key/ is op"
Title:
Post by: B@B? on 25 May, 2005, 10:49:33
Thx @ Zoni for your answer. ;)

@ Dessamator:

WELL DONE!  :D

Another fine answer wich bombs! Thx...  :P