egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

About getuser/setuser

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Nara
Halfop


Joined: 23 Jul 2006
Posts: 40

PostPosted: Thu Oct 12, 2006 8:22 pm    Post subject: About getuser/setuser Reply with quote

Ok, I'm currently trying to do a custom thing for each different user using a simple command thats already integrated [rather then writing one to pull it from files]. The problem is - the two commands I want to use are user-get and user-set, however, these are no longer available and the modern getuser/setuser won't permit custom variables. Is there a way to make a new variable for getuser/setuser or should I just go ahead and code it to read from file?

~Nara
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Oct 13, 2006 12:36 am    Post subject: Reply with quote

What do you mean by custom variables, and why would setuser/getuser's XTRA fields not be sufficient?

It's not clear what exactly you're asking for.
Back to top
View user's profile Send private message
Nara
Halfop


Joined: 23 Jul 2006
Posts: 40

PostPosted: Sat Oct 14, 2006 8:26 am    Post subject: Reply with quote

Is there a way to make a new field [aka what I call variable] in those commands?

~Nara
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Oct 14, 2006 12:11 pm    Post subject: Reply with quote

yep:
Code:
setuser $user XTRA <yourtype> <value>
and
Code:
getuser $user XTRA <yourtype>

_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber