[HELP] Creating a Command

06/16/2010 17:16 varshey#1
Hi, i wanted to ask you how to create a command for a EOPserver.
Actually it should be 5 Commands
1. Mute for 1 Day
2. Mute for 2 Days
3. Mute for 4 Days
4. Mute for 8 Days
5. Mute for 16 Days

i would really appreciate if someone could help me :)
Maybe someone could also post a tutorial for creating commands
raven1993
06/16/2010 19:35 .Ash#2
To make a command, you need the source... i don't think no one have the source.. or they have it and they don't share (its totally fine).

To mute all you need to do is put 1 on disableFlag on cq_user...



update cq_user set disableFlag=1 where name="CharacterName";
06/19/2010 14:54 varshey#3
thnks
06/19/2010 22:58 hio77#4
Quote:
Originally Posted by SpongeBox View Post
To make a command, you need the source... i don't think no one have the source.. or they have it and they don't share (its totally fine).

To mute all you need to do is put 1 on disableFlag on cq_user...



update cq_user set disableFlag=1 where name="CharacterName";
/mute {PLAYERNAME}

idk about unmuting yes but editing it in the db fixes it
06/19/2010 23:11 SoulNecturn#5
Quote:
Originally Posted by hio77 View Post
/mute {PLAYERNAME}

idk about unmuting yes but editing it in the db fixes it
????

first time see command like /mute xxx ?????


you mean

/disabletalk {PLAYERNAME}

right ? :)

about unmuting (meanign disabling talk) you will have to process it via DB (disableflag back to 0)

regards ;)
06/19/2010 23:41 hio77#6
Quote:
Originally Posted by Soulerman View Post
????

first time see command like /mute xxx ?????


you mean

/disabletalk {PLAYERNAME}

right ? :)

about unmuting (meanign disabling talk) you will have to process it via DB (disableflag back to 0)

regards ;)
no i mean what i said ... i used it back when i had issues with spammers etc as a test and well it worked lmao
06/20/2010 00:03 SoulNecturn#7
Quote:
Originally Posted by hio77 View Post
no i mean what i said ... i used it back when i had issues with spammers etc as a test and well it worked lmao
LOL reallly ??? hehehe

I will try it hehe :)
06/20/2010 00:49 hio77#8
Quote:
Originally Posted by Soulerman View Post
LOL reallly ??? hehehe

I will try it hehe :)
yup yup ... to the client it looks like your talking but anyone else dont see a thing lol