Сообщение в иссисте

  • wooden аватар
    Не в сети
  • wooden
  • Автор темы
  • Platinum Member
  • Сообщений: 228
  • Thanks: 5
wooden аватар
Не в сети

Сообщение в иссисте

#16465
ЧТОбы не ставить в клиенте Say Как поставить его в ассисте ? SAY ECHO ?

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

  • Allice [FreeZzy] аватар
    Не в сети
  • Allice [FreeZzy]
  • Пророк
  • United Pirates Guild
  • Сообщений: 3317
  • Thanks: 53
Allice [FreeZzy] аватар
Не в сети

Re: Re: Сообщение в иссисте

#16478

ЧТОбы не ставить в клиенте Say Как поставить его в ассисте ? SAY ECHO ?

msg 'message' [color]
sysmsg 'message' [color] - сообщение тебе в клиент, не на сервер (другие не увидят)
(на сайте асиста пдф док валяется для RTFM)

Для примера:
if not @findobject 'trash'
 promptalias 'trash'
endif
// Define a pouch
if not @findobject 'pouch'
 promptalias 'pouch'
endif
// Start loop searching for a ring on backpack
while @findtype 0x108a 'any' 'backpack'
 // Ring found, check for a desired property
 if property 'Faster Casting Recovery' 'found' >= 2
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Hit Chance Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Defense Chance Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Damage Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Enchance Potion' 'found' >= 20
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Lower Mana Cost' 'found' >= 6
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Lower Reagent Cost' 'found' >= 15
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 else
  sysmsg 'Invalid, move to trash!'
  moveitem! 'found' 'trash'
 endif
 pause 1000
endwhile
// Start loop searching for a ring 2 type on backpack ---------------
while @findtype 0x1f09 'any' 'backpack'
 // Ring found, check for a desired property
 if property 'Faster Casting Recovery' 'found' >= 2
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Hit Chance Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Defense Chance Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Damage Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Enchance Potion' 'found' >= 20
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Lower Mana Cost' 'found' >= 6
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Lower Reagent Cost' 'found' >= 15
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 else
  sysmsg 'Invalid, move to trash!'
  moveitem! 'found' 'trash'
 endif
 pause 1000
endwhile
// Start loop searching for a bracelet on backpack ---------------
while @findtype 0x1086 'any' 'backpack'
 // Ring found, check for a desired property
 if property 'Faster Casting Recovery' 'found' >= 2
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Hit Chance Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Defense Chance Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Damage Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Enchance Potion' 'found' >= 20
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Lower Mana Cost' 'found' >= 6
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Lower Reagent Cost' 'found' >= 15
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 else
  sysmsg 'Invalid, move to trash!'
  moveitem! 'found' 'trash'
 endif
 pause 1000
endwhile
// Start loop searching for a bracelet2 on backpack ---------------
while @findtype 0x1f06 'any' 'backpack'
 // Ring found, check for a desired property
 if property 'Faster Casting Recovery' 'found' >= 2
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Hit Chance Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Defense Chance Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Damage Increase' 'found' >= 10
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Enchance Potion' 'found' >= 20
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Lower Mana Cost' 'found' >= 6
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 elseif property 'Lower Reagent Cost' 'found' >= 15
  sysmsg 'Valid, move to pouch!'
  moveitem! 'found' 'pouch'
 else
  sysmsg 'Invalid, move to trash!'
  moveitem! 'found' 'trash'
 endif
 pause 1000
endwhile
msg 'Arr! Treasure sorted!' 33

[offtopic]echo - юниксоид? или досом игрался?[/offtopic]

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.