Go Back   FlashFXP Forums > > > >

! Other Scripts Support Support for all other scripts...

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-17-2003, 09:01 PM   #1
vod
Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Jun 2002
Posts: 84
Default Master Users!

Ok, this is a down and dirty lil thing that adds or removes the master flag from a user via shmem.

Useage:
masteruser add <user>
masteruser del <user>

if you wanta add it in [SCRIPTS] do like
addmaster = ../path/something/masteruser.exe add
delmaster = ../path/something/masteruser.exe del

make sure to set some premissions like, otherwise anyone could do it!
addmaster = M
delmaster = M

DARK: lpMessage->dwReturn returns 4294967295 on invalid USER_TO_UID? what kinda junk is that? that max long or something (thats all i need to check for right...heh)
vod is offline   Reply With Quote
Old 09-17-2003, 10:13 PM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

return value is as INT32.

-1 as INT32 = 4294967295 as UINT32 (DWORD)
darkone is offline   Reply With Quote
Old 09-17-2003, 10:33 PM   #3
vod
Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Jun 2002
Posts: 84
Default

Quote:
Originally posted by darkone
return value is as INT32.

-1 as INT32 = 4294967295 as UINT32 (DWORD)
well duh vod, you should of realized that....heh
vod is offline   Reply With Quote
Reply

Tags
add, addmaster, del, delmaster, masteruser

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change F8 to something else? Gary King General Discussion 1 11-10-2004 07:03 PM
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM


All times are GMT -5. The time now is 11:52 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)