Getting a NPC to display a Namelist.

Desolation Mir2 (Med Rate Server)

Dookie

LOMCN Veteran
Veteran
Aug 5, 2004
294
1
45
Is it posible to get an NPC to display the contents of a namelist, and if so how?

I did search but didn't find much, so i assume it's not possible or increadibly easy, lol.

Thanks in advance.

-Dookie
 

Dookie

LOMCN Veteran
Veteran
Aug 5, 2004
294
1
45
MentaL said:
Not possible to my knowledge.

Damn.

Is there any other way to get a NPC to show the top 5 level's on a server. Maybe using variables or somthing?

Thanks.

-Dookie
 
Upvote 0

MentaL

Jev For Admín!
VIP
Mar 3, 2004
3,845
553
385
Cardiff
<$HIGHLEVELINFO>
<$HIGHPKINFO>
<$HIGHDCINFO>
<$HIGHMCINFO>
<$HIGHSCINFO>
<$HIGHONLINEINFO>

test them out
 
Upvote 0

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
Those are prety self explanatory, they all read from the hum records appart from the last one, which displays the person online. As for displaying the contence of a name list, I don't think there is a way to do it. An external program could read it or a web site but not from within mir.
 
Upvote 0

Dano

Golden Oldie
Golden Oldie
Apr 18, 2006
696
6
105
Wales
well that would be good u just make the npoc say somet like " here is list of all high levels online atm" i no its cheesy but u turn it into ur own words
 
Upvote 0

Liandrin2

Golden Oldie
Golden Oldie
Loyal Member
Jan 14, 2004
890
6
105
I can't remember if it works, but i remember playing about.

Try making a namelist with [@main] at the top.

Then add that namelist as an npc.

Names will be added in order so that the npc will become

[@main]
Name1
Name2
etc


As I say, can't remember if it works, I remember getting it to work somehow.
 
Upvote 0

NickAKAVexus

Golden Oldie
Golden Oldie
Apr 16, 2005
1,427
1
125
New york
Liandrin2 said:
I can't remember if it works, but i remember playing about.

Try making a namelist with [@main] at the top.

Then add that namelist as an npc.

Names will be added in order so that the npc will become

[@main]
Name1
Name2
etc


As I say, can't remember if it works, I remember getting it to work somehow.


Don't see why that wouldn't work, good idea.
 
Upvote 0

Dookie

LOMCN Veteran
Veteran
Aug 5, 2004
294
1
45
Liandrin2 said:
I can't remember if it works, but i remember playing about.

Try making a namelist with [@main] at the top.

Then add that namelist as an npc.

Names will be added in order so that the npc will become

[@main]
Name1
Name2
etc


As I say, can't remember if it works, I remember getting it to work somehow.

Sounds like a good idea. I'll have a look into it tommorow.

I'll play around with those commands as well.

Thanks everyone.

-Dookie
 
Upvote 0

$omeone

Dedicated Member
Dedicated Member
May 16, 2006
50
0
32
MentaL said:
<$HIGHLEVELINFO>
<$HIGHPKINFO>
<$HIGHDCINFO>
<$HIGHMCINFO>
<$HIGHSCINFO>
<$HIGHONLINEINFO>

test them out

Added these, they work well, but they show all the information about the character like the GM Command @info. Is there anyway i can make it so i just shows the players name?

Thanks

-Dookie (Sorry, brothers forum accout -.- )

EDIT:

Liandrin2 said:
I can't remember if it works, but i remember playing about.
Try making a namelist with [@main] at the top.
Then add that namelist as an npc.
Names will be added in order so that the npc will become

[@main]
Name1
Name2
etc

As I say, can't remember if it works, I remember getting it to work somehow.

The problems i ran into with this was that to call the script i had to use the { and } . So whenever someone new was added to the list they would be added below the } and therefore
not show up when the file is next called.

Also there is no way that i can think of to format the layout. Because at the moment when a script is called its layed out like this:

Name1Name2Name3Name4 etc...

It sort of works but not quite :P Thanks for your help. Any more ideas apprecieated.

-Dookie
 
Last edited:
Upvote 0