alittle help please

smoochy boys on tour

daneo1989

I am Ancient.
Staff member
Moderator
Dec 5, 2005
5,963
1
223
280
UK
hello i'm make a server with 3x differnt kind of race's and i want to change ppl's name colour from white to orange/green/yellow etc for perm how can i do this or isnt it possible
 

Zidio

Banned
Banned
Golden Oldie
Nov 2, 2005
1,285
1
145
LOMCN
im sure you could do something in the QFunction wen log in check (class)? maybe if you wanted a diff color for each class at goto another script with something simular to the script u use to change your name in game? i think you could work it out with a few atemps?
 

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
295
Well one way is to use flags. If you want an NPC to set the name colour and it would stay, then i guess you could do it by

[@main]
#IF
CHECK whatever you want, gold or something
#ACT
SET [276] 1
whatever the namecolour command is

Then in qmanage or loginact

#IF
CHECK [276] 1
#ACT
setnamecolour command
 

Zidio

Banned
Banned
Golden Oldie
Nov 2, 2005
1,285
1
145
LOMCN
Ragnar said:
Well one way is to use flags. If you want an NPC to set the name colour and it would stay, then i guess you could do it by

[@main]
#IF
CHECK whatever you want, gold or something
#ACT
SET [276] 1
whatever the namecolour command is

Then in qmanage or loginact

#IF
CHECK [276] 1
#ACT
setnamecolour command

argh n1 i was thinking something along the lines of this :)
 

daneo1989

I am Ancient.
Staff member
Moderator
Dec 5, 2005
5,963
1
223
280
UK
Ragnar said:
Well one way is to use flags. If you want an NPC to set the name colour and it would stay, then i guess you could do it by

[@main]
#IF
CHECK whatever you want, gold or something
#ACT
SET [276] 1
whatever the namecolour command is

Then in qmanage or loginact

#IF
CHECK [276] 1
#ACT
setnamecolour command

thanks alot m8 ill give it ago
 

daneo1989

I am Ancient.
Staff member
Moderator
Dec 5, 2005
5,963
1
223
280
UK
Ragnar said:
Well one way is to use flags. If you want an NPC to set the name colour and it would stay, then i guess you could do it by

[@main]
#IF
CHECK whatever you want, gold or something
#ACT
SET [276] 1
whatever the namecolour command is

Then in qmanage or loginact

#IF
CHECK [276] 1
#ACT
setnamecolour command

ok ive tryd that but im makin a 1.4 and it dosnt work you no any other way todo it?
 

daneo1989

I am Ancient.
Staff member
Moderator
Dec 5, 2005
5,963
1
223
280
UK
Senture said:
the problem is there isnt a login script function on 1.4

well im runnin a 1.4 but im usin 1.9 gates cept m2server where is it located and ill have a look
 

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
295
daneo1989 said:
well im runnin a 1.4 but im usin 1.9 gates cept m2server where is it located and ill have a look
It's the M2Server which handles the gameplay and all, not the gates, so unless you are using the 1.9 files, you won't have any scripts which get activated upon login.
 

KhaosOdin

Dedicated Member
Dedicated Member
Aug 22, 2003
78
0
103
Unknown Province
sorry to bump an old thread but ive got a fix
basically to create a login style script on a 1.4 server, use the mapquest thing for every single map on enter

before 1.9's i worked out alot of long-winded time-consuming methods to do things tht 1.9's can do easilly lol, stuff like login scripts an global variables ;)