Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [script]
- n0=on *:TEXT:!createaccount:#[MM]IKKE: {
- n1= if ($me == %bot4) {
- n2= rpglog $nick $1-
- n3= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n4= createaccount $nick
- n5= msg $chan 2Successfully created account!
- n6= }
- n7= else { .notice $nick 4ERROR:2 You already have an account! }
- n8= }
- n9=}
- n10=on *:TEXT:!changecurrentweapon*:#[MM]IKKE: {
- n11= if ($me == %bot4 && $1 == !changecurrentweapon) {
- n12= rpglog $nick $1-
- n13= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n14= createaccount $nick
- n15= }
- n16= alive $nick
- n17= if ($2 != $null) {
- n18= var %i = 9
- n19= while (%i <= 17) {
- n20= if ($2- == $read(Stats\ $+ $nick $+ .txt,%i)) {
- n21= changecurrentweapon $nick $2-
- n22= msg $chan 2Changed current weapon to:4 $read(Stats\ $+ $nick $+ .txt,18) 1( $+ $read(Stats\ $+ $nick $+ .txt,19) $+ )
- n23= halt
- n24= }
- n25= inc %i
- n26= }
- n27= .notice $nick 4ERROR:2 You do not have "4 $+ $2- $+ 2". Use !shop
- n28= }
- n29= else { .notice $nick 4ERROR:2 Usage: !chancecurrentweapon <weapon> }
- n30= }
- n31=}
- n32=on *:TEXT:!ccw*:#[MM]IKKE: {
- n33= if ($me == %bot4 && $1 == !ccw) {
- n34= rpglog $nick $1-
- n35= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n36= createaccount $nick
- n37= }
- n38= alive $nick
- n39= if ($2 != $null) {
- n40= var %i = 9
- n41= while (%i <= 17) {
- n42= if ($2- == $read(Stats\ $+ $nick $+ .txt,%i)) {
- n43= changecurrentweapon $nick $2-
- n44= msg $chan 2Changed current weapon to:4 $read(Stats\ $+ $nick $+ .txt,18) 1( $+ $read(Stats\ $+ $nick $+ .txt,19) $+ )
- n45= halt
- n46= }
- n47= inc %i
- n48= }
- n49= .notice $nick 4ERROR:2 You do not have "4 $+ $2- $+ 2". Use !shop
- n50= }
- n51= else { .notice $nick 4ERROR:2 Usage: !ccw <weapon> }
- n52= }
- n53=}
- n54=on *:TEXT:!delstats:#[MM]IKKE: {
- n55= if ($me == %bot4) {
- n56= rpglog $nick $1-
- n57= if ($exists(Stats\ $+ $nick $+ .txt)) {
- n58= .remove -b Stats\ $+ $nick $+ .txt
- n59= if ($nick == $read(Stats\user list.txt,w,* $+ $nick $+ *)) {
- n60= write -dl $+ $readn "Stats\user list.txt"
- n61= }
- n62= msg $chan 2File moved to recycle bin.
- n63= }
- n64= else { .notice $nick 4ERROR:2 You do not have an account to delete }
- n65= }
- n66=}
- n67=on *:TEXT:!delstats*:#[MM]IKKE: {
- n68= if ($me == %bot4 && $nick == %owner && $1 == !delstats) {
- n69= rpglog $nick $1-
- n70= if ($2 ison $chan) {
- n71= if ($exists(Stats\ $+ $2 $+ .txt)) {
- n72= .remove Stats\ $+ $2 $+ .txt
- n73= if ($2 == $read(Stats\user list.txt,w,* $+ $2 $+ *)) {
- n74= write -dl $+ $readn "Stats\user list.txt"
- n75= }
- n76= msg $chan 2File permanently removed.
- n77= }
- n78= else { .notice $nick 4ERROR: $2 2does not have an account }
- n79= }
- n80= elseif ($2 == $null) { .notice $nick 4ERROR:2 Usage: !delstats <nick> }
- n81= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n82= }
- n83= elseif ($me == %bot4) {
- n84= rpglog $nick $1-
- n85= .notice $nick 4ERROR:2 You are not allowed to use this command
- n86= }
- n87=}
- n88=on *:TEXT:!resetstats:#[MM]IKKE: {
- n89= if ($me == %bot4) {
- n90= rpglog $nick $1-
- n91= if ($exists(Stats\ $+ $nick $+ .txt)) {
- n92= .remove -b Stats\ $+ $nick $+ .txt
- n93= createaccount $nick
- n94= msg $chan 2You successfully reset you stats!
- n95= }
- n96= else {
- n97= createaccount $nick
- n98= .notice $nick 4ERROR:2 You do not have an account to delete, created account now
- n99= }
- n100= }
- n101=}
- n102=on *:TEXT:!resetstats*:#[MM]IKKE: {
- n103= if ($me == %bot4 && $nick == %owner && $1 == !resetstats) {
- n104= rpglog $nick $1-
- n105= if ($2 ison $chan) {
- n106= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n107= .notice $nick 4ERROR:2 Bots don't have accounts
- n108= }
- n109= else {
- n110= if ($exists(Stats\ $+ $2 $+ .txt)) {
- n111= .remove Stats\ $+ $2 $+ .txt
- n112= createaccount $2
- n113= msg $chan 2Successfully reset "4 $+ $2 $+ 2"'s stats!
- n114= }
- n115= else {
- n116= createaccount $nick
- n117= .notice $nick 4ERROR: $2 2does not have an account to delete, created account now
- n118= }
- n119= }
- n120= }
- n121= elseif ($2 == $null) { .notice $nick 4ERROR:2 Usage: !resetstats <nick> }
- n122= else {
- n123= .notice $nick 4ERROR: $2 2isn't in the channel
- n124= }
- n125= }
- n126= elseif ($me == %bot4) {
- n127= rpglog $nick $1-
- n128= .notice $nick 4ERROR:2 You are not allowed to use this command
- n129= }
- n130=}
- n131=on *:TEXT:!stats*:#[MM]IKKE: {
- n132= if ($me == %bot4 && $1 == !stats) {
- n133= rpglog $nick $1-
- n134= if ($2 && $2 ison $chan) {
- n135= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n136= .notice $nick 4ERROR:2 Bots don't have accounts
- n137= }
- n138= else {
- n139= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n140= createaccount $2
- n141= }
- n142= msg $chan 2Stats for9 $2 $+ 2:
- n143= msg $chan 2Correct answers:4 $read(Stats\ $+ $2 $+ .txt, 2) 1|2 Cookies:4 $read(Stats\ $+ $2 $+ .txt, 3) 1|2 Cash:4 $read(Stats\ $+ $2 $+ .txt, 4)
- n144= msg $chan 2Kills/Deaths:4 $read(Stats\ $+ $2 $+ .txt, 5) $+ / $+ $read(Stats\ $+ $2 $+ .txt, 6) 1(ratio:7 $round($calc($read(Stats\ $+ $2 $+ .txt, 5) / $read(Stats\ $+ $2 $+ .txt, 6)),2) $+ 1) |2 Health:4 $read(Stats\ $+ $2 $+ .txt, 7) 1|2 Armour:4 $read(Stats\ $+ $2 $+ .txt, 8)
- n145= msg $chan 2Current weapon:4 $read(Stats\ $+ $2 $+ .txt, 18) 1|2 Rank:4 $read(Stats\ $+ $2 $+ .txt, 26) 1( $+ $read(Stats\ $+ $2 $+ .txt, 27) $+ )
- n146= }
- n147= }
- n148= elseif ($2 == $null) {
- n149= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n150= createaccount $nick
- n151= }
- n152= msg $chan 2Stats for9 $nick $+ 2:
- n153= msg $chan 2Correct answers:4 $read(Stats\ $+ $nick $+ .txt, 2) 1|2 Cookies:4 $read(Stats\ $+ $nick $+ .txt, 3) 1|2 Cash:4 $read(Stats\ $+ $nick $+ .txt, 4)
- n154= msg $chan 2Kills/Deaths:4 $read(Stats\ $+ $nick $+ .txt, 5) $+ / $+ $read(Stats\ $+ $nick $+ .txt, 6) 1(ratio:7 $round($calc($read(Stats\ $+ $nick $+ .txt, 5) / $read(Stats\ $+ $nick $+ .txt, 6)),2) $+ 1) |2 Health:4 $read(Stats\ $+ $nick $+ .txt, 7) 1|2 Armour:4 $read(Stats\ $+ $nick $+ .txt, 8)
- n155= msg $chan 2Current weapon:4 $read(Stats\ $+ $nick $+ .txt, 18) 1|2 Rank:4 $read(Stats\ $+ $nick $+ .txt, 26) 1( $+ $read(Stats\ $+ $nick $+ .txt, 27) $+ )
- n156= }
- n157= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n158= }
- n159=}
- n160=on *:TEXT:!mystats:#[MM]IKKE: {
- n161= if ($me == %bot4) {
- n162= rpglog $nick $1-
- n163= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n164= createaccount $nick
- n165= }
- n166= msg $chan 2Stats for9 $nick $+ 2:
- n167= msg $chan 2Correct answers:4 $read(Stats\ $+ $nick $+ .txt, 2) 1|2 Cookies:4 $read(Stats\ $+ $nick $+ .txt, 3) 1|2 Cash:4 $read(Stats\ $+ $nick $+ .txt, 4)
- n168= msg $chan 2Kills/Deaths:4 $read(Stats\ $+ $nick $+ .txt, 5) $+ / $+ $read(Stats\ $+ $nick $+ .txt, 6) 1(ratio:7 $round($calc($read(Stats\ $+ $nick $+ .txt, 5) / $read(Stats\ $+ $nick $+ .txt, 6)),2) $+ 1) |2 Health:4 $read(Stats\ $+ $nick $+ .txt, 7) 1|2 Armour:4 $read(Stats\ $+ $nick $+ .txt, 8)
- n169= msg $chan 2Current weapon:4 $read(Stats\ $+ $nick $+ .txt, 18) 1|2 Rank:4 $read(Stats\ $+ $nick $+ .txt, 26) 1( $+ $read(Stats\ $+ $nick $+ .txt, 27) $+ )
- n170= }
- n171=}
- n172=on *:TEXT:!cookies*:#[MM]IKKE: {
- n173= if ($me == %bot4 && $1 == !cookies) {
- n174= rpglog $nick $1-
- n175= if ($2 ison $chan) {
- n176= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n177= .notice $nick 4ERROR:2 Bots don't have accounts
- n178= }
- n179= else {
- n180= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n181= createaccount $2
- n182= }
- n183= msg $chan 4 $+ $2 2has got7 $read(Stats\ $+ $2 $+ .txt, 3) 2cookies.
- n184= }
- n185= }
- n186= elseif ($2 == $null) {
- n187= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n188= createaccount $nick
- n189= }
- n190= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 3) 2cookies.
- n191= }
- n192= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n193= }
- n194=}
- n195=on *:TEXT:!mycookies:#[MM]IKKE: {
- n196= if ($me == %bot4) {
- n197= rpglog $nick $1-
- n198= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n199= createaccount $nick
- n200= }
- n201= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 3) 2cookies.
- n202= }
- n203=}
- n204=on *:TEXT:!cash*:#[MM]IKKE: {
- n205= if ($me == %bot4 && $1 == !cash) {
- n206= rpglog $nick $1-
- n207= if ($2 ison $chan) {
- n208= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n209= .notice $nick 4ERROR:2 Bots don't have accounts
- n210= }
- n211= else {
- n212= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n213= createaccount $2
- n214= }
- n215= msg $chan 4 $+ $2 2has got7 $read(Stats\ $+ $2 $+ .txt, 4) 2cash.
- n216= }
- n217= }
- n218= elseif ($2 == $null) {
- n219= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n220= createaccount $nick
- n221= }
- n222= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 4) 2cash.
- n223= }
- n224= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n225= }
- n226=}
- n227=on *:TEXT:!mycash:#[MM]IKKE: {
- n228= if ($me == %bot4) {
- n229= rpglog $nick $1-
- n230= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n231= createaccount $nick
- n232= }
- n233= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 4) 2cash.
- n234= }
- n235=}
- n236=on *:TEXT:!bank*:#[MM]IKKE: {
- n237= if ($me == %bot4 && $1 == !bank) {
- n238= rpglog $nick $1-
- n239= if ($2 ison $chan) {
- n240= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n241= .notice $nick 4ERROR:2 Bots don't have accounts
- n242= }
- n243= else {
- n244= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n245= createaccount $2
- n246= }
- n247= msg $chan 4 $+ $2 2has got7 $read(Stats\ $+ $2 $+ .txt, 4) 2cash.
- n248= }
- n249= }
- n250= elseif ($2 == $null) {
- n251= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n252= createaccount $nick
- n253= }
- n254= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 4) 2cash.
- n255= }
- n256= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n257= }
- n258=}
- n259=on *:TEXT:!mybank:#[MM]IKKE: {
- n260= if ($me == %bot4) {
- n261= rpglog $nick $1-
- n262= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n263= createaccount $nick
- n264= }
- n265= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 4) 2cash.
- n266= }
- n267=}
- n268=on *:TEXT:!kills*:#[MM]IKKE: {
- n269= if ($me == %bot4 && $1 == !kills) {
- n270= rpglog $nick $1-
- n271= if ($2 ison $chan) {
- n272= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n273= .notice $nick 4ERROR:2 Bots don't have accounts
- n274= }
- n275= else {
- n276= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n277= createaccount $2
- n278= }
- n279= msg $chan 4 $+ $2 2has got7 $read(Stats\ $+ $2 $+ .txt, 5) 2kills.
- n280= }
- n281= }
- n282= elseif ($2 == $null) {
- n283= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n284= createaccount $nick
- n285= }
- n286= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 5) 2kills.
- n287=
- n288= }
- n289= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n290= }
- n291=}
- n292=on *:TEXT:!mykills:#[MM]IKKE: {
- n293= if ($me == %bot4) {
- n294= rpglog $nick $1-
- n295= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n296= createaccount $nick
- n297= }
- n298= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 5) 2kills.
- n299= }
- n300=}
- n301=on *:TEXT:!deaths*:#[MM]IKKE: {
- n302= if ($me == %bot4 && $1 == !deaths) {
- n303= rpglog $nick $1-
- n304= if ($2 ison $chan) {
- n305= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n306= .notice $nick 4ERROR:2 Bots don't have accounts
- n307= }
- n308= else {
- n309= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n310= createaccount $2
- n311= }
- n312= msg $chan 4 $+ $2 2has got7 $read(Stats\ $+ $2 $+ .txt, 6) 2deaths.
- n313= }
- n314= }
- n315= elseif ($2 == $null) {
- n316= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n317= createaccount $nick
- n318= }
- n319= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 6) 2deaths.
- n320= }
- n321= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n322= }
- n323=}
- n324=on *:TEXT:!mydeaths:#[MM]IKKE: {
- n325= if ($me == %bot4) {
- n326= rpglog $nick $1-
- n327= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n328= createaccount $nick
- n329= }
- n330= msg $chan 2You have got7 $read(Stats\ $+ $nick $+ .txt, 6) 2deaths.
- n331= }
- n332=}
- n333=on *:TEXT:!ratio*:#[MM]IKKE: {
- n334= if ($me == %bot4 && $1 == !ratio) {
- n335= rpglog $nick $1-
- n336= if ($2 ison $chan) {
- n337= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n338= .notice $nick 4ERROR:2 Bots don't have accounts
- n339= }
- n340= else {
- n341= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n342= createaccount $2
- n343= }
- n344= msg $chan 4 $+ $2 2has got ratio7 $round($calc($read(Stats\ $+ $2 $+ .txt, 5) / $read(Stats\ $+ $2 $+ .txt, 6)),2) 1( $+ $read(Stats\ $+ $2 $+ .txt, 5) $+ / $+ $read(Stats\ $+ $2 $+ .txt, 6) $+ )
- n345= }
- n346= }
- n347= elseif ($2 == $null) {
- n348= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n349= createaccount $nick
- n350= }
- n351= msg $chan 2You have got ratio7 $round($calc($read(Stats\ $+ $nick $+ .txt, 5) / $read(Stats\ $+ $nick $+ .txt, 6)),2) 1( $+ $read(Stats\ $+ $nick $+ .txt, 5) $+ / $+ $read(Stats\ $+ $nick $+ .txt, 6) $+ )
- n352=
- n353= }
- n354= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n355= }
- n356=}
- n357=on *:TEXT:!myratio:#[MM]IKKE: {
- n358= if ($me == %bot4) {
- n359= rpglog $nick $1-
- n360= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n361= createaccount $nick
- n362= }
- n363= msg $chan 2You have got ratio7 $round($calc($read(Stats\ $+ $nick $+ .txt, 5) / $read(Stats\ $+ $nick $+ .txt, 6)),2) 1( $+ $read(Stats\ $+ $nick $+ .txt, 5) $+ / $+ $read(Stats\ $+ $nick $+ .txt, 6) $+ )
- n364= }
- n365=}
- n366=on *:TEXT:!health*:#[MM]IKKE: {
- n367= if ($me == %bot4 && $1 == !health) {
- n368= rpglog $nick $1-
- n369= if ($2 ison $chan) {
- n370= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n371= .notice $nick 4ERROR:2 Bots don't have accounts
- n372= }
- n373= else {
- n374= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n375= createaccount $2
- n376= }
- n377= if ($read(Stats\ $+ $2 $+ .txt, 8) > 0) { msg $chan 4 $+ $2 $+ 2's health is7 $read(Stats\ $+ $2 $+ .txt, 7) 2and his armour is7 $read(Stats\ $+ $2 $+ .txt, 8) }
- n378= if ($read(Stats\ $+ $2 $+ .txt, 8) == 0) { msg $chan 4 $+ $2 $+ 2's health is7 $read(Stats\ $+ $2 $+ .txt, 7) 2and he does not have armour }
- n379= }
- n380= }
- n381= elseif ($2 == $null) {
- n382= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n383= createaccount $nick
- n384= }
- n385= if ($read(Stats\ $+ $nick $+ .txt, 8) > 0) { msg $chan 2Your health is7 $read(Stats\ $+ $nick $+ .txt, 7) 2and your armour is7 $read(Stats\ $+ $nick $+ .txt, 8) }
- n386= if ($read(Stats\ $+ $nick $+ .txt, 8) == 0) { msg $chan 2Your health is7 $read(Stats\ $+ $nick $+ .txt, 7) 2and you do not have armour }
- n387= }
- n388= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n389= }
- n390=}
- n391=on *:TEXT:!myhealth:#[MM]IKKE: {
- n392= if ($me == %bot4) {
- n393= rpglog $nick $1-
- n394= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n395= createaccount $nick
- n396= }
- n397= if ($read(Stats\ $+ $nick $+ .txt, 8) > 0) { msg $chan 2Your health is7 $read(Stats\ $+ $nick $+ .txt, 7) 2and your armour is7 $read(Stats\ $+ $nick $+ .txt, 8) }
- n398= if ($read(Stats\ $+ $nick $+ .txt, 8) == 0) { msg $chan 2Your health is7 $read(Stats\ $+ $nick $+ .txt, 7) 2and you do not have armour }
- n399= }
- n400=}
- n401=on *:TEXT:!weapons*:#[MM]IKKE: {
- n402= if ($me == %bot4 && $1 == !weapons) {
- n403= rpglog $nick $1-
- n404= if ($2 ison $chan) {
- n405= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n406= .notice $nick 4ERROR:2 Bots don't have accounts
- n407= }
- n408= else {
- n409= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n410= createaccount $2
- n411= }
- n412= var %i = 9
- n413= set %weapons $null
- n414= while (%i <= 17) {
- n415= if ($read(Stats\ $+ $2 $+ .txt, %i)) { set %weapons %weapons $+ , $read(Stats\ $+ $2 $+ .txt, %i) }
- n416= inc %i
- n417= }
- n418= set %weapons $right(%weapons, $calc($len(%weapons) - 2)) $+ .
- n419= msg $chan 4 $+ $2 $+ 2's weapons are:6 $replace(%weapons, $read(Stats\ $+ $2 $+ .txt, 18), 0 $+ $chr(44) $+ 6 $+ $read(Stats\ $+ $2 $+ .txt, 18) $+ 6 $+ $chr(44) $+ 0)
- n420= unset %weapons
- n421= }
- n422= }
- n423= elseif ($2 == $null) {
- n424= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n425= createaccount $nick
- n426= }
- n427= var %i = 9
- n428= set %weapons $null
- n429= while (%i <= 17) {
- n430= if ($read(Stats\ $+ $nick $+ .txt, %i)) { set %weapons %weapons $+ , $read(Stats\ $+ $nick $+ .txt, %i) }
- n431= inc %i
- n432= }
- n433= set %weapons $right(%weapons, $calc($len(%weapons) - 2)) $+ .
- n434= msg $chan 2Your weapons are:6 $replace(%weapons, $read(Stats\ $+ $nick $+ .txt, 18), 0 $+ $chr(44) $+ 6 $+ $read(Stats\ $+ $nick $+ .txt, 18) $+ 6 $+ $chr(44) $+ 0)
- n435= unset %weapons
- n436= }
- n437= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n438= }
- n439=}
- n440=on *:TEXT:!myweapons:#[MM]IKKE: {
- n441= if ($me == %bot4) {
- n442= rpglog $nick $1-
- n443= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n444= createaccount $nick
- n445= }
- n446= var %i = 9
- n447= set %weapons $null
- n448= while (%i <= 17) {
- n449= if ($read(Stats\ $+ $nick $+ .txt, %i)) { set %weapons %weapons $+ , $read(Stats\ $+ $nick $+ .txt, %i) }
- n450= inc %i
- n451= }
- n452= set %weapons $right(%weapons, $calc($len(%weapons) - 2)) $+ .
- n453= msg $chan 2Your weapons are:6 $replace(%weapons, $read(Stats\ $+ $nick $+ .txt, 18), 0 $+ $chr(44) $+ 6 $+ $read(Stats\ $+ $nick $+ .txt, 18) $+ 6 $+ $chr(44) $+ 0)
- n454= unset %weapons
- n455= }
- n456=}
- n457=on *:TEXT:!weapon*:#[MM]IKKE: {
- n458= if ($me == %bot4 && $1 == !weapon) {
- n459= rpglog $nick $1-
- n460= if ($2 ison $chan) {
- n461= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n462= .notice $nick 4ERROR:2 Bots don't have accounts
- n463= }
- n464= else {
- n465= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n466= createaccount $2
- n467= }
- n468= msg $chan 4 $+ $2 $+ 2's current weapon is:6 $read(Stats\ $+ $2 $+ .txt, 18) 1( $+ $read(Stats\ $+ $2 $+ .txt, 19) $+ )
- n469= }
- n470= }
- n471= elseif ($2 == $null) {
- n472= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n473= createaccount $nick
- n474= }
- n475= msg $chan 2Your current weapon is:6 $read(Stats\ $+ $nick $+ .txt, 18) 1( $+ $read(Stats\ $+ $nick $+ .txt, 19) $+ )
- n476= }
- n477= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n478= }
- n479=}
- n480=on *:TEXT:!myweapon:#[MM]IKKE: {
- n481= if ($me == %bot4) {
- n482= rpglog $nick $1-
- n483= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n484= createaccount $nick
- n485= }
- n486= msg $chan 2Your current weapon is:6 $read(Stats\ $+ $nick $+ .txt, 18) 1( $+ $read(Stats\ $+ $nick $+ .txt, 19) $+ )
- n487= }
- n488=}
- n489=on *:TEXT:!car*:#[MM]IKKE: {
- n490= if ($me == %bot4 && $1 == !car) {
- n491= rpglog $nick $1-
- n492= if ($2 ison $chan) {
- n493= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n494= .notice $nick 4ERROR:2 Bots don't have accounts
- n495= }
- n496= else {
- n497= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n498= createaccount $2
- n499= }
- n500= if ($read(Stats\ $+ $2 $+ .txt, 20) != on foot) { msg $chan 4 $+ $2 $+ 2's car is:5 $read(Stats\ $+ $2 $+ .txt, 20) 1( $+ $read(Stats\ $+ $2 $+ .txt, 21) $+ ) }
- n501= elseif ($read(Stats\ $+ $2 $+ .txt, 20) == on foot) { msg $chan 4 $+ $2 2does not have a car }
- n502= }
- n503= }
- n504= elseif ($2 == $null) {
- n505= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n506= createaccount $nick
- n507= }
- n508= if ($read(Stats\ $+ $nick $+ .txt, 20) != on foot) { msg $chan 2Your car is:5 $read(Stats\ $+ $nick $+ .txt, 20) 1( $+ $read(Stats\ $+ $nick $+ .txt, 21) $+ ) }
- n509= elseif ($read(Stats\ $+ $nick $+ .txt, 20) == on foot) { msg $chan 2You do not have a car }
- n510= }
- n511= else { .notice $nick 4ERROR:1 $2 isn't in the channel }
- n512= }
- n513=}
- n514=on *:TEXT:!mycar:#[MM]IKKE: {
- n515= if ($me == %bot4) {
- n516= rpglog $nick $1-
- n517= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n518= createaccount $nick
- n519= }
- n520= if ($read(Stats\ $+ $nick $+ .txt, 20) != on foot) { msg $chan 2Your car is:5 $read(Stats\ $+ $nick $+ .txt, 20) 1( $+ $read(Stats\ $+ $nick $+ .txt, 21) $+ ) }
- n521= elseif ($read(Stats\ $+ $nick $+ .txt, 20) == on foot) { msg $chan 2You do not have a car }
- n522= }
- n523=}
- n524=on *:TEXT:!rank*:#[MM]IKKE: {
- n525= if ($me == %bot4 && $1 == !rank) {
- n526= rpglog $nick $1-
- n527= if ($2 ison $chan) {
- n528= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n529= .notice $nick 4ERROR:2 Bots don't have accounts
- n530= }
- n531= else {
- n532= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n533= createaccount $2
- n534= }
- n535= msg $chan 4 $+ $2 $+ 2's rank is:11 $read(Stats\ $+ $2 $+ .txt, 26) 1( $+ $read(Stats\ $+ $2 $+ .txt, 27) $+ )
- n536= }
- n537= }
- n538= elseif ($2 == $null) {
- n539= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n540= createaccount $nick
- n541= }
- n542= msg $chan 2Your rank is:11 $read(Stats\ $+ $nick $+ .txt, 26) 1( $+ $read(Stats\ $+ $nick $+ .txt, 27) $+ )
- n543= }
- n544= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n545= }
- n546=}
- n547=on *:TEXT:!myrank:#[MM]IKKE: {
- n548= if ($me == %bot4) {
- n549= rpglog $nick $1-
- n550= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n551= createaccount $nick
- n552= }
- n553= msg $chan 2Your rank is:11 $read(Stats\ $+ $nick $+ .txt, 26) 1( $+ $read(Stats\ $+ $nick $+ .txt, 27) $+ )
- n554= }
- n555=}
- n556=on *:TEXT:!loc*:#[MM]IKKE: {
- n557= if ($me == %bot4 && ($1 == !loc || $1 == !location)) {
- n558= rpglog $nick $1-
- n559= if ($2 ison $chan) {
- n560= if ($2 isin $read(bots.txt,w,$2) || $2 isin $read(userbots.txt,w,$2)) {
- n561= .notice $nick 4ERROR:2 Bots don't have accounts
- n562= }
- n563= else {
- n564= if (!$exists(Stats\ $+ $2 $+ .txt)) {
- n565= createaccount $2
- n566= }
- n567= msg $chan 4 $+ $2 $+ 2's current location is:8 $read(Stats\ $+ $2 $+ .txt, 29) 1( $+ $read(Stats\ $+ $2 $+ .txt, 28) $+ )
- n568= }
- n569= }
- n570= elseif ($2 == $null) { if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n571= createaccount $nick
- n572= }
- n573= msg $chan 2Your current location is:8 $read(Stats\ $+ $nick $+ .txt, 29) 1( $+ $read(Stats\ $+ $nick $+ .txt, 28) $+ )
- n574= }
- n575= else { .notice $nick 4ERROR: $2 2isn't in the channel }
- n576= }
- n577=}
- n578=on *:TEXT:!myloc:#[MM]IKKE: {
- n579= if ($me == %bot4) {
- n580= rpglog $nick $1-
- n581= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n582= createaccount $nick
- n583= }
- n584= msg $chan 2Your current location is:8 $read(Stats\ $+ $nick $+ .txt, 29) 1( $+ $read(Stats\ $+ $nick $+ .txt, 28) $+ )
- n585= }
- n586=}
- n587=on *:TEXT:!mylocation:#[MM]IKKE: {
- n588= if ($me == %bot4) {
- n589= rpglog $nick $1-
- n590= if (!$exists(Stats\ $+ $nick $+ .txt)) {
- n591= createaccount $nick
- n592= }
- n593= msg $chan 2Your current location is:8 $read(Stats\ $+ $nick $+ .txt, 29) 1( $+ $read(Stats\ $+ $nick $+ .txt, 28) $+ )
- n594= }
- n595=}
Add Comment
Please, Sign In to add comment