UKChatterbox Chatter Script

By Valware on Oct 17, 2012

This is a chatters script based around the functions on UKChatterbox.
As UKChatterbox is a heavily customised network, many of these functions won't work on other networks.

UKChatterbox uses Unreal3.2

With this script, you can;

  • Report a chatter with pre-loaded options
  • Set yourself away/return (with an option to return upon input)
  • View staff currently online
  • Add staff to notify list when you check the In-IRC online staff list
  • Auto-identification/password storage option (encoded in Mime)
  • Ability to quickly open a chatters profile in your default browser
  • Function to quickly add/remove to/from your BLOCK list (Only in client, not a permanant fixture)
  • Profile Search (opens in default browser)
  • Other helpful website functions
menu nicklist {
  UKChatterbox
  .View staff online:gw onlinestaff
  .Make a report
  ..This person
  ...Under 18 Channel
  ....Sexual Requests:report Channel: # - User: $$1 - Reason: Sexual requests | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Swearing:report Channel: report Channel: # - User: $$1 - Reason: Swearing | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Abuse:report Channel: # - User: $$1 - Reason: Abusive chat | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Webcam Requests:report Channel: # - User: $$1 - Reason: Webcam requests | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Flooding:report Channel: # - User: $$1 - Reason: Flooding | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Advertising:report Channel: # - User: $$1 - Reason: Advertising | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Adult Discussion:report Channel: # - User: $$1 - Reason: Adult themed discussion | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Drug Chat:report Channel: # - User: $$1 - Reason: Promotional drug chat | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Inappropriate username:report Channel: # - User: $$1 - Reason: Inappropriate username | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Spamming:report Channel: # - User: $$1 - Reason: Spamming | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Disruption:report Channel: # - User: $$1 - Reason: Disruption | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Racism:report Channel: # - User: $$1 - Reason: Racism | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Homophobia:report Channel: # - User: $$1 - Reason: Homophobia | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ...18+ Channel
  ....Sexual Requests:report Channel: # - User: $$1 - Reason: Sexual requests | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....'C' word:report Channel: report Channel: # - User: $$1 - Reason: User said the 'C' word. | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Abuse:report Channel: # - User: $$1 - Reason: Abusive chat | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Webcam Requests:report Channel: # - User: $$1 - Reason: Webcam requests | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Flooding:report Channel: # - User: $$1 - Reason: Flooding | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Advertising:report Channel: # - User: $$1 - Reason: Advertising | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Adult Discussion:report Channel: # - User: $$1 - Reason: Adult themed discussion | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Inappropriate username:report Channel: # - User: $$1 - Reason: Inappropriate username | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Spamming:report Channel: # - User: $$1 - Reason: Spamming | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Disruption:report Channel: # - User: $$1 - Reason: Disruption | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Racism:report Channel: # - User: $$1 - Reason: Racism | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Homophobia:report Channel: # - User: $$1 - Reason: Homophobia | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ...Games Channels
  ....Using non-plain text:report Channel: # - User: $$1 - Reason: User is not using plain text | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Using website assistance:report Channel: # - User: $$1 - Reason: User is using website assitance | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ....Disruption:report Channel: # - User: $$1 - Reason: Disruption | echo -a - | echo -a 3* You have successfully reported $$1 in # | echo -a -
  ..Other:report Channel: $$?="Which channel?" - User: $$?="Which user?" Reason: $$?="What is the nature of the report?" | echo -a 3* Thank you for your report.
  .My Status
  ..Private Messages
  ...Enable Private Messages:mode $me -D | echo -a - | echo -a 3* You have enabled private messaging. | echo -a -
  ...Disable Private Messages:mode $me +D | echo -a - | echo -a 3* You have disabled private messaging. Note: Staff will still be able to message you. | echo -a -
  ...Enable Profanity:mode $me +G | echo -a - | echo -a 3* You have enabled profanity in your private messages.
  ...Disable Profanity:mode $me -G | echo -a - | echo -a 3* You have disabled profanity in your private messages. | echo -a - 
  ..Add Staff To Notify
  ...Help:echo -a - | echo -a 3* This setting will enable your mIRC to add staff shown in the 'View staff online' output to your notify list. | echo -a 3* What this means is you will get notified when UKChatterbox staff come online. | echo -a 3* After a while, using this command could become pointless. | echo -a -
  ...$iif($readini(ukcb.ini, extras, staffnotify) != yes, Turn on):echo -a - | writeini ukcb.ini extras staffnotify yes | echo -a 3* You are now adding staff to notify when seen in the 'View staff online' output.
  ...$iif($readini(ukcb.ini, extras, staffnotify) == yes, Turn off):remini ukcb.ini extras staffnotify | echo -a - | echo -a 3* You are no longer adding staff to notify. | echo -a -
  ..Away Status
  ...Set Away:{
    away $?="Away Message"
    ame is now marked as away: $!
    if ($readini(ukcb.ini, away, away2) != $null) { writeini ukcb.ini away away3 $readini(ukcb.ini, away, away2) }
    if ($readini(ukcb.ini, away, away1) != $null) { writeini ukcb.ini away away2 $readini(ukcb.ini, away, away1) }
    writeini ukcb.ini away away1 $!
  }
  ...-
  ...$mid($readini(ukcb.ini, away, away1),1,14):away $readini(ukcb.ini, away, away1) | ame is now marked as away: $readini(ukcb.ini, away, away1)
  ...$mid($readini(ukcb.ini, away, away2),1,14):away $readini(ukcb.ini, away, away2) | ame is now marked as away: $readini(ukcb.ini, away, away2)
  ...$mid($readini(ukcb.ini, away, away3),1,14):away $readini(ukcb.ini, away, away3) | ame is now marked as away: $readini(ukcb.ini, away, away3)
  ...-
  ...Return:away | ame has returned.
  ...Settings
  ....$iif($readini(ukcb.ini, away, canceloninput) == yes, Do not cancel away on input):remini ukcb.ini away canceloninput | echo -a - | echo 3* You will still be marked as away when you type. | echo -a -
  ....$iif($readini(ukcb.ini, away, canceloninput) != yes, Cancel away on input):writeini ukcb.ini away canceloninput yes | echo -a - | echo 3* You will cancel away when you type. | echo -a -
  .Settings
  ..User
  ...Set password:writeini ukcb.ini settings password $encode($$?*="Enter your password. This is only required if you want to automatically $crlf $+ identify when connecting to UKChatterbox.", m) | echo -a - | echo -a 3* You have successfully updated your password. | echo -a -
  ...Auto-Identify
  ....$iif($readini(ukcb.ini, settings, autoident) != yes, Enable):writeini ukcb.ini settings autoident yes | echo -a - | echo -a 3* You have enabled automatic identification when connecting to UKChatterbox.
  ....$iif($readini(ukcb.ini, settings, autoident) == yes, Disable):writeini ukcb.ini settings autoident | echo -a - | echo -a 3* You have disabled automatic identification when connecting to UKChatterbox.
  ..Ignore
  ...Add user to ingnore:ignore $$1
  ...Delete from ignore:ignore -r $$1
  ...List ignored users:ignore -l
  .Website
  ..Mailbox:run http://www.ukchatterbox.co.uk/mail.php?action=showmsg&pagetrack=ftmail
  ..View user profile:run http://www.ukchatterbox.com/members/ $+ $$1
  ..Review rules:run http://www.ukchatterbox.com/article/8
  ..Review staff members:run http://www.ukchatterbox.com/staff
  ..Profile Search:profilesearch
  ..Forums:run http://www.ukchatterbox.co.uk/forum/
  ..Contact Us:run http://www.ukchatterbox.com/contactus
  ..Password Help:run http://www.ukchatterbox.co.uk/login.php?action=resend_pass
}
alias profilesearch {
  if ($?="Search age from" >= 16) && ($! <= 85) { var %1 $! }
  elseif ($! < 16) || ($! > 85) { echo -a - | echo -a 3* You must enter an age between 16 and 85 | echo -a - | HALT }
  if ($?="Search age to" >= 16) && ($! <= 85) { var %2 $! }
  elseif ($! < 16) || ($! > 85) { echo -a - | echo -a 3* You must enter an age between 16 and 85 | echo -a - | HALT }
  if ($?="Search gender $crlf $+ (Male/Female)" == male) { var %3 1 }
  elseif ($! == female) { var %3 2 }
  elseif ($! != male) && ($! != female) && ($! != $null) { echo -a - | echo -a 3* You must enter Male or Female | echo -a - | HALT }
  if ($chr(32) isin $?="Word/Name") { echo -a - | echo -a 3* You cannot uses spaces in username | HALT }
  if ($chr(42) !isin $!) { var %4 $! }
  if (%1 == $null) && (%2 == $null) && (%3 == $null) && (%4 == $null) { echo -a - | echo -a 3* You must fill in at least one criteria | echo -a - | HALT }
  run http://www.ukchatterbox.co.uk/profiles.php?agefrom= $+ %1 $+ &ageto= $+ %2 $+ &gender= $+ %3 $+ &myarea=&username= $+ %4 $+ &Submit2=Submit&action=newsearchprofile
}
on *:INPUT:*:{ if ($left($1,1) != /) {
    if ($readini(ukcb.ini, away, canceloninput) == yes) && ($away == $true) { away | ame has returned. }
  }
}
on *:CONNECT:{ if ($network == UKChatterbox) { onlinestaff | mode $me +p } }
on *:SNOTICE:*jellybaby*:{ if (ukchatterbox.com isin $server) { pass $decode($readini(ukcb.ini, settings, password), m) } }
on *:NOTICE:*:?:{ if ($network == UKChatterbox) && ($nick == GateWay) && ($readini(ukcb.ini, extras, staffnotify) == yes) {
    if ($1 == [HERE]) || ($1 == [AWAY]) {
      if ($3 !isnotify) { notify $3 }
    }
  }
}
menu channel {
  UKChatterbox
  .View staff online:gw onlinestaff
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.