Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:!add autojoin*:?: {
- if ($nick == wooolly) {
- if (!$3) {
- msg $nick 11please add the 7channel 11you wish to add to my 12autojoin list
- halt
- }
- if ($readini(autojoin.ini,chans,$3) == no) {
- /ns ajoin add $3
- writeini autojoin.ini chans $3 $3
- msg $nick 12 $+ $3 14added to autojoin list
- halt
- }
- if ($readini(autojoin.ini,chans,$3) == $3) {
- msg $nick 12 $+ $3 15is already on my autojoin list
- halt
- }
- }
- }
- on *:TEXT:!del autojoin*:?: {
- if ($nick == wooolly) {
- if (!$3) {
- msg $nick 11please add the 7channel 11you wish to del from my 12autojoin list
- halt
- }
- if ($readini(autojoin.ini,chans,$3) == $3) {
- /ns ajoin del $3
- writeini autojoin.ini chans $3 no
- msg $nick 12 $+ $3 14deleted from autojoin list
- halt
- }
- if ($readini(autojoin.ini,chans,$3) == no) {
- msg $nick 12 $+ $3 15isn't on my autojoin list
- halt
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement