WinMX World :: Forum

Metis Scripts and Help => Other Metis scripts => Topic started by: Max™ on December 02, 2006, 07:11:10 pm

Title: Include and Exclude Usergroups (basic's)
Post by: Max™ on December 02, 2006, 07:11:10 pm
in metis you have 'badword' that will warn people who trigger it and then kick that user if they re-offend

the badword is set so it will exclude admins listed in your admins usergroup, each word is on a diffrnt line, because its in the main config it has its own command and dont need <command> </command>
Code: [Select]
<config>
<badword usergroup="admins">badword</badword>
<badword usergroup="admins">badword</badword>
</config>

restriction a command to admins only
Code: [Select]
<config>
<command usergroup="admins">
<in>asl</in>
<out>Age/Sex/Location plz? </out>
</command>
</config>

to exclude admins from a command like abuse auto kick, the ! added to usergroup is the exclude command
Code: [Select]
<config>
<command usergroup="!admins">
<in>F**K OFF</in>
<out>/kick %NAME% </out>
</command>
</config