Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
dialog socketmain { title "Socket Engine by DutchTech Technology." size -1 -1 627 485 tab "Home", 1, 0 0 628 459 tab "Home", 1, 0 0 628 459 tab "Settings", 9 text "Socket engine by DutchTech Technology (Version 1.0)", 2, 166 462 282 16 list 3, 16 38 584 380, tab 1 vsbar button "Connect", 4, 44 418 66 24, tab 1 button "Disconnect", 5, 136 418 66 24, tab 1 button "Kill socket", 6, 490 416 66 24, tab 1 button "Reconnect", 7, 400 416 64 24, tab 1 edit "", 8, 490 460 100 20, read edit "", 10, 59 40 134 20, tab 9 text "NickName", 11, 6 40 48 16, tab 9 text "User ID", 12, 8 68 40 16, tab 9 edit "", 13, 58 96 134 20, tab 9 text "RName", 14, 8 98 44 18, tab 9 edit "", 15, 59 68 134 20, tab 9 button "Update", 22, 266 420 74 24, tab 9 text "Server", 16, 210 38 42 18, tab 9 edit "", 17, 256 38 116 20, tab 9 text "Port", 18, 267 65 26 16, tab 9 edit "", 19, 294 65 46 20, tab 9 text "Alt Nick", 20, 8 126 56 18, tab 9 edit "", 21, 58 126 134 20, tab 9 text "QuitMsg", 27, 390 38 48 17, tab 9 edit "", 28, 446 38 169 20, tab 9 edit "", 34, 10 458 134 22, read menu "Socket Control", 29 item "Connect", 30, 29 item "Disconnect", 31, 29 item break, 33, 29 item "Kill Socket", 33, 29 } dialog socket_about { title "About this script" size -1 -1 231 241 option pixels button "Ok(Cancel)", 1, 79 189 65 25, cancel edit "Thanks for using this script! :) This script is OpenSource in any way. But if you edit it i can tell you this script is not for a begginer in mIRC Scripting Language.. If you have paid for this script then you probaly got scammed and you should ask back your money!", 2, 10 60 206 125, multi text "About Socket Engine", 3, 62 23 100 17 text "Script by DutchTech Technologies", 4, 33 222 176 17 } on *:dialog:socketmain:*:*: { if ($devent == init) { if ($readini(socket.ini,general,nickname) != $null) { did -caur socketmain 10 $readini(socket.ini,general,nickname) } if ($readini(socket.ini,general,ident) != $null) { did -caur socketmain 15 $readini(socket.ini,general,ident) } if ($readini(socket.ini,general,realname) != $null) { did -caur socketmain 13 $readini(socket.ini,general,realname) } if ($readini(socket.ini,general,altnick) != $null) { did -caur socketmain 21 $readini(socket.ini,general,altnick) } if ($readini(socket.ini,connect,server) != $null) { did -caur socketmain 17 $readini(socket.ini,connect,server) } if ($readini(socket.ini,connect,port) != $null) { did -caur socketmain 19 $readini(socket.ini,connect,port) } if ($readini(socket.ini,general,quitmsg) != $null) { did -caur socketmain 28 $readini(socket.ini,general,quitmsg) } if ($readini(socket.ini,general,update) != $null) { did -caur socketmain 34 Socket ready. } } if ($devent == sclick) { if ($did == 4) { sockopen socketbot $readini(socket.ini,connect,server) $readini(socket.ini,connect,port) | did -caur socketmain 8 Connecting... } if ($did == 5) { sockwrite -nt socketbot QUIT : $+ $readini(socket.ini,general,quitmsg) | did -caur socketmain 8 Disconnected. } if ($did == 6) { sockclose socketbot | did -caur socketmain 8 Disconnected. } if ($did == 7) { sockwrite -nt socketbot QUIT : $+ $readini(socket.ini,general,quitmsg) | sockopen socketbot $readini(socket.ini,connect,server) $readini(socket,connect,port) } if ($did == 22) { updateconfig } } if ($devent == close) { if ($sock(socketbot).status == $false) { sockwrite -nt socketbot QUIT : $+ $readini(socket.ini,general,quitmsg) (Dialog Closed) } } if ($devent == menu) { if ($did == 30) { sockopen socketbot $readini(socket.ini,connect,server) $readini(socket.ini,connect,port) | did -caur socketmain 8 Connecting... } if ($did == 31) { sockwrite -nt socketbot QUIT : $+ $readini(socket.ini,general,quitmsg) | did -caur socketmain 8 Disconnected. } if ($did == 32) { sockwrite -nt socketbot QUIT : $+ $readini(socket.ini,general,quitmsg) | sockopen socketbot $readini(socket.ini,connect,server) $readini(socket.ini,connect,port) | did -caur socketmain 8 Reconnecting.. } } } on *:SOCKOPEN:socketbot: { sockwrite -nt $sockname USER $readini(socket.ini,general,ident) $readini(socket.ini,general,nickname) $readini(socket.ini,general,nickname) : $+ $readini(socket.ini,general,realname) sockwrite -nt $sockname NICK $readini(socket.ini,general,nickname) sockwrite -nt $sockname JOIN #DutchTech } on *:SOCKREAD:socketbot: { var %buffer sockread -f %buffer tokenize 32 %buffer autoscroll socketmain 3 did -cau socketmain 3 %buffer if ($1 = PING) { sockwrite -n $sockname PONG $2 } if (*motd* iswm %buffer) { sockwrite -nt $sockname JOIN #DutchTech | did -caur socketmain 8 Connected } if ((@help == $text($4)) && ($5 == $null)) { sockwrite -nt socketbot PRIVMSG $3 : $+ $nick $+ : Admin, Calc } if ((@help == $text($4)) && ($5 == admin)) { sockwrite -nt socketbot PRIVMSG $3 : $+ $nick $+ : Disconnect, Identify, Join, Part, Restart } if ((@help == $text($4)) && ($5 == calc)) { sockwrite -nt socketbot PRIVMSG $3 : $+ $nick $+ : Calc is a calculator (Example: @calc 1+1) } if (@calc == $text($4)) { sockwrite -nt socketbot PRIVMSG $3 : $+ $nick $+ : $text($5) $+ = $+ $calc($text($5) ) } } alias -l text { return $remove($1,:) } alias -l autoscroll { if ($did($1,$2).lines) { did -c $1- $v1 | did -u $1- $v1 } } alias socketbot { dialog -md socketmain socketmain | did -cau socketmain 8 Disconnected } alias -l sockpriv { sockwrite -nt socketbot PRIVMSG $1- } alias -l updateconfig { writeini socket.ini general nickname $did(10) writeini socket.ini general ident $did(15) writeini socket.ini general realname $did(13) writeini socket.ini general altnick $did(21) writeini socket.ini connect server $did(17) writeini socket.ini connect port $did(19) writeini socket.ini general quitmsg $did(28) did -caur socketmain 34 Rewriting config .timer 1 2 did -caur socketmain 34 Config updated }
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Free Crypto Method
CSS | 28 min ago | 0.72 KB
+12,000$ in 2 days
CSS | 28 min ago | 0.72 KB
Documents
29 min ago | 0.43 KB
Crypto admin access
29 min ago | 0.43 KB
Silk
2 hours ago | 3.74 KB
fleet_agent
11 hours ago | 5.04 KB
Altur Song Lyrics
22 hours ago | 13.27 KB
CC:T GPS Beacon
1 day ago | 0.49 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!