View Single Post
Old 13.05.2007, 08:34   #2
McBigMac
Архивный участник
 
Join Date: Aug 2005
Posts: 34
Default

Add this after checking for karma in Talked handler, change the number 38, to the ammount of lines in the handler with this addon text.
Code:
L1337
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  talker
	push_const 40
	add
	fetch_i
	push_const 57 // Check For Adena
	func_call 184680579	//  func[OwnItemCount]
	shift_sp -2
	push_const 58000 /// Ammount of Adena
	greater_equal
	branch_false L5555
L1338
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  talker
	push_const 40
	add
	fetch_i
	push_const 57 // Delete Adena
	push_const 58000 // Ammount
	func_call 184746114	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	jump L2
L5555
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  talker
	push_const 40
	add
	fetch_i
S2.	"noadenamengz.htm" // You have not adena mengz
	push_string S2
	func_call 184680516	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L3
McBigMac is offline