Usergroups

Discuss all kinds of software here including apps, games and operating systems. You can also share software guides and receive help for your software in this section.
Kinglouie
Member
Member
Posts: 3
Joined: Wed Oct 27, 2010 3:38 pm

Usergroups

Fri Sep 16, 2011 9:56 pm

How would I get the bot to display a personal message to somebody not in a usergroup? This is what i have now but people not in the usergroup are able to use it.

<usergroup name="AdminIgnored" case="1">
*#c7#Kîñg#c8#£ºµîè000*
*#c60#M®. Pîñk*
*Mñß*¿ #c61#Ëàg£è*
*#c7#XX#c20#twins#c33#*
</usergroup>

<command type="script" usergroup="AdminIgnored">
<in>!ignored by %PARAM%</in>
<out>/notice #c21#ATTENTION #c2#"%PARAM%"#c21#. %NAME% #c21#HAS FOUND THEMSELVES EITHER MISTAKENLY OR INTENTIONALLY PLACED IN YOUR IGGY BIN.</out>
<out>/notice #c21#AN ADMIN OF A ROOM YOU ARE PARKED IN SHOULD NEVER BE IGNORED.</out>
<out>/notice #c21#PLEASE RECTIFY THIS SITUATION WITHIN THE NEXT HOUR OR YOU WILL BE KICKED.</out>
<out>/notice #c21#IF THERE IS A PERSONAL PROBLEM WITH THIS ADMIN PLEASE CONTACT °|<°Q° #c7#Kîñg#c8#£ºµîè #c21#AND AN EXCEPTION MAY BE MADE DEPENDING ON THE CIRCUMSTANCES.</out>
<out>/notice #c21#THANK YOU FOR YOUR COOPERATION IN THIS MATTER.</out>
</command>

<command type="script" usergroup="!AdminIgnored">
<in>!ignored by %PARAM%</in>
<out>/message %NAME% Sorry %NAME% but you must be an admin to use this command.</out>
</command>
User avatar
Pri
Site Admin
Site Admin
Posts: 5433
Joined: Fri Dec 14, 2007 8:59 am

Re: Usergroups

Sat Sep 17, 2011 1:13 am

That code should work. I don't see why it wouldn't.

But on the other hand usergroups in Metis are a bit buggy.

Return to “Software Centre”

Who is online

Users browsing this forum: No registered users and 12 guests