Jump to content

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


Guest StarOfStar

Recommended Posts

Posted

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:

Posted

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!

}

}

Posted

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)

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

Posted

Im not sure, but do i just add that script to ''MTA-PRS1.2'' ?? I just add it to other scripts end? And does that script work?

Posted

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 =)=)

Posted

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 :)

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

Posted

Jos et saanu selkoa mitä scooby tarkoitti, kirjota mulle suomeks kysymykses

-> voin kääntää englanniks tai auttaa, jos ite osaan...

Finnish Multi Theft Auto Networks Community @ http://fin-mta.net

233040547.png

OWNED :D 100mbit fiber linez ownz :)

Posted
Jos et saanu selkoa mitä scooby tarkoitti, kirjota mulle suomeks kysymykses

-> voin kääntää englanniks tai auttaa, jos ite osaan...

probably you just did not understand that it's an english speaking forum

Do not PM me, im not going to read it anyway.

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

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