Need some help with an npc

Desolation Mir2 (Med Rate Server)

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
103
can any 1 give me an example of how to use the checkguildlist

and checknamelist


edit - wats wrong with this

dan said:
#IF
CHECKGUILDLIST ..\QuestDiary\vip.txt < 0
#ACT
ADDGUILDLIST ..\QuestDiary\vip.txt
 
Last edited:

NickAKAVexus

Golden Oldie
Golden Oldie
Apr 16, 2005
1,427
1
125
New york
Problem is your checking it against a number.. I guess in theory true and false are sent back as numbers(0,1) but it doesn't work like that.

Code:
 ;if the guild the players in exists in list.txt then do ACT
#IF
CHECKGUILDLIST list.txt
#ACT
msgbox Worked

That code will check to see if the players guild is in list.txt if it is.. it will display a message box will the following text "Worked".

Fun isn't it? :)
 
Upvote 0

ThaOne

LOMCN Veteran
Veteran
Oct 31, 2005
268
0
43
Hollies house :)
NickAKAVexus said:
Problem is your checking it against a number.. I guess in theory true and false are sent back as numbers(0,1) but it doesn't work like that.

Code:
;if the guild the players in exists in list.txt then do ACT
#IF
CHECKGUILDLIST list.txt
#ACT
msgbox Worked

That code will check to see if the players guild is in list.txt if it is.. it will display a message box will the following text "Worked".

Fun isn't it? :)

its a barel of fun :D
 
Upvote 0

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
103
obviously not fun as your just posting completly the wrong thing.....

i want to check if the txt file is empty and if it is then i want to put a guild in it...
 
Upvote 0