Jump to content

ADDING!


ImJohnMclane

Recommended Posts

Hey all, I need help with script, WestCoast tryed to help me, but still not work . =(


on *:SIGNAL:mta.command:{
var %a = $read(nickserver.ini)
if ($3 == !addmember) {
mta.say $1 $mta.name($1,$2) Member Added Succefully!
!writeini "mta.nickserv.ini" $mta.name($1,$2)"
 }
elseif ($3 == !addmember) {
!writeini "mta.nickserv.ini" $mta.name($1,$2)
}


Repair it please!:(

Ty

Crazy.

Link to comment

next time give more info.. like what and where you want to add :roll:

Adding a name to a .txt:

on *:SIGNAL:mta.command:{
 var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)
 if ($3 == !addmember) {
   !write " $+ $scriptdir $+ nickserv.txt" $mta.name($1,%a)
   mta.say $1 Member $mta.name($1,%a) Added Succefully!
 }
}

Adding a name to a .ini:

on *:SIGNAL:mta.command:{
 var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)
 if ($3 == !addmember) {
   !writeini " $+ $scriptdir $+ nickserv.ini" members $mta.name($1,%a) 1
   mta.say $1 Member $mta.name($1,%a) Added Succefully!
 }
}

Link to comment
  • Recently Browsing   0 members

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