Jump to content

Adding members to my clan and adding members to admin????


Guest StarOfStar

Recommended Posts

Hey, i think im gonna understand some scripts, but i cant still understand why any addon script doesnt work. Well nvm for that... The problem is, how i can add a new member to my clan that console doesnt kick the clan member if he but tag on her name like: [clan] this. I need a script like !addmember, and i have PRS and PGS scripts, so how i can insert the script to it, and can someone give me the script plz? And is any script what but my members to admin like: !addadmin ? Plz help me fast... :oops:

Link to comment

late use search anyway..

on *:SIGNAL:mta.command: {

var %a = $iif((!$4),$2,$iif(($mta.getid($1,$+(*,$4,*)) == $null),$2,$v1))

if ($3 == !addsus) && ($mta.level($1,$2) > 2) {

if (%a == $2) mta.pm $1 $2 Error: Invalid Name.

else {

!writeini -n sus.ini sus $mta.nick($1,%a) 1

mta.pm $1 $2 Suspect $mta.nick($1,%a) Added.

}

}

elseif ($3 == !remsus) && ($mta.level($1,$2) > 2) {

if (%a == $2) mta.pm $1 $2 Error: Invalid Name.

else {

!remini -n sus.ini sus $mta.nick($1,%a)

mta.pm $1 $2 Suspect $mta.nick($1,%a) Removed.

}

}

}

on *:SIGNAL:mta.join: {

if ($readini(sus.ini,sus,$mta.nick($1,$2)) == 1) {

!msg #YOUR-IRC-CHANNEL-NAME Warning: Suspect $mta.nick($1,$2) Has Joined!

}

}

Link to comment

hmmm kinda confused about JB_Frozens reply.

ok StarOfStar,

U cant add admins with the script with a command like !addadmin, since the admin details are stored in the server config. Plus there would be no way to add a password without everyone seeing it since u cant PM to absent players/id's (which is why there is no nickserv type function). Its not a major thing to open ur server config file and manually add their name and pass. (this is what we all do)

Link to comment

Ok, tyvm =) Now i think i know all about scripts, exept i dont know how to make own :lol: And scooby, i use your scripts, and i have to say ITS AWESOME and a very good work! :shock::wink: But i cant understand the Admin thing, i want to add a member to admin lvl 3 and is it like this? :::

# Admin

# Required: No

# Purpose: Defines all the people in-server who can rcon_login to admin

# Format - Admin

# Notes:

# admin-level must not go above 5

# Names and passwords are case sensitive

Admin ME PASSWORD 5

Admin NAME PASSWORD 3

I hope you understand me what i mean, and sorry from not good english =)=)

Link to comment

ok, what u have to do is add all ur members names to that list, along with their password and admin level.

eg:

# Admin

# Required: No

# Purpose: Defines all the people in-server who can rcon_login to admin

# Format - Admin

# Notes:

# admin-level must not go above 5

# Names and passwords are case sensitive

#Admin Default password 5

Admin StarOfStar mypassword 5

Admin member1 member1spass 4

Admin member2 member2spass 3

Admin member3 member3spass 3

Admin member4 member4spass 2

add all ur members to the list.

Format: Admin

i hope this helps :)

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...