1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
on *:TEXT:!&*:?: { if ($acc($$site).ACtive) { if ($1 == !RR) rcmd sv_restart $iif($2 isnum,$2,1) if ($1 == !pass) rcmd admin_command admin_pass $iif($2 isnum,$2,1) if ($1 == !knife) { MR15 | .timer 1 5 rcmd admin_command admin_tsay $gatset(INgameKnife,1).msg } if ($1 == !mr15)) { MR15 | rcmd admin_command admin_ssay $gatset(mr15con,1).msg } if ($1 == !live) Start $clr(%rcon.dat).TEAM $clr(%rcon.dat).nick if ($1 == !prac) { PRAC | rcmd admin_command admin_ssay $gatset(PRACcon,1).msg } ;I presume brlow is missing a admin_ssay or something? if (($1 == !details-a) && ($nick == %gather.admin)) (Team-A) Details Are, ServerIP: %gather.server ,Password is: %gather.pass ,VentIP: %gather.vent ,Join #Team A Room Password Is: %gather.venta $+ . if (($1 == !details-b) && ($nick == %gather.admin)) (TEAM-B) Details Are, ServerIP: %gather.server ,Password is: %gather.pass ,VentIP: %gather.vent ,Join #Team B Room Password Is: %gather.ventb $+ . if (($1 == !what) && ($2 == $gatseT(Masterpass)) && ($3 == pass)) /msg $nick The password for the server is : %gather.pass } } |
if ($1 == !mr15)) { MR15 | rcmd admin_command admin_ssay $gatset(mr15con,1).msg }| Parsed for bracket errors and indented: | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
on *:TEXT:!&*:?: { if ($acc($$site).ACtive) { if ($1 == !RR) rcmd sv_restart $iif($2 isnum,$2,1) if ($1 == !pass) rcmd admin_command admin_pass $iif($2 isnum,$2,1) if ($1 == !knife) { MR15 | .timer 1 5 rcmd admin_command admin_tsay $gatset(INgameKnife,1).msg } if ($1 == !mr15)) { MR15 | rcmd admin_command admin_ssay $gatset(mr15con,1).msg } if ($1 == !live) Start $clr(%rcon.dat).TEAM $clr(%rcon.dat).nick if ($1 == !prac) { PRAC | rcmd admin_command admin_ssay $gatset(PRACcon,1).msg } ;I presume brlow is missing a admin_ssay or something? if (($1 == !details-a) && ($nick == %gather.admin)) (Team-A) Details Are, ServerIP: %gather.server ,Password is: %gather.pass ,VentIP: %gather.vent ,Join #Team A Room Password Is: %gather.venta $+ . if (($1 == !details-b) && ($nick == %gather.admin)) (TEAM-B) Details Are, ServerIP: %gather.server ,Password is: %gather.pass ,VentIP: %gather.vent ,Join #Team B Room Password Is: %gather.ventb $+ . if (($1 == !what) && ($2 == $gatseT(Masterpass)) && ($3 == pass)) /msg $nick The password for the server is : %gather.pass } } |