Skip to content
MSN

add knocks

A TG007 community discussion started by lustdevil.

Discussion 9 posts
Page 1 of 1
Open
Topic #300 · 9 published posts · 994 views

Well Actually i want to load knocks in ma script but i have seen in ur site(techgear) there is nothing about knocks..can u guys tell from where i can get these types of knocks..?

thanx

 

Waitting for ur reply..

 

Good bye

#knocks on
raw KNOCK:*: {
 if ($2 == 913) /msg $active $nick ( $+ $address $+ ) Has just tried to access our room.
 elseif ($2 == 471) /msg $active Allthough the room is full, $nick ( $+ $address $+ ) Tried to join but failed.
 elseif ($2 == 473) /msg $active The room is currently set to invite only, but $nick ( $+ $address $+ ) Tried to join, but to no avail.
 elseif ($2 == 474) /msg $active $nick ( $+ $address $+ ) Has been denied access to our room.
 elseif ($2 == 475) /msg $active Error! $nick ( $+ $address $+ ) Tried To Enter Without The Key!!
 else /msg $active Knock:  $nick ( $+ $address $+ ) (Numeric: $2 $+ ): $nick
 haltdef
}
#knocks end

 

Save that as knocks.mrc to ur script file then when ur script is open, type /load -rs knocks.mrc

Well man ...its not working..first of all i open the remote script..n save ur given Coding in it..as knock.mrc..then i load it from the script but its not workin..Do u think i am doing right things..plz Guide me..

thanx for reply.

 

good bye

Um..a knock occurs when a user tries to enter a room that is banned or some other reason. Try to ban a user and then try it. The one Mr_S gave you messages the channel when someone tries to enter.

hey lust the other reason that knocks aren't working is becoause it might be that u haven't set the room mode to +u if u think u did that but still its not working then u have done something wrong loading the script etc........................ sad.gif

Why not just go to Vincula-RoomCommands > Room-Modes > and then click on Knock Mode...

 

Regards

Newt.

I am Still not clear...I have lot of Questions in ma mind..But i think there is nothing about knocks options in ma script..so how can i on or off.. wink.gif

I am using rumbaar scripts.. cool.gif

 

Good bye

ok you have the coding i sent you (knock.mrc) loaded..

 

the 1st part where it says #knocks on <--- make sure that says ON lol!

 

next, to make sure you will recieve knocks.... set your rooms mode to +u

 

type the following:

 

/mode %#[roomname] +u

 

This will turn the knock mode on.... now ban someone and ask them 2 rejoin.... When they try, you will see a message in the room from your script say..

 

[persons name] Has been denied access to our room.

 

Give it a try...

 

ps. u know how 2 unban dont u? (jus incase tongue.gif)

if you use Hybrid .. just rightclick in it and look after vincula

RoomCommands !! and hilight.. go then to to RoomModes ( hilight) now you will se KnockMode!

 

 

Newt.