This script is made for unreal ircd's.
It allows people to add a vhost for user.
to add user to ur allow list (in order for u to set vhost). right click nick "Add To Allowed Vhost"
now the user can type !vhost .
thats basically it
on *:LOAD: {
{ set %allowedvhosters $me }
}
on *:TEXT:!Vhost *:#channel: {
if ($nick !isin %allowedvhosters) { msg $chan $nick , You Do Not Have Access To This Script, PLease Pm Me About Axx | goto endvhost }
if ($2 == $null) { msg $chan Who is getting a vhost set $nick $+ ? | goto endvhost }
if ($2 !ison $chan) { msg $chan Who is $2 $nick $+ ? | goto endvhost }
{ msg $chan $gettok($address($nick,8),1,64) is attempting to change a vhost }
if (cunt isin $3) { goto endvhost }
if (fuck isin $3) { goto endvhost }
if (sex isin $3) { goto endvhost }
if (porn isin $3) { goto endvhost }
if (gay isin $3) { goto endvhost }
if (ghee isin $3) { goto endvhost }
if (ghey isin $3) { goto endvhost }
if ($chr(64) isin $3) { goto hostillegalcharacter }
if ($3 != $null) { goto addvhost }
else {
{ msg $chan No Host set! }
{ goto endvhost }
}
:addvhost {
{ hs setall $2 $3- }
{ msg $chan $3- set as $nick $+ 's Vhost. }
{ setvoiceall $2 }
{ goto endvhost }
}
:hostillegalcharacter {
{ msg $chan $3- contains an illegal character. (Vhost cannot be set) }
{ goto endvhost }
}
:endvhost {
}
}
menu nicklist {
-
Add To Allowed Vhost: { set %allowedvhosters $$1 %allowedvhosters }
Clear Allowed Vhost: { set %allowedvhosters $null }
-
}