; Item Script Version .1 beta ; for ; IBoT Version 3.1 ; Author: Messiah ; Crazy-Coderz.Net ; UnTesTed Version! on *:text:!use*:#: { if ($2 = 1) && ($read($+($nick,.txt), w, *1[Glove of Defiance]*)) && ($3 !isop $chan) { var %it1 = 1[Glove of Defiance] Write -ds1[Glove $+($nick,.txt) /mode $chan -v $3 /timer1 1 30 /mode $chan +v $3 | Notice $3 Your debuff of %it1 has worn off. msg $chan $nick used %it1 on $+($3,.) $3 is stunned and muted for 30 seconds. | halt } if ($2 = 2) && ($read($+($nick,.txt), w, 3[Scroll of Silence])) && ($3 !isop $chan) { var %it1 = 3[Scroll of Silence] Write -ds3[Scroll $+($nick,.txt) /mode $chan -v $3 /timer1 1 120 /mode $chan |v $3 | Notice $2 Your debuff of %it1 has worn off. msg $chan $nick used %it1 on $+($3,.) $3 is now muted for 2 minutes. | halt } if ($2 = 3) && ($read($+($nick,.txt), w, 3[Essence of Silence])) && ($3 !isop $chan) { var %it1 = 3[Essence of Silence] write -ds3[Essence $+($nick,.txt) /mode $chan -v $3 /timer1 1 300 /mode $chan +v $3 | Notice $3 Your debuff of %it1 has worn off. msg $chan $nick has used %it1 on $+($3,.) $3 is now muted for 5 minutes. | halt } if ($2 = 5) && ($read($+($nick,.txt), w, 12[Mysterious Parchment])) && ($3 !isop $chan) { var %it1 = 12[Mysterious Parchment] write -ds12[Mysterious $+($nick,.txt) Notice $nick Check your inventory for your item! Write $read(Myst_Parch.txt) $+($nick,.txt) Notice $nick %it1 dissappears from your hands. } if ($2 = 7) && ($read($+($nick,.txt), w, 6[Omen of Clarity])) && ($3 !isop $chan) && ($nick !isvoice $chan) { var %it1 = 6[Omen of Clarity] write -ds6[Omen $+($nick,.txt) Notice $nick A shining light covers you, Removing all silence effects! /mode $chan +v $nick Msg $chan $nick used %it1 to cure all his/her silence effects. } if ($2 = 9) && ($read($+$nick,.txt), w, 6[Mysterious Parcel])) && ($3 !isop $chan) { var %it1 = 6[Mysterious Parcel] write -ds6[Mysterious $+($nick,.txt) Notice $nick Check your inventory for your item! Write $read(Myst_Parc.txt) $+($nick,.txt) Notice $nick %it1 dissappears from your hands. } if ($2 = 10) && ($read($+$nick,.txt), w, 6[Illusion of Superiority])) { var %it1 = 6[Illusion of Superiority] write -ds6[Illusion $+($nick,.txt) Msg $chan $nick has used %it1 and is now blessed with incredible power for 5 minutes! /cs access $chan Add $nick 4 /mode $chan +h $nick /timer1 1 300 /cs access $chan Add $nick 3 | /mode $chan -h $nick | Notice $nick Your buff of %it1 has faded from you. } if ($2 = 11) && ($read($+($nick,.txt), w, 6[Shard of Silence])) && ($3 !isop $chan) { var %it1 = 6[Shard of Silence] write -ds6[Shard $+($nick,.txt) /mode $chan -v $3 /timer1 1 900 /mode $chan +v $3 | Notice $3 Your debuff of %it1 has worn off. msg $chan $nick has used %it1 on $+($3,.) $3 is now muted for 15 minutes. | halt } if ($2 = 12) && ($read($+$nick,.txt), w, 7[Salve of Steam])) { var %it1 = 7[Salve of Steam] write -ds7[Salve $+($nick,.txt) Notice $nick You open %it1 and are presented with 2 lines of numbers and letters. Notice $nick $read(Sacct.txt) Who knows what these random numbers and letter mean? } if ($2 = 13) && ($read($+$nick,.txt), w, 7[Salve of Sharing])) { var %it1 = 7[Salve of Sharing] write -ds7[Salve $+($nick,.txt) Notice $nick You open %it1 and are presented with 2 lines of numbers and letters. Notice $nick $read(Acct.txt) Who knows what these random numbers and letter mean? } if ($2 = 15) && ($read($+$nick,.txt), w, 7[Trinket of Superiority])) { var %it1 = 7[Trinket of Superiority] write -ds67[Trinket $+($nick,.txt) Msg $chan $nick has used %it1 and is now blessed with incredible power for 15 minutes! /cs access $chan Add $nick 4 /mode $chan +h $nick /timer1 1 900 /cs access $chan Add $nick 3 | /mode $chan -h $nick | Notice $nick Your buff of %it1 has faded from you. } if ($2 = 16) && ($read($+$nick,.txt), w, 4[Tools of the Trade])) && ($3 !isop $chan) { var %it1 = 4[Tools of the Trade] write -ds4[Tools $+($nick,.txt) Msg $chan $nick has used $+(%it1,!) And has stolen an item from $+($3,!) Notice $nick Check your Inventory for your new item! Write $read($+($3,.txt) $+($nick,.txt) } if ($2 = 17) && ($read($+$nick,.txt), w, 4[Totem of Turmoil])) && ($3 !isop $chan) { var %it1 = 4[Totem of Turmoil] Write -ds4[Totem $+($nick,.txt) /kick $chan $3 Msg $chan $nick has used %it1 on $+($3,!) $3 is has been removed from the channel! } if ($2 = 18) && ($read$+($nick,.txt), w, 3[Rep Token Lvl 1])) { var %it1 = 3[Rep Token Lvl 1] Write -ds3[Rep $+($nick,.txt) Writeini Rep.ini REP $Address($2,2) $calc($readini(Rep.ini, REP, $Address($2,2)) + 500) Notice $nick You have used %it1 and have been awarded 500 rp. } if ($2 = 19) && ($read$+($nick,.txt), w, 12[Rep Token Lvl 2])) { var %it1 = 12[Rep Token Lvl 2] Write -ds12[Rep $+($nick,.txt) Writeini Rep.ini REP $Address($2,2) $calc($readini(Rep.ini, REP, $Address($2,2)) + 1000) Notice $nick You have used %it1 and have been awarded 1000 rp. } if ($2 = 21) && ($read$+($nick,.txt), w, 6[Rep Token Lvl 3])) { var %it1 = 6[Rep Token Lvl 3] Write -ds6[Rep $+($nick,.txt) Writeini Rep.ini REP $Address($2,2) $calc($readini(Rep.ini, REP, $Address($2,2)) + 2000) Notice $nick You have used %it1 and have been awarded 2000 rp. } if ($2 = 20) && ($read$+($nick,.txt), w, 7[Rep Token Lvl 4])) { var %it1 = 7[Rep Token Lvl 4] Write -ds7[Rep $+($nick,.txt) Writeini Rep.ini REP $Address($2,2) $calc($readini(Rep.ini, REP, $Address($2,2)) + 4000) Notice $nick You have used %it1 and have been awarded 4000 rp. } if ($2 = 20) && ($read$+($nick,.txt), w, 4[Rep Token Lvl 5])) { var %it1 = 4[Rep Token Lvl 5] Write -ds4[Rep $+($nick,.txt) Writeini Rep.ini REP $Address($2,2) $calc($readini(Rep.ini, REP, $Address($2,2)) + 8000) Notice $nick You have used %it1 and have been awarded 8000 rp. } if ($2 = 23) && ($read($+($nick,.txt), w, 10[Box of Infinite Mysteries])) { var %it1 = 10[Box of Infinite Mysteries] Write -ds10[Box $+($nick,.txt) Notice $nick You are blinded by a shiny as fuck light as you see an item fly from the box. Notice $nick Check your inventory for your item! Write $read(Box_im.txt) $+($nick,.txt) } if ($2 = 1335) && ($read($+($nick,.txt), w, 4[Shaft of Dementia])) { var %it1 = 4[Shaft of Dementia] Write -ds4[Shaft $+($nick,.txt) /cs access $chan Add $nick 4 Notice $nick You may need to relog for this item to take effect. Msg $chan $nick has used %it1 and is now a channel Moderator, Congratulations! /kick $nick $chan You need to relog for %it1 to take effect! } if ($2 = 1336) && ($read($+($nick,.txt), w, 13[Orbs of AnthraX])) { var %it1 = 13[Orbs of AnthraX] Write -ds13[Orbs $+($nick,.txt) /cs access $chan Add $nick 5 Notice $nick You may need to relog for this item to take effect. Msg $chan $nick has used %it1 and is now a channel Admin, Congratulations! /kick $nick $chan You need to relog for %it1 to take effect! } if ($2 = 1337) && ($read($+($nick,.txt), w, 13[Heart of Messiah])) { var %it1 = 13[Heart of Messiah] Write -ds13[Heart $+($nick,.txt) /cs access $chan Add $nick 10 Notice $nick You may need to relog for this item to take effect. Msg $chan $nick has used %it1 and is now a channel Owner, Congratulations! /kick $nick $chan You need to relog for %it1 to take effect! } Elseif ($3 isop $chan) { var %error = 4Error!: 1The user you specified is a channel Owner. Notice $nick %error } Else { var %error = 4Error!: 1You do not own that item, or the item cannot be used under these conditions. Notice $nick %error } }