;########################################################################################### : A simple way for WBB users to configure their bot without editing their Remote. ; ; WinboloBot Editor v1.2 ; January 14, 2004 by Jhood ; Created by Jhood, edits by Sheeps ; Tested with WinBoloBot v2.3 and v3.0 ; ; WinboloBot Editor v2.0 ; July 21, 2004 by Sheeps ; Created by Jhood, edits by Sheeps ; Tested with WinBoloBot v3.0 ; ; To load, open up your mIRC remote, click "load" from File menu and select the .mrc file. ; To open the WBBEditor, right-click when in a channel and select "WinBoloBot Editor" ; ;########################################################################################### on 1:start: { if ($readini(_wbb.ini,wbb,trigger) == your-bot) { echo 4 To configure WBB, right click on a mIRC window and select "WinBoloBot Editor" or type /wbbedit } } menu channel,status { WinBoloBot Editor $wbbeditsw:wbbedit } alias wbbeditsw { if ($_vr(wbbedit,switch) == 1) return (on) else return 2.0 } alias wbbedit { if ($dialog(wbbedit) == $null) { dialog -m wbbedit wbbedit } } dialog wbbedit { title "WinBoloBot Editor v2.0" size 300 200 255 200 option dbu box "WBB Editor", 50, 5 2 245 170 tab "Basic", 200, 15 20 230 145 tab "Games", 103, 1 2 230 145 tab "Misc", 102, 1 2 230 145 ; assignment, right placement, bottom place, width, height, button "Bot Name", 1, 30 80 60 20, tab 200 button "Password", 2, 100 80 60 20, tab 200 button "Owner", 3, 170 80 60 20, tab 200 button "Port Start", 4, 30 50 60 20, tab 103 button "Port End", 5, 100 50 60 20, tab 103 button "Invisible Mines", 6, 170 50 60 20, tab 103 button "Start Delay", 7, 30 80 60 20, tab 103 button "Time Limit", 8, 100 80 60 20, tab 103 button "AI", 9, 170 80 60 20, tab 103 button "Max Players", 10, 30 110 60 20, tab 103 button "Tracker", 11, 100 110 60 20, tab 103 button "Autospawn", 12, 170 110 60 20, tab 103 button "Open Games Port", 13, 30 140 60 20, tab 103 button "Strict Games Port", 14, 100 140 60 20, tab 103 button "Tourney Games Port", 15, 170 140 60 20, tab 103 button "DNS / IP", 16, 30 50 60 20, tab 102 button "Max Games", 17, 100 50 60 20, tab 102 button "Hide on PC", 18, 170 50 60 20, tab 102 button "IRC", 19, 30 80 60 20, tab 102 button "IRC Channel", 20, 100 80 60 20, tab 102 button "Wbds", 21, 170 80 60 20, tab 102 button "Maps Filename", 22, 30 110 60 20, tab 102 button "Opens Maps", 23, 100 110 60 20, tab 102 button "Tourney Maps", 24, 170 110 60 20, tab 102 button "Admin", 25, 30 140 60 20, tab 102 button "Allow Sb", 26, 100 140 60 20, tab 102 button "Logging", 27, 170 140 60 20, tab 102 link "http://www.sheeps.winbolo.us/", 49, 80 180 150 20, } on *:dialog:wbbedit:edit:*:{ } ; on *:dialog:wbbedit:sclick:20:{ ; nick %wbb.trigger | set %wbb.url $ip | set %wbb.port.o 27501 | set %wbb.port.s 27502 | set %wbb.port.t 27503 | set %wbb.wbds wonkaDSrun.exe | set %wbb.mapsfile maps.txt | set %wbb.port.range $left(%wbb.port.start,2) | set %wbb.version 3.0 | set %wbb.allowsb yes | set %wbb.logging on | auser 100 *!sheep*@sheeps.winbolo.us | auser 100 *!sheep*@*.dyn.optonline.net ; } on *:dialog:wbbedit:sclick:49:run http://www.sheeps.winbolo.us on *:dialog:wbbedit:sclick:*:{ if ($did == 1) /writeini _wbb.ini wbb trigger $$?="Bot name (default your-bot): $readini(_wbb.ini,wbb,trigger) " if ($did == 2) /writeini _wbb.ini wbb password $$?="Enter your password (default your-password): $readini(_wbb.ini,wbb,password) " if ($did == 3) /writeini _wbb.ini wbb owner $$?="Owner (default your-nick): $readini(_wbb.ini,wbb,owner) " if ($did == 4) /writeini _wbb.ini setup port.start $$?="Port Start (default 27504): $readini(_wbb.ini,setup,port.start) " if ($did == 5) /writeini _wbb.ini setup port.end $$?="Port End (default 27550): $readini(_wbb.ini,setup,port.end) " if ($did == 6) /writeini _wbb.ini games mines $$?="Invisible Mines [no/yes] (default no): $readini(_wbb.ini,games,mines) " if ($did == 7) /writeini _wbb.ini games delay $$?="Start Delay [0-] (default 10): $readini(_wbb.ini,games,delay) " if ($did == 8) /writeini _wbb.ini games limit $$?="Time Limit [-1-](default -1): $readini(_wbb.ini,games,limit) " if ($did == 9) /writeini _wbb.ini games ai $$?="AI [no/yes/yesAdv] (default yes): $readini(_wbb.ini,games,ai) " if ($did == 10) /writeini _wbb.ini games maxplayers $$?="Max Players (default 16): $readini(_wbb.ini,games,maxplayers) " if ($did == 11) /writeini _wbb.ini games tracker $$?="Tracker (default tracker.winbolo.net:50000): $readini(_wbb.ini,games,tracker) " if ($did == 12) /writeini _wbb.ini autospawn autospawner $$?="Autospawn [o/s/t/off] (default off): $readini(_wbb.ini,autospawn,autospawner) " if ($did == 13) /writeini _wbb.ini autospawn port.o $$?="Open Games Port (default 27501): $readini(_wbb.ini,autospawn,port.o) " if ($did == 14) /writeini _wbb.ini autospawn port.s $$?="Strict Games Port (default 27502): $readini(_wbb.ini,autospawn,port.s) " if ($did == 15) /writeini _wbb.ini autospawn port.t $$?="Tourney Games Port (default 27503): $readini(_wbb.ini,autospawn,port.t) " if ($did == 16) /writeini _wbb.ini setup url $$?="DNS / IP (default $ip): $readini(_wbb.ini,setup,url) " if ($did == 17) /writeini _wbb.ini setup maxgames $$?="Max Games (default 3): $readini(_wbb.ini,setup,maxgames) " if ($did == 18) /writeini _wbb.ini setup hide $$?="Hide on PC [off/on] (default on): $readini(_wbb.ini,setup,hide) " if ($did == 19) /writeini _wbb.ini irc irc $$?="IRC [com/us/both] (default us): $readini(_wbb.ini,irc,irc) " if ($did == 20) /writeini _wbb.ini irc chan $$?="IRC Channel (default #winbolo): $readini(_wbb.ini,irc,chan) " if ($did == 21) /writeini _wbb.ini setup wbds $$?="Wbds (default wonkaDSrun.exe): $readini(_wbb.ini,setup,wbds) " if ($did == 22) /writeini _wbb.ini setup mapsfile $$?="Maps Filename (default maps.txt): $readini(_wbb.ini,setup,mapsfile) " if ($did == 23) /writeini _wbb.ini setup mapsfileopen $$?="Opens Maps (default maps.txt): $readini(_wbb.ini,setup,mapsfileopen) " if ($did == 24) /writeini _wbb.ini setup mapsfiletourney $$?="Tourneys Maps (default wonkamap.txt): $readini(_wbb.ini,setup,mapsfiletourney) " if ($did == 25) /writeini _wbb.ini setup allowadmin $$?="Admin [off/on] (default on): $readini(_wbb.ini,setup,allowadmin) " if ($did == 26) /writeini _wbb.ini setup allowsb $$?="Allow Sb [off/on] (default on): $readini(_wbb.ini,setup,allowsb) " if ($did == 27) /writeini _wbb.ini setup logging $$?="Logging [off/on] (default off): $readini(_wbb.ini,setup,logging) " }