Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menu channel {
- Auto-Ghost:
- .Resetdata
- ..Resetnick:/resetnick
- ..Resetpassword:/resetpass
- ..Resetboth:/resetboth
- .Scan:/ghostcheck
- alias resetnick {
- unset %db
- set %db $$?="What is your new nick to protect?"
- }
- alias resetpass {
- unset %dp
- set %dp $$?="What is your new nickserv password?"
- }
- alias resetboth {
- unset %db
- unset %dp
- set %dp $$?="What is your new nickserv password?"
- set %db $$?="What is your new nick to protect?"
- }
- alias identify {
- /nick %db
- timer 1 1 /ns identify %dp
- }
- alias Ghostcheck {
- /echo $active 4*** Carrying out Ghost-check ***
- if (%db ison $chan) || ($me != %db) {
- /ns ghost %db %dp
- /echo $active 4*** Ghost is killed ***
- timer 1 1 /identify
- }
- elseif ($me == %db) {
- timer 1 1 /echo $active *** No Ghost nicks of you ***
- }
- }
- on *:JOIN:#:/Ghostcheck
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement