Guest Posted April 18, 2007 Share Posted April 18, 2007 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... Link to comment
JB_frozen Posted April 18, 2007 Share Posted April 18, 2007 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
Scooby Posted April 18, 2007 Share Posted April 18, 2007 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
Guest Posted April 18, 2007 Share Posted April 18, 2007 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? Link to comment
Guest Posted April 18, 2007 Share Posted April 18, 2007 Or, Scooby, if u can add to me the script into 1.2 , plz add me [email protected] if u have messenger =) Link to comment
Scooby Posted April 18, 2007 Share Posted April 18, 2007 sorry, i dont know what ur talking about. what do u mean? u dont add scripts to the ends of other scripts.... just load them all 1 at a time. Link to comment
Guest Posted April 19, 2007 Share Posted April 19, 2007 Ok, tyvm =) Now i think i know all about scripts, exept i dont know how to make own And scooby, i use your scripts, and i have to say ITS AWESOME and a very good work! 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
Scooby Posted April 19, 2007 Share Posted April 19, 2007 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
SanZoR Posted April 20, 2007 Share Posted April 20, 2007 Jos et saanu selkoa mitä scooby tarkoitti, kirjota mulle suomeks kysymykses -> voin kääntää englanniks tai auttaa, jos ite osaan... Link to comment
lil Toady Posted April 20, 2007 Share Posted April 20, 2007 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 Link to comment
SanZoR Posted April 20, 2007 Share Posted April 20, 2007 StarOfStar is finnish, and his english is bad, so i tell him to say it to finnish, so i can help him... Link to comment
Scooby Posted April 20, 2007 Share Posted April 20, 2007 I think he must have got it working. Link to comment
Recommended Posts