Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version := 0.15
- Filedelete,update.bat
- UrlDownloadToFile,http://costa-giova.de/keybinder/versionsupdate.ini, versionsupdate.ini
- FileRead, newver, versionsupdate.ini
- FileDelete, versionsupdate.ini
- if (version < newver)
- {
- newververfügbar := 1
- MsgBox, 4,Neues Update, Es ist eine neue Version des iBaseBinder online, (Version %newver%).`nMöchtest du diese jetzt herunterladen?
- IfMsgBox, Yes
- {
- MsgBox, 64, Update Download, Das Update wird nun heruntergeladen ,dies kann bis zu 5 Sekunden dauern...
- Urldownloadtofile,http://costa-giova.de/keybinder/iBaseBinder.exe, %A_ScriptName%.new
- BatchFile=
- (
- Ping localhost
- Del "%A_ScriptName%"
- Rename "%A_ScriptName%.new" "%A_ScriptName%"
- cd "%A_ScriptFullPath%"
- "%A_ScriptName%"
- Del update.bat
- )
- FileDelete,update.bat
- FileAppend,%BatchFile%,update.bat
- MsgBox, 64, Update ausführen, Das Update wird nun ausgeführt...bitte warten...
- Run,update.bat,,hide
- Exitapp
- }
- }
- else
- {
- newververfügbar := 0
- }
- IfNotExist, C:\iBaseBinder
- FileCreateDir, C:\iBaseBinder
- IfNotExist, C:\iBaseBinder\bilder
- FileCreateDir, C:\iBaseBinder\bilder
- IfNotExist, C:\iBaseBinder\bilder\1.png
- UrlDownloadToFile, http://costa-giova.de/keybinder/1.png, C:\iBaseBinder\bilder\1.png
- IfNotExist, C:\iBaseBinder\bilder\2.png
- UrlDownloadToFile, http://costa-giova.de/keybinder/2.png, C:\iBaseBinder\bilder\2.png
- IfNotExist, C:\iBaseBinder\bilder\4.png
- UrlDownloadToFile, http://costa-giova.de/keybinder/4.png, C:\iBaseBinder\bilder\4.png
- #NoEnv
- #include res/SAMP2.ahk
- #include res/improv3d.ahk
- SetTimer, autoEngine, 250
- SetTimer, autoZoll, 250
- SetTimer, aAutomat1, 250
- SetTimer, aAutomat2, 250
- SetTimer, aAutomat3, 250
- SetTimer, aAutomat4, 250
- SetTimer, aAutomat5, 250
- SetTimer, aAutomat6, 250
- SetTimer, aAutomat7, 250
- SetTimer, aParkschein1, 250
- SetTimer, aParkschein2, 250
- SetTimer, aParkschein3, 250
- SetTimer, aStadthalle, 250
- SetTimer, aZollpass, 250
- SetTimer, aRechtsschutz, 250
- SetTimer, aWerbung, 250
- SetTimer, aHauptAmo, 250
- SetTimer, aClubWaffen, 250
- SetTimer, aClubHeal, 250
- SetTimer, aClubAutomat, 250
- SetTimer, aTicket, 250
- SetTimer, aTanke1, 250
- SetTimer, aTanke2, 250
- SetTimer, aVersicherung, 250
- SetTimer, aZulassung, 250
- SetTimer, aPost, 250
- SetTimer, aRepar1, 250
- SetTimer, aRepar2, 250
- SetTimer, aPruefung, 250
- SetTimer, aWD1, 250
- SetTimer, aWartungen, 250
- SetTimer, aZerbrechen, 250
- SetTimer, aKleidung, 250
- ;Gang
- SetTimer, aBallas, 250
- SetTimer, aBallas2, 250
- SetTimer, aBallas3, 250
- SetTimer, aBallas4, 250
- SetTimer, aVagos1, 250
- SetTimer, aVagos2, 250
- SetTimer, Chatlog, 200
- global checksum_old := imp_check_table("chat_verlauf")
- SetTimer, Check_Db, 100
- initZonesAndCities()
- inVehicle := 0
- Loop, 26
- {
- count := A_Index - 1
- IniRead, Key%count%, C:\iBaseBinder\settings.ini, Keybinds, Key%count%
- IniRead, KeyChecked%count%, C:\iBaseBinder\settings.ini, Keybinds, KeyChecked%count%
- IniRead, KeyText%count%, C:\iBaseBinder\settings.ini, Keybinds, KeyText%count%
- if(Key%count% == "ERROR")
- Key%count% := "0"
- if(KeyChecked%count% == "ERROR")
- KeyChecked%count% := 0
- if(KeyText%count% == "ERROR")
- KeyText%count% := ""
- KeyCheckedVar := KeyChecked%count%
- KeyVar := Key%count%
- Hotkey, %KeyVar%, Hotkey%count%, Off
- if(KeyCheckedVar){
- KeyVar = ~%KeyVar%
- Hotkey, %KeyVar%, Hotkey%count%, On
- }
- }
- IniRead, SystemeChecked, C:\iBaseBinder\settings.ini, Systeme, SystemeChecked
- IniRead, KillCounterChecked, C:\iBaseBinder\settings.ini, KillCounter, KillCounterChecked
- IniRead, KillCounterText, C:\iBaseBinder\settings.ini, KillCounter, KillCounterText
- IniRead, Kills, C:\iBaseBinder\settings.ini, KillCounter, Kills
- if(Kills == "ERROR")
- Kills := 0
- if(KillCounterChecked == "ERROR")
- KillCounterChecked := 0
- if(KillCounterText == "ERROR")
- KillCounterText := "/ic +1 Kill in [ZONE], [CITY]. Insgesamte Kills: [KILLS][ENTER]"
- if(KillCounterChecked == 1)
- SetTimer, KillCounterTimer, 200
- Main:
- Gui, Destroy
- Gui, Font, S7 Cwhite, Verdana
- Gui, Add, Picture, x0 y0 w1161 h85 , C:\iBaseBinder\Bilder\1.png
- Gui, Add, Picture, x0 y80 w1161 h500 , C:\iBaseBinder\Bilder\2.png
- Gui, Add, Picture, x10 y90 w1143 h425 , C:\iBaseBinder\Bilder\4.png
- Gui, Add, Picture, x10 y540 w1143 h40 , C:\iBaseBinder\Bilder\4.png
- Gui, Font, S8 CWhite Bold, Lucida Console
- Gui, Add, Text, x980 y560 w180 h20 +BackgroundTrans gInfo, Version %Version% by iBase
- Gui, Font, S25 CWhite Bold, Segoe Script
- Gui, Add, Text, x30 y10 w230 h60 +BackgroundTrans, iBaseBinder
- Gui, Font, S13 CWhite Bold, Segoe Script
- Gui, Add, Text, x1000 y30 w150 h90 gTS +BackgroundTrans, Teamspeak 3
- Gui, Add, Text, x840 y30 w150 h90 gSAMP +BackgroundTrans, Samp Server
- Gui, Add, Text, x740 y30 w150 h90 gForum +BackgroundTrans, Forum
- Gui, Font, S13 CWhite Bold, Segoe Script
- Gui, Add, Text, x20 y545 w100 h30 gSave +BackgroundTrans, Speichern
- Gui, Add, Text, x130 y545 w100 h30 gVariables +BackgroundTrans, Variablen
- Gui, Add, Text, x240 y545 w100 h30 gKillCounter +BackgroundTrans, Killzähler
- Gui, Add, Text, x370 y545 w100 h30 gSysteme +BackgroundTrans, Systeme
- Gui, Font, S13 Cred Bold, Segoe Script
- Gui, Add, Text, x470 y545 w200 h30 gFunk +BackgroundTrans, Feste Funktionen
- Gui, Font, S7 CWhite, Verdana
- Gui, Add, Text, x19 y95 w25 h13 +BackgroundTrans, An
- Gui, Add, Text, x41 y95 w30 h15 +BackgroundTrans, Taste
- Gui, Add, Text, x146 y95 w30 h13 +BackgroundTrans, Text
- Gui, Font, S7 Cblack, Verdana
- YCoord := 120
- Loop, 13
- {
- count := A_Index - 1
- KeyVar = Key%count%
- KeyVarEx := Key%count%
- KeyCheckedVar = KeyChecked%count%
- KeyCheckedVarEx := KeyChecked%count%
- KeyTextVar = KeyText%count%
- KeyTextVarEx := KeyText%count%
- Gui, Add, CheckBox, x20 y%YCoord% w13 h13 v%KeyCheckedVar% Checked%KeyCheckedVarEx%,
- Gui, Add, DropDownList, x41 y%YCoord% w90 h390 v%KeyVar%, 0|1|2|3|4|5|6|7|8|9|Numpad0|Numpad1|Numpad2|Numpad3|Numpad4|Numpad5|Numpad6|Numpad7|Numpad8|Numpad9|F1|F2|F3|F4|F5|F6|F7|F8|F9|F10|F11|F12|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|^|´|+|#|-|.|,|<
- GuiControl, ChooseString, %KeyVar%, %KeyVarEx%
- Gui, Add, Edit, x146 y%YCoord% w420 h20 v%KeyTextVar%, %KeyTextVarEx%
- YCoord += 30
- }
- Gui, Font, S7 Cwhite, Verdana
- Gui, Add, Text, x596 y95 w25 h13 +BackgroundTrans, An
- Gui, Add, Text, x621 y95 w30 h15 +BackgroundTrans, Taste
- Gui, Add, Text, x726 y95 w30 h13 +BackgroundTrans, Text
- Gui, Font, S7 Cblack, Verdana
- YCoord := 120
- Loop, 13
- {
- count += 1
- KeyVar = Key%count%
- KeyVarEx := Key%count%
- KeyCheckedVar = KeyChecked%count%
- KeyCheckedVarEx := KeyChecked%count%
- KeyTextVar = KeyText%count%
- KeyTextVarEx := KeyText%count%
- Gui, Add, CheckBox, x596 y%YCoord% w13 h13 v%KeyCheckedVar% Checked%KeyCheckedVarEx%,
- Gui, Add, DropDownList, x621 y%YCoord% w90 h390 v%KeyVar%, 0|1|2|3|4|5|6|7|8|9|Numpad0|Numpad1|Numpad2|Numpad3|Numpad4|Numpad5|Numpad6|Numpad7|Numpad8|Numpad9|F1|F2|F3|F4|F5|F6|F7|F8|F9|F10|F11|F12|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|^|´|+|#|-|.|,|<
- GuiControl, ChooseString, %KeyVar%, %KeyVarEx%
- Gui, Add, Edit, x726 y%YCoord% w420 h20 v%KeyTextVar%, %KeyTextVarEx%
- YCoord += 30
- }
- Gui, Show, Center h578 w1161, (c) iBase aka Giovanni Costa
- return
- Systeme:
- Gui, Destroy
- Gui, Add, Picture, x2 y0 w590 h60 , C:\iBaseBinder\Bilder\1.png
- Gui, Add, Picture, x2 y60 w590 h250 , C:\iBaseBinder\Bilder\2.png
- Gui, Add, Picture, x12 y80 w560 h170 , C:\iBaseBinder\Bilder\4.png
- Gui, Add, Picture, x12 y270 w560 h30 , C:\iBaseBinder\Bilder\4.png
- Gui, Font, S20 Cwhite Bold, Segeo Script
- Gui, Font, S20 Cwhite Bold, Segoe Script
- Gui, Add, Text, x22 y0 w120 h40 +BackgroundTrans, Systeme
- Gui, Add, CheckBox, x22 y90 w13 h13 vSystemeChecked Checked%SystemeChecked%
- Gui, Font, S8 CWhite Bold, Lucida Console
- Gui, Add, Text, x52 y90 w300 h20 +BackgroundTrans, Motor/Licht/Zoll - Mit F aussteigen!
- Gui, Font, S10 Cwhite Bold, Segoe Script
- Gui, Add, Text, x502 y40 w70 h20 +BackgroundTrans gSystemeSafe, Speichern
- Gui, Add, Text, x432 y40 w60 h20 +BackgroundTrans gMain, Zurück
- Gui, Show, w585 h304, (c) iBase aka Giovanni Costa
- return
- Killcounter:
- Gui, Destroy
- Gui, Add, Picture, x-8 y0 w670 h60 , C:\iBaseBinder\bilder\1.png
- Gui, Add, Picture, x-8 y60 w670 h180 , C:\iBaseBinder\bilder\2.png
- Gui, Add, Picture, x22 y80 w620 h130 , C:\iBaseBinder\bilder\4.png
- Gui, Font, S25 Cwhite Bold, Segoe Script
- Gui, Add, Text, x22 y0 w450 h50 +BackgroundTrans, iBaseBinder - Killzähler
- Gui, Add, CheckBox, x42 y123 w15 h15 vKillCounterChecked Checked%KillCounterChecked%
- Gui, Font, S10 Cblack Bold, Segoe Script
- Gui, Add, Edit, x102 y120 w450 h20 vKillCounterText, %KillCounterText%
- Gui, Font, S8 Cwhite Bold, Segoe Script
- Gui, Add, Text, x67 y121 w30 h20 +BackgroundTrans, An?
- Gui, Font, S10 Cwhite Bold, Segoe Script
- Gui, Add, Text, x562 y170 w70 h20 +BackgroundTrans gKillCounterSave, Speichern
- Gui, Font, S8 Cwhite Bold, Lucida Console
- Gui, Add, Text, x80 y160 w420 h20 +BackgroundTrans, Am ende immer [ENTER] einfügen sonst geht es nicht!
- Gui, Font, S10 Cwhite Bold, Segoe Script
- Gui, Add, Text, x572 y190 w60 h20 +BackgroundTrans gMain, Zurück
- Gui, Show, w661 h239, (c) iBase aka Giovanni Costa
- return
- KillCounterSave:
- GuiControlGet, KillCounterChecked
- GuiControlGet, KillCounterText
- IniWrite, %KillCounterChecked%, C:\iBaseBinder\settings.ini, KillCounter, KillCounterChecked
- IniWrite, %KillCounterText%, C:\iBaseBinder\settings.ini, KillCounter, KillCounterText
- if(KillCounterChecked){
- SetTimer, KillCounterTimer, 200
- }else{
- SetTimer, KillCounterTimer, Off
- }
- MsgBox, 64, Keybinder, Killzähler gespeichert.
- return
- SystemeSafe:
- GuiControlGet, SystemeChecked
- IniWrite, %SystemeChecked%, C:\iBaseBinder\settings.ini, Systeme, SystemeChecked
- MsgBox, 64, Keybinder, Systeme gespeichert.
- return
- Funk:
- Gui, Destroy
- Gui, Add, ListBox, x6 y7 w530 h220 , /rechner`t`tTaschenrechner in Game|/ab`t`tAnrufsbeantworter|/cd`t`tEin Countdown der 3 Sekunden abzählt|/min`t`tDu kannst Sekunden in Minuten umrechnen|Numpad-`t`tAutomatisches Spice System|Numpad+`t`tAutomatisches Kekse System
- Gui, Add, Button, x225 y227 w100 h30 gMain, Zurück
- Gui, Show, Center h268 w547, (c) iBase aka Giovanni Costa
- Return
- Variables:
- Gui, Destroy
- Gui, Add, ListBox, x6 y7 w730 h220 , &&`t`tMan kann mehrere Chatnachrichten senden (undendlich viele, Achtung: Spamkick!)|[NAME]`t`tZeigt deinen Namen an|[CITY]`t`tZeigt die Stadt an`, in der du dich gerade befindest (LS`, SF`, LV)|[ZONE]`t`tZeigt die Zone an in der du dich gerade befindest (z.B. Red County)|[HP]`t`tZeigt dein aktuelles Leben an|[ARMOUR]`tZeigt deine Rüstung an|[WANTED]`tZeigt deine Wanteds an|[MONEY]`t`tZeigt dein Geld auf der Hand an|[KILLS]`t`tZeigt deine Kills von deinem Killzähler| |Vehicle Informationen:|[VHEALTH]`tZeigt das Leben deines Vehicles an|[VMODELID]`tZeigt die Model ID deines Vehicles an|[VMODEL]`tZeigt den Model Namen deines Vehicles an|[VTYPE]`t`tZeigt den Type deines Vehicles an (z.B. LKW)|[VSPEED]`tZeigt die Geschwindigkeit an
- Gui, Add, Button, x6 y227 w100 h30 gMain, Zurück
- Gui, Show, Center h268 w747, (c) iBase aka Giovanni Costa
- Return
- GuiClose:
- ExitApp
- Save:
- Loop, 26
- {
- count := A_Index - 1
- GuiControlGet, Key%count%
- GuiControlGet, KeyChecked%count%
- GuiControlGet, KeyText%count%
- KeyVar := Key%count%
- KeyCheckedVar := KeyChecked%count%
- KeyTextVar := KeyText%count%
- Hotkey, %KeyVar%, Hotkey%count%, Off
- IniWrite, %KeyVar%, C:\iBaseBinder\settings.ini, Keybinds, Key%count%
- IniWrite, %KeyCheckedVar%, C:\iBaseBinder\settings.ini, Keybinds, KeyChecked%count%
- IniWrite, %KeyTextVar%, C:\iBaseBinder\settings.ini, Keybinds, KeyText%count%
- if(KeyCheckedVar){
- KeyVar = ~%KeyVar%
- HotKey, %KeyVar%, Hotkey%count%, On
- }
- }
- MsgBox, 64, Keybinder, Erfolgreich gespeichert
- return
- #IfWinActive GTA:SA:MP
- +t::
- ~T::
- Suspend On
- return
- ~NumpadEnter::
- ~Enter::
- Suspend Permit
- Suspend Off
- Return
- ~Escape::
- Suspend Permit
- Suspend Off
- return
- autoZoll:
- if(!WinActive("GTA:SA:MP"))
- return
- if(SystemeChecked)
- GetChatLine(0, Chatline)
- if(InStr(Chatline, "Sie stehen an einer Zollstation, der Zollübergang kostet $5.000! Befehl: /Zoll")){
- AddChatMessage(chat . "{0088cc}[iBaseBinder]{008800} Automatisches Zoll System Aktiviert")
- sleep, 200
- SendChat("/me besitzt eine Moutkarte und kann automatisch den Zoll durchqueren!")
- sleep, 100
- SendChat("/zoll")
- sleep, 800
- AddChatMessage(chat . "{0088cc}[iBaseBinder]{008800} Automatisches Zoll System deaktiviert")
- sleep, 10000
- }
- return
- KillCounterTimer:
- if(!WinActive("GTA:SA:MP"))
- return
- GetChatLine(1,Chatline)
- if(InStr(Chatline,"Du hast ein Verbrechen begangen! (Beamten/Zivilisten Mord)") || InStr(Chatline,"Du hast ein Verbrechen begangen! (Mord an einem Gangmitglied) Reporter: Polizeizentrale")){
- IniRead, %Kills%, C:\iBaseBinder\settings.ini, KillCounter, Kills
- if(Kills == "ERROR")
- Kills := 0
- Kills++
- IniWrite, %Kills%, C:\iBaseBinder\settings.ini, KillCounter, Kills
- string := Variable(KillCounterText)
- StringReplace, string, string, &&, |, All
- if(InStr(string, "|")){
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%Value%
- }
- }
- }
- return
- autoEngine:
- if(!WinActive("GTA:SA:MP"))
- return
- if(SystemeChecked)
- if(inVehicle == 1 && !IsPlayerInAnyVehicle()){
- inVehicle := 0
- }else if(inVehicle == 0 && IsPlayerInAnyVehicle() && IsPlayerDriver()){
- sleep, 100
- if(!GetVehicleEngineState()){
- SendChat("/motor")
- }
- inVehicle := 1
- if(!GetVehicleLightState()){
- sleep, 1000
- if(IsPlayerInAnyVehicle() && IsPlayerDriver())
- SendChat("/licht")
- }
- }
- return
- ~$f::
- if(!WinActive("GTA:SA:MP"))
- return
- if(SystemeChecked == 1){
- if(IsInChat() || !IsPlayerInAnyVehicle() || !IsPlayerDriver())
- return
- if(GetVehicleEngineState() == 1)
- SendChat("/licht")
- SendChat("/motor")
- sleep, 300
- }
- return
- aAutomat1:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1489.3931,-1749.8262,15.4453,1)){
- SendChat("/automat")
- Sleep, 4000
- }
- return
- aAutomat2:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1473.1715,-1749.8110,15.4453,1)){
- SendChat("/automat")
- Sleep, 4000
- }
- return
- aAutomat3:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2440.2874,-1470.7396,24.0000,1)){
- SendChat("/automat")
- Sleep, 4000
- }
- return
- aAutomat4:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1017.2853,-1553.3749,14.8657,1)){
- SendChat("/automat")
- Sleep, 4000
- }
- return
- aAutomat5:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1137.2208,-1761.3993,13.5950,1)){
- SendChat("/automat")
- Sleep, 4000
- }
- return
- aAutomat6:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1225.3387,-1812.3468,16.5938,1)){
- SendChat("/automat")
- Sleep, 4000
- }
- return
- aAutomat7:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(551.7926,-1261.2736,17.2422,1)){
- SendChat("/automat")
- Sleep, 4000
- }
- return
- aParkschein1:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1508.7009,-1743.3817,13.5469,1)){
- SendChat("/parkschein")
- Sleep, 4000
- }
- return
- aParkschein2:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1453.1760,-1744.6180,13.5469,1)){
- SendChat("/parkschein")
- Sleep, 4000
- }
- return
- aParkschein3:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1519.4677,-1663.7755,13.5469,1)){
- SendChat("/parkschein")
- Sleep, 4000
- }
- return
- aStadthalle:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(362.4966,173.6272,1008.3828,1)){
- SendChat("/stadthalle")
- Sleep, 4000
- }
- return
- aZollpass:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(359.0061,167.6860,1008.3828,1)){
- SendChat("/zollpass")
- Sleep, 6000
- }
- return
- aRechtsschutz:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(358.2594,180.2729,1008.3828,1)){
- SendChat("/rechtsschutz")
- Sleep, 6000
- }
- return
- aWerbung:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1412.3086,-1700.5872,13.5395,1)){
- SendChat("/werbung")
- Sleep, 6000
- }
- return
- aHauptAmo:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(295.7043,-80.2912,1001.5156,1)){
- SendChat("/wmenu")
- Sleep, 3000
- }
- return
- aClubWaffen:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2324.8267,-1014.0950,1050.2109,1)){
- SendChat("/clubwaffen")
- Sleep, 3000
- }
- return
- aClubHeal:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2313.5605,-1008.8242,1050.2109,1)){
- SendChat("/clubheal")
- Sleep, 3000
- }
- return
- aClubAutomat:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2320.4951,-1008.0906,1054.7188,1)){
- SendChat("/automat")
- Sleep, 5000
- }
- return
- aTicket:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(249.1964,67.4902,1003.6406,1)){
- SendChat("/wantedticket")
- Sleep, 9000
- }
- return
- aTanke1:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1004.5968,-940.1353,41.7882,5)){
- SendChat("/tanken")
- Sleep, 9000
- }
- return
- aTanke2:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1944.3615,-1772.2019,13.1177,5)){
- SendChat("/tanken")
- Sleep, 9000
- }
- return
- aVersicherung:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2309.2583,-8.1945,26.7422,1)){
- SendChat("/kfzversicherung")
- Sleep, 9000
- }
- return
- aZulassung:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2316.5847,-12.4728,26.7422,1)){
- SendChat("/zulassungsstelle")
- Sleep, 9000
- }
- return
- aPost:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(822.2796,1.8087,1004.1797,1)){
- SendChat("/post")
- Sleep, 4000
- }
- return
- aRepar1:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(853.0599,-1251.1927,15.6126,1)){
- SendChat("/staatrepair")
- Sleep, 3000
- }
- return
- aRepar2:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1248.2892,-1834.0872,13.3925,1)){
- SendChat("/staatrepair")
- Sleep, 3000
- }
- return
- aPruefung:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(1234.3197,-1823.8492,13.5910,1)){
- SendChat("/fahrpruefung")
- Sleep, 4000
- }
- return
- aWD1:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2348.5911,-2302.4236,13.2740,2)){
- SendChat("/paketeinladen 15")
- Sleep, 5000
- }
- return
- aWartungen:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(547.7910,-1285.4287,17.3094,2)){
- SendChat("/wartungen")
- Sleep, 8000
- }
- return
- aZerbrechen:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(-381.7509,-1425.8539,26.0110,1)){
- SendChat("/zerbrechen")
- Sleep, 8000
- }
- return
- aKleidung:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(161.2758,-83.2521,1001.8047,1)){
- SendChat("/kleidung")
- Sleep, 8000
- }
- return
- ;Gang
- aBallas:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(331.0785,1128.5133,1083.8828,1)){
- SendChat("/gangwaffen")
- SendChat("/gheilen")
- Sleep, 3000
- }
- return
- aBallas2:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(331.9322,1119.8638,1083.8903,1)){
- SendChat("/waffenlager")
- Sleep, 5000
- }
- return
- aBallas3:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(308.1615,1120.7888,1083.8828,1)){
- SendChat("/gangitem")
- Sleep, 5000
- }
- return
- aBallas4:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(333.4099,1121.9167,1083.8903,1)){
- SendInput t/fsafebox{space}
- Sleep, 17000
- }
- return
- aVagos1:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2599.3076,-1126.1841,65.6774,1)){
- SendChat("/gangwaffen")
- SendChat("/gheilen")
- Sleep, 3000
- }
- return
- aVagos2:
- if(IsInChat() == 0 || isDialogOpen() == 0)
- if(IsPlayerInRangeOfPoint(2582.0928,-1118.9347,66.2032,1)){
- SendChat("/waffenlager")
- Sleep, 3000
- }
- return
- TS:
- WinMinimize %title%
- run, ts3server://teamspeak.lyd-roleplay.de
- Return
- Forum:
- WinMinimize %title%
- Run, http://lyd-roleplay.de
- return
- Info:
- WinMinimize %title%
- Run, http://www.lyd-roleplay.de/forum/index.php/User/19918-iBase/
- return
- SAMP:
- WinMinimize %title%
- IfWinExist, SA-MP 0.3
- WinClose, SA-MP 0.3
- RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\SAMP, GTA_SA_EXE
- SplitPath, GTA_SA_EXE,, PFAD
- Run, %PFAD%\samp.exe server.lyd-roleplay.de:7777
- return
- Variable(string){
- name := getUsername()
- city := getPlayerCity()
- zone := getPlayerZone()
- hp := GetPlayerHealth()
- armour := GetPlayerArmor()
- money := GetPlayerMoney()
- wanteds := GetPlayerWanteds()
- if(IsPlayerInAnyVehicle()){
- vhealth := GetVehicleHealth()
- vmodelid := GetVehicleModelId()
- vmodel := GetVehicleModelName()
- vtype := GetVehicleType()
- vspeed := GetVehicleSpeed()
- }
- IniRead, Kills, C:\iBaseBinder\settings.ini, KillCounter, Kills
- if(Kills == "ERROR")
- Kills := 0
- StringReplace, string, string, [NAME], %name%, All
- StringReplace, string, string, [CITY], %city%, All
- StringReplace, string, string, [ZONE], %zone%, All
- StringReplace, string, string, [HP], %hp%, All
- StringReplace, string, string, [ARMOUR], %armour%, All
- StringReplace, string, string, [WANTEDS], %wanteds%, All
- StringReplace, string, string, [MONEY], %money%, All
- StringReplace, string, string, [KILLS], %Kills%, All
- if(IsPlayerInAnyVehicle()){
- StringReplace, string, string, [VHEALTH], %vhealth%, All
- StringReplace, string, string, [VMODELID], %vmodelid%, All
- StringReplace, string, string, [VMODEL], %vmodel%, All
- StringReplace, string, string, [VTYPE], %vtype%, All
- StringReplace, string, string, [VSPEED], %vspeed%, All
- }
- StringReplace, string, string, [SPACE], %A_Space%, All
- return string
- }
- if(!WinActive("GTA:SA:MP"))
- return
- :?:/SetSpice::
- Suspend Permit
- Sendinput, Spice Anzahl:{space}
- Input, Anzahl_Spice,V I M,{enter}
- SendInput t{end}+{home}{esc}
- Sendinput t{del}{enter}
- if Anzahl_Spice is not number
- {
- Sleep, 200
- Addchatmessage("{0088cc}[iBaseBinder]{008800} Bitte gebe eine gültige Zahl ein!")
- return
- }else{
- Addchatmessage("{00ff00}Spice auf: {00ff00}" Anzahl_Spice " {00ff00}geändert!")
- Iniwrite, %Anzahl_Spice%, C:\iBaseBinder\settings.ini, Keske, Anzahl_Spice
- }
- return
- if(!WinActive("GTA:SA:MP"))
- return
- :?:/SetKekse::
- Suspend Permit
- Sendinput, Keks Anzahl:{space}
- Input, Anzahl_Kekse,V I M,{enter}
- SendInput t{end}+{home}{esc}
- Sendinput t{del}{enter}
- if Anzahl_Kekse is not number
- {
- Sleep, 200
- Addchatmessage("{0088cc}[iBaseBinder]{008800} Bitte gebe eine gültige Zahl ein!")
- return
- }else{
- Addchatmessage("{00ff00}Kekse auf: {00ff00}" Anzahl_Kekse " {00ff00}geändert!")
- Iniwrite, %Anzahl_Kekse%, C:\iBaseBinder\settings.ini, Keske, Anzahl_Kekse
- }
- return
- if(!WinActive("GTA:SA:MP"))
- return
- ~$Numpadsub::
- if(IsInChat() == 0)
- c=0
- Loop,
- {
- armour := GetPlayerArmor()
- Iniread, Anzahl_Spice, C:\iBaseBinder\settings.ini, Keske, Anzahl_Spice
- Anzahl_Spice--
- Iniwrite, %Anzahl_Spice%, C:\iBaseBinder\settings.ini, Keske, Anzahl_Spice
- SendChat("/nimmspice")
- if(armour >= 90)
- {
- Addchatmessage("{0088cc}[iBaseBinder]{008800} Automatisches Spice System beendet")
- break
- }
- if(Anzahl_Spice == 0)
- {
- break
- }
- c++
- if(c==1)
- {
- sleep 11000
- c=0
- }
- sleep 100
- }
- return
- if(!WinActive("GTA:SA:MP"))
- return
- ~$NumpadAdd::
- if(IsInChat() == 0)
- c=0
- Loop,
- {
- Health := GetPlayerHealth()
- Iniread, Anzahl_Kekse, C:\iBaseBinder\settings.ini, Keske, Anzahl_Kekse
- Anzahl_Kekse--
- Iniwrite, %Anzahl_Kekse%, C:\iBaseBinder\settings.ini, Keske, Anzahl_Kekse
- SendChat("/isskeks")
- if(Health >= 85)
- {
- Addchatmessage("{0088cc}[iBaseBinder]{008800} Automatisches Kekse System beendet")
- break
- }
- if(Anzahl_Kekse == 0)
- {
- break
- }
- c++
- if(c==5)
- {
- sleep 5000
- c=0
- }
- sleep 200
- }
- return
- if(!WinActive("GTA:SA:MP"))
- return
- :?:/ab::
- Suspend Permit
- SendInput t{end}+{home}{esc}
- Sendinput t{del}{enter}
- name := getUsername()
- SendChat("/abnehmen")
- SendChat("Hier spricht der Anrufsbeantworter von " . name . ", ich habe leider gerade keine Zeit,")
- Sleep, 500
- SendChat("bitte rufen Sie später noch einmal an, schönen Tag noch!")
- SendChat("/auflegen")
- return
- if(!WinActive("GTA:SA:MP"))
- return
- :?:/min::
- Suspend Permit
- sekunden := PlayerInput("Sekunden: ")
- if(sekunden < 1){
- AddChatMessage(chat . "Du musst mindestens 1 Sekunde angeben.")
- }else{
- Minute := floor(sekunden / 60)
- if(Minute < 1){
- AddChatMessage(chat . sekunden . " Sekunden sind " . sekunden . " Sekunden.")
- }else{
- alteSekunden := Minute * 60
- neueSekunden := sekunden - alteSekunden
- AddChatMessage(chat . sekunden . " Sekunden sind " . Minute . " Minuten und " . neueSekunden . " Sekunden.")
- }
- }
- return
- if(!WinActive("GTA:SA:MP"))
- return
- :?:/cd::
- Suspend Permit
- SendInput t{end}+{home}{esc}
- Sendinput t{del}{enter}
- SendChat("Countdown wird gestartet!!")
- sleep, 200
- SendChat(">>>>> 3 <<<<<")
- sleep, 1000
- SendChat(">>>>> 2 <<<<<")
- sleep, 1000
- SendChat(">>>>> 1 <<<<<")
- sleep, 1000
- SendChat(">>>>> GO <<<<<")
- return
- :?:/rechner::
- Suspend Permit
- {
- Zahl1 := PlayerInput("Zahl 1: ")
- Aktion := PlayerInput("Aktion: ")
- Zahl2 := PlayerInput("Zahl 2: ")
- if (Aktion = "+")
- {
- StringSplit, calc, Aktion, +
- calcresult := Round(Zahl1 + Zahl2, 3)
- }
- if (Aktion = "-")
- {
- StringSplit, calc, Aktion, -
- calcresult := Round(Zahl1 - Zahl2, 3)
- }
- if (Aktion = "*")
- {
- StringSplit, calc, Aktion, *
- calcresult := Round(Zahl1 * Zahl2, 3)
- }
- if (Aktion = "/")
- {
- StringSplit, calc, Aktion, /
- calcresult := Round(Zahl1 / Zahl2, 3)
- }
- AddChatMessage(chat . "Das Ergebniss lautet: " . calcresult . "")
- }
- return
- ;Chat
- :?:/base::
- Suspend Permit
- Sendinput, /base{space}
- Input, Msg_To_Database,V I M,{enter}
- SendInput t{end}+{home}{esc}
- Sendinput t{del}{enter}
- Time := A_Hour ":" A_Min ":" A_Sec
- Max_Rows := imp_count_rows("chat_verlauf")
- imp_create_row("chat_verlauf", Max_Rows + 1)
- imp_write("chat_verlauf", Max_Rows + 1, "time", time)
- imp_write("chat_verlauf", Max_Rows + 1, "user", uname)
- imp_write("chat_verlauf", Max_Rows + 1, "message", Msg_To_Database)
- Suspend off
- return
- Check_Db:
- checksum := imp_check_table("chat_verlauf")
- if(checksum != checksum_old)
- {
- Max_Rows := imp_count_rows("chat_verlauf" )
- time := imp_read("chat_verlauf", Max_Rows, "time")
- user := imp_read("chat_verlauf", Max_Rows, "user")
- msg := imp_read("chat_verlauf", Max_Rows, "message")
- addchatmessage("{ee0000}[iBase Chat] {16F066}" user "{FFFFFF} : {16F066}" msg)
- checksum_old := checksum
- }
- return
- Chatlog:
- FileRead, Chatlog, %A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt
- If(InStr(Chatlog, "[SMS]:") && InStr(Chatlog, "Von:") && InStr(Chatlog, "(Nr."))
- {
- RegExMatch(Chatlog, "\[SMS\]\: (.*)\, Von\: (.*) \(Nr\. (.*)\)" ,output,3)
- addchatmessage("Nachricht: " output1)
- addchatmessage("User: " output2)
- addchatmessage("Nr.: " output3)
- FileRead,log_Backup, %A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt
- Backup := log_Backup
- Filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt
- FileAppEnd,`n%Backup%,%A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog_backup.txt
- }
- return
- Blacklist:
- uname := getUsername()
- RegRead, uname, HKEY_CURRENT_USER, Software\SAMP, PlayerName
- if(imp_row_exist("Blacklist", uname))
- {
- MsgBox, 0, Blackliste!, Du wurdest von iBase gesperrt! Im Forum kannst du mich gerne anschreiben.
- ExitApp
- return
- }
- return
- Hotkey0:
- if(isInChat() || !KeyChecked0){
- return
- }
- string := Variable(KeyText0)
- StringReplace, string, string, &&, |, All
- if(InStr(string, "|")){
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey1:
- if(isInChat() || !KeyChecked1 || A_ThisHotkey != Key1){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText1)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey2:
- if(isInChat() || !KeyChecked2 || A_ThisHotkey != Key2){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText2)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey3:
- if(isInChat() || !KeyChecked3 || A_ThisHotkey != Key3){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText3)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey4:
- if(isInChat() || !KeyChecked4 || A_ThisHotkey != Key4){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText4)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey5:
- if(isInChat() || !KeyChecked5 || A_ThisHotkey != Key5){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText5)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey6:
- if(isInChat() || !KeyChecked6 || A_ThisHotkey != Key6){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText6)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey7:
- if(isInChat() || !KeyChecked7 || A_ThisHotkey != Key7){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText7)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey8:
- if(isInChat() || !KeyChecked8 || A_ThisHotkey != Key8){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText8)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey9:
- if(isInChat() || !KeyChecked9 || A_ThisHotkey != Key9){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText9)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey10:
- if(isInChat() || !KeyChecked10 || A_ThisHotkey != Key10){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText10)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey11:
- if(isInChat() || !KeyChecked11 || A_ThisHotkey != Key11){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText11)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey12:
- if(isInChat() || !KeyChecked12 || A_ThisHotkey != Key12){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText12)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey13:
- if(isInChat() || !KeyChecked13 || A_ThisHotkey != Key13){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText13)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey14:
- if(isInChat() || !KeyChecked14 || A_ThisHotkey != Key14){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText14)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey15:
- if(isInChat() || !KeyChecked15 || A_ThisHotkey != Key15){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText15)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey16:
- if(isInChat() || !KeyChecked16 || A_ThisHotkey != Key16){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText16)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey17:
- if(isInChat() || !KeyChecked17 || A_ThisHotkey != Key17){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText17)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey18:
- if(isInChat() || !KeyChecked18 || A_ThisHotkey != Key18){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText18)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey19:
- if(isInChat() || !KeyChecked19 || A_ThisHotkey != Key19){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText19)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey20:
- if(isInChat() || !KeyChecked20 || A_ThisHotkey != Key20){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText20)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey21:
- if(isInChat() || !KeyChecked21 || A_ThisHotkey != Key21){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText21)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey22:
- if(isInChat() || !KeyChecked22 || A_ThisHotkey != Key22){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText22)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey23:
- if(isInChat() || !KeyChecked23 || A_ThisHotkey != Key23){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText23)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey24:
- if(isInChat() || !KeyChecked24 || A_ThisHotkey != Key24){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText24)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
- Hotkey25:
- if(isInChat() || !KeyChecked25 || A_ThisHotkey != Key25){
- SendInput, {A_ThisHotkey}
- return
- }
- string := Variable(KeyText25)
- if(InStr(string, "&&")){
- StringReplace, string, string, &&, |, All
- StringSplit, splitted, string,|
- Loop, %splitted0%
- {
- Value := splitted%A_Index%
- if(InStr(Value,"[ENTER]")){
- StringReplace, Value, Value, [ENTER], , All
- SendChat(Value)
- }else{
- SendInput, t%Value%
- }
- }
- }else{
- if(InStr(string,"[ENTER]")){
- StringReplace, string, string, [ENTER], , All
- SendChat(string)
- }else{
- SendInput, t%string%
- }
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement